author | dermotm |
Mon, 03 May 2004 01:08:22 +0000 | |
changeset 2619 | a032fc86f08a |
parent 2494 | 6b1189c3cc84 |
child 2736 | bd6e69980863 |
permissions | -rw-r--r-- |
1576 | 1 |
%define gexif_version 0.5 |
585 | 2 |
|
3 |
Name: gtkam |
|
4 |
License: GPL |
|
5 |
Group: Hardware/Other |
|
2244 | 6 |
Version: 0.1.11 |
2619 | 7 |
Release: 10 |
1580 | 8 |
Distribution: Cinnabar |
591 | 9 |
Vendor: Sun Microsystems, Inc. |
585 | 10 |
Summary: A GTK Digital Camera Viewing Tool |
11 |
Source: gtkam-%{version}.tar.bz2 |
|
12 |
Source1: gexif-%{gexif_version}.tar.bz2 |
|
2350 | 13 |
Source2: gtkam-l10n-po-1.0.tar.bz2 |
1069 | 14 |
Patch1: gtkam-01-menu-entry.diff |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
15 |
Patch2: gtkam-02-enable-deprecated.diff |
2143 | 16 |
Patch3: gtkam-03-g11n-i18n-ui.diff |
1576 | 17 |
Patch4: gtkam-04-gexif-i18n.diff |
585 | 18 |
URL: http://www.gphoto.org |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
DocDir: %{_defaultdocdir}/gtkam |
|
21 |
||
650 | 22 |
|
23 |
%define libgphoto2_version 2.1.1 |
|
1576 | 24 |
%define libexif_gtk_version 0.3.2 |
650 | 25 |
|
26 |
Requires: libgphoto2 >= %{libgphoto2_version} |
|
704 | 27 |
Requires: libexif-gtk >= %{libexif_gtk_version} |
683 | 28 |
BuildRequires: libgphoto2 >= %{libgphoto2_version} |
704 | 29 |
BuildRequires: libexif-gtk >= %{libexif_gtk_version} |
650 | 30 |
|
585 | 31 |
%description |
32 |
GTKam is a GTK/GNOME based tool to access Digital Cameras, |
|
33 |
view thumbnails and download pictures from the camera. |
|
34 |
||
35 |
%prep |
|
36 |
%setup -q |
|
1522 | 37 |
bzcat %SOURCE1 | tar xf - |
1579 | 38 |
bzcat %SOURCE2 | tar xf - |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
39 |
%patch1 -p1 |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
40 |
%patch2 -p1 |
1576 | 41 |
%patch3 -p1 |
42 |
%patch4 -p1 |
|
585 | 43 |
|
44 |
%build |
|
2244 | 45 |
gnome-doc-common |
1069 | 46 |
libtoolize --force |
1522 | 47 |
aclocal -I %{_datadir}/aclocal/gnome2-macros |
1069 | 48 |
automake -a -c -f |
49 |
autoconf |
|
585 | 50 |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} |
1069 | 51 |
make |
52 |
||
585 | 53 |
cd gexif-* |
1069 | 54 |
libtoolize --force |
1522 | 55 |
aclocal -I %{_datadir}/aclocal/gnome2-macros |
1069 | 56 |
automake -a -c -f |
57 |
autoconf |
|
585 | 58 |
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=%{_prefix} |
59 |
make |
|
60 |
cd .. |
|
61 |
||
62 |
%install |
|
63 |
mkdir -p $RPM_BUILD_ROOT%{_prefix} |
|
64 |
make DESTDIR=$RPM_BUILD_ROOT install-strip |
|
65 |
cd gexif-* |
|
66 |
make prefix=$RPM_BUILD_ROOT%{_prefix} install-strip |
|
67 |
cd .. |
|
68 |
||
69 |
%clean |
|
70 |
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; |
|
71 |
||
72 |
%files |
|
73 |
%defattr(-,root,root) |
|
74 |
%attr(755,root,root) %{_bindir}/gtkam |
|
75 |
%attr(755,root,root) %{_bindir}/gexif |
|
76 |
%{_datadir}/gtkam |
|
77 |
%{_datadir}/images/gtkam |
|
1069 | 78 |
%{_datadir}/pixmaps/gtkam-camera.png |
585 | 79 |
%{_datadir}/locale/*/*/* |
1069 | 80 |
%{_datadir}/applications/* |
585 | 81 |
# disabled, since it requires gimp 1.3 :/ |
82 |
# %{_libdir}/gimp/*/plug-ins/gtkam-gimp |
|
83 |
||
84 |
%changelog -n gtkam |
|
2350 | 85 |
* Mon Mar 29 2004 - [email protected] |
86 |
- Updated l10n content to gtkam-l10n-po-1.0.tar.bz2 |
|
87 |
||
2244 | 88 |
* Thu Mar 18 2004 - [email protected] |
89 |
- Bump to 0.1.11 |
|
90 |
||
2143 | 91 |
* Thu Mar 04 2004 - [email protected] |
92 |
- Updated gtkam-03-l10n-and-utf8.diff to gtkam-03-g11n-i18n-ui.diff |
|
93 |
to fix 4935751, 4981813 |
|
94 |
||
1579 | 95 |
* Thu Feb 04 2004 - [email protected] |
96 |
- Add l10n tarball, edit to gtkam-04-gexif-i18n.diff |
|
97 |
||
1576 | 98 |
* Wed Feb 04 2004 - [email protected] |
1579 | 99 |
- Port Patches, gexif version |
1576 | 100 |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
101 |
* Fri Jan 16 2004 - [email protected] |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
102 |
- Enable deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
103 |
|
1069 | 104 |
* Thu Aug 14 2003 - [email protected] |
105 |
- desktop file for menu entry |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
106 |
|
585 | 107 |
* Wed Jul 16 2003 - [email protected] |
108 |
- Initial version |