author | dermotm |
Thu, 10 Jun 2004 11:54:02 +0000 | |
changeset 3092 | 9f36d27cf2fa |
parent 3001 | 9691a173d192 |
child 3120 | cb346324f8c9 |
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 |
2958 | 7 |
Release: 13 |
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 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
13 |
Source2: gtkam-l10n-po-1.1.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 |
3001 | 18 |
Patch5: gtkam-05-configure.diff |
19 |
Patch6: gtkam-06-solaris.diff |
|
585 | 20 |
URL: http://www.gphoto.org |
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
22 |
DocDir: %{_defaultdocdir}/gtkam |
|
23 |
||
650 | 24 |
|
25 |
%define libgphoto2_version 2.1.1 |
|
1576 | 26 |
%define libexif_gtk_version 0.3.2 |
650 | 27 |
|
28 |
Requires: libgphoto2 >= %{libgphoto2_version} |
|
704 | 29 |
Requires: libexif-gtk >= %{libexif_gtk_version} |
683 | 30 |
BuildRequires: libgphoto2 >= %{libgphoto2_version} |
704 | 31 |
BuildRequires: libexif-gtk >= %{libexif_gtk_version} |
650 | 32 |
|
585 | 33 |
%description |
34 |
GTKam is a GTK/GNOME based tool to access Digital Cameras, |
|
35 |
view thumbnails and download pictures from the camera. |
|
36 |
||
37 |
%prep |
|
38 |
%setup -q |
|
1522 | 39 |
bzcat %SOURCE1 | tar xf - |
1579 | 40 |
bzcat %SOURCE2 | tar xf - |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
41 |
%patch1 -p1 |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
42 |
%patch2 -p1 |
1576 | 43 |
%patch3 -p1 |
44 |
%patch4 -p1 |
|
3092 | 45 |
%ifos solaris |
3001 | 46 |
%patch5 -p1 |
3092 | 47 |
%endif |
3001 | 48 |
%patch6 -p1 |
585 | 49 |
|
50 |
%build |
|
3001 | 51 |
%ifos solaris |
52 |
glib-gettextize -f |
|
53 |
%endif |
|
2244 | 54 |
gnome-doc-common |
1069 | 55 |
libtoolize --force |
3001 | 56 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
1069 | 57 |
automake -a -c -f |
58 |
autoconf |
|
585 | 59 |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} |
1069 | 60 |
make |
61 |
||
585 | 62 |
cd gexif-* |
3001 | 63 |
%ifos solaris |
64 |
glib-gettextize -f |
|
65 |
%endif |
|
1069 | 66 |
libtoolize --force |
3001 | 67 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
1069 | 68 |
automake -a -c -f |
69 |
autoconf |
|
585 | 70 |
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=%{_prefix} |
71 |
make |
|
72 |
cd .. |
|
73 |
||
74 |
%install |
|
75 |
mkdir -p $RPM_BUILD_ROOT%{_prefix} |
|
76 |
make DESTDIR=$RPM_BUILD_ROOT install-strip |
|
77 |
cd gexif-* |
|
78 |
make prefix=$RPM_BUILD_ROOT%{_prefix} install-strip |
|
79 |
cd .. |
|
80 |
||
81 |
%clean |
|
82 |
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; |
|
83 |
||
84 |
%files |
|
85 |
%defattr(-,root,root) |
|
86 |
%attr(755,root,root) %{_bindir}/gtkam |
|
87 |
%attr(755,root,root) %{_bindir}/gexif |
|
88 |
%{_datadir}/gtkam |
|
89 |
%{_datadir}/images/gtkam |
|
1069 | 90 |
%{_datadir}/pixmaps/gtkam-camera.png |
585 | 91 |
%{_datadir}/locale/*/*/* |
1069 | 92 |
%{_datadir}/applications/* |
585 | 93 |
# disabled, since it requires gimp 1.3 :/ |
94 |
# %{_libdir}/gimp/*/plug-ins/gtkam-gimp |
|
95 |
||
96 |
%changelog -n gtkam |
|
3092 | 97 |
* Thu Jun 10 2004 - [email protected] |
98 |
- make patch5 solaris-only |
|
99 |
||
3001 | 100 |
* Wed Jun 02 2004 - [email protected] |
101 |
- Added needed patches for Solaris. |
|
102 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
103 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
104 |
- Updated l10n content to gtkam-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
105 |
|
2350 | 106 |
* Mon Mar 29 2004 - [email protected] |
107 |
- Updated l10n content to gtkam-l10n-po-1.0.tar.bz2 |
|
108 |
||
2244 | 109 |
* Thu Mar 18 2004 - [email protected] |
110 |
- Bump to 0.1.11 |
|
111 |
||
2143 | 112 |
* Thu Mar 04 2004 - [email protected] |
113 |
- Updated gtkam-03-l10n-and-utf8.diff to gtkam-03-g11n-i18n-ui.diff |
|
114 |
to fix 4935751, 4981813 |
|
115 |
||
1579 | 116 |
* Thu Feb 04 2004 - [email protected] |
117 |
- Add l10n tarball, edit to gtkam-04-gexif-i18n.diff |
|
118 |
||
1576 | 119 |
* Wed Feb 04 2004 - [email protected] |
1579 | 120 |
- Port Patches, gexif version |
1576 | 121 |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
122 |
* Fri Jan 16 2004 - [email protected] |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
123 |
- Enable deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
124 |
|
1069 | 125 |
* Thu Aug 14 2003 - [email protected] |
126 |
- desktop file for menu entry |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
127 |
|
585 | 128 |
* Wed Jul 16 2003 - [email protected] |
129 |
- Initial version |