author | fujiwara |
Thu, 04 Mar 2004 15:06:46 +0000 | |
changeset 2143 | 301b08152338 |
parent 1934 | efe7bc9affaf |
child 2159 | 3613e9792e23 |
permissions | -rw-r--r-- |
1576 | 1 |
%define gexif_version 0.5 |
585 | 2 |
|
3 |
Name: gtkam |
|
4 |
License: GPL |
|
5 |
Group: Hardware/Other |
|
6 |
Version: 0.1.10 |
|
1876 | 7 |
Release: 19 |
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 |
|
1934 | 13 |
Source2: gtkam-l10n-po-0.8.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 |
|
1069 | 45 |
libtoolize --force |
1522 | 46 |
aclocal -I %{_datadir}/aclocal/gnome2-macros |
1069 | 47 |
automake -a -c -f |
48 |
autoconf |
|
585 | 49 |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} |
1069 | 50 |
make |
51 |
||
585 | 52 |
cd gexif-* |
1069 | 53 |
libtoolize --force |
1522 | 54 |
aclocal -I %{_datadir}/aclocal/gnome2-macros |
1069 | 55 |
automake -a -c -f |
56 |
autoconf |
|
585 | 57 |
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=%{_prefix} |
58 |
make |
|
59 |
cd .. |
|
60 |
||
61 |
%install |
|
62 |
mkdir -p $RPM_BUILD_ROOT%{_prefix} |
|
63 |
make DESTDIR=$RPM_BUILD_ROOT install-strip |
|
64 |
cd gexif-* |
|
65 |
make prefix=$RPM_BUILD_ROOT%{_prefix} install-strip |
|
66 |
cd .. |
|
67 |
||
68 |
%clean |
|
69 |
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; |
|
70 |
||
71 |
%files |
|
72 |
%defattr(-,root,root) |
|
73 |
%attr(755,root,root) %{_bindir}/gtkam |
|
74 |
%attr(755,root,root) %{_bindir}/gexif |
|
75 |
%{_datadir}/gtkam |
|
76 |
%{_datadir}/images/gtkam |
|
1069 | 77 |
%{_datadir}/pixmaps/gtkam-camera.png |
585 | 78 |
%{_datadir}/locale/*/*/* |
1069 | 79 |
%{_datadir}/applications/* |
585 | 80 |
# disabled, since it requires gimp 1.3 :/ |
81 |
# %{_libdir}/gimp/*/plug-ins/gtkam-gimp |
|
82 |
||
83 |
%changelog -n gtkam |
|
2143 | 84 |
* Thu Mar 04 2004 - [email protected] |
85 |
- Updated gtkam-03-l10n-and-utf8.diff to gtkam-03-g11n-i18n-ui.diff |
|
86 |
to fix 4935751, 4981813 |
|
87 |
||
1579 | 88 |
* Thu Feb 04 2004 - [email protected] |
89 |
- Add l10n tarball, edit to gtkam-04-gexif-i18n.diff |
|
90 |
||
1576 | 91 |
* Wed Feb 04 2004 - [email protected] |
1579 | 92 |
- Port Patches, gexif version |
1576 | 93 |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
94 |
* Fri Jan 16 2004 - [email protected] |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
95 |
- Enable deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
96 |
|
1069 | 97 |
* Thu Aug 14 2003 - [email protected] |
98 |
- desktop file for menu entry |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
99 |
|
585 | 100 |
* Wed Jul 16 2003 - [email protected] |
101 |
- Initial version |