author | yippi |
Fri, 09 Feb 2007 11:09:39 +0000 | |
branch | gnome-2-16 |
changeset 19010 | e42e2a66fa57 |
parent 8564 | df62c23d2955 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package gtkam |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8564 | 8 |
# Owner: mattman |
19010 | 9 |
# bugdb: http://sourceforge.net/tracker/index.php?func=detail&group_id=8874&atid=108874&aid= |
8564 | 10 |
# |
1576 | 11 |
%define gexif_version 0.5 |
585 | 12 |
|
13 |
Name: gtkam |
|
14 |
License: GPL |
|
15 |
Group: Hardware/Other |
|
19010 | 16 |
Version: 0.1.14 |
17 |
Release: 3 |
|
5518 | 18 |
Distribution: Java Desktop System |
591 | 19 |
Vendor: Sun Microsystems, Inc. |
585 | 20 |
Summary: A GTK Digital Camera Viewing Tool |
19010 | 21 |
Source: http://easynews.dl.sourceforge.net/sourceforge/gphoto/%{name}-%{version}.tar.bz2 |
6095 | 22 |
Source1: http://umn.dl.sourceforge.net/libexif/gexif-%{gexif_version}.tar.bz2 |
19010 | 23 |
# date:2003-08-15 type:branding owner:mattman bugid:1619752 |
1069 | 24 |
Patch1: gtkam-01-menu-entry.diff |
19010 | 25 |
# date:2004-02-04 type:bug owner:yippi bugster:6329710 |
26 |
Patch2: gtkam-02-gettext.diff |
|
27 |
# date:2004-02-04 type:bug owner:fujiwara bugid:1616317,1616320,1616397 bugster:6329710 |
|
28 |
Patch3: gtkam-03-fixgexif.diff |
|
585 | 29 |
URL: http://www.gphoto.org |
30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
3750 | 31 |
Docdir: %{_datadir}/doc |
650 | 32 |
|
33 |
%define libgphoto2_version 2.1.1 |
|
1576 | 34 |
%define libexif_gtk_version 0.3.2 |
650 | 35 |
|
36 |
Requires: libgphoto2 >= %{libgphoto2_version} |
|
704 | 37 |
Requires: libexif-gtk >= %{libexif_gtk_version} |
683 | 38 |
BuildRequires: libgphoto2 >= %{libgphoto2_version} |
704 | 39 |
BuildRequires: libexif-gtk >= %{libexif_gtk_version} |
5922 | 40 |
BuildRequires: gimp-devel |
650 | 41 |
|
585 | 42 |
%description |
43 |
GTKam is a GTK/GNOME based tool to access Digital Cameras, |
|
44 |
view thumbnails and download pictures from the camera. |
|
45 |
||
46 |
%prep |
|
47 |
%setup -q |
|
1522 | 48 |
bzcat %SOURCE1 | tar xf - |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
49 |
%patch1 -p1 |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
50 |
%patch2 -p1 |
1576 | 51 |
%patch3 -p1 |
4455 | 52 |
|
585 | 53 |
%build |
3263 | 54 |
%ifos linux |
55 |
if [ -x /usr/bin/getconf ]; then |
|
56 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
57 |
fi |
|
58 |
%else |
|
3846 | 59 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 60 |
%endif |
61 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
62 |
CPUS=1 |
|
63 |
fi |
|
64 |
||
3746 | 65 |
glib-gettextize -f |
2244 | 66 |
gnome-doc-common |
1069 | 67 |
libtoolize --force |
3169 | 68 |
intltoolize --copy --force --automake |
6923 | 69 |
aclocal $ACLOCAL_FLAGS -I ./m4m |
1069 | 70 |
automake -a -c -f |
71 |
autoconf |
|
3750 | 72 |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
4536 | 73 |
--bindir=%{_bindir} \ |
74 |
--libdir=%{_libdir} \ |
|
75 |
--includedir=%{_includedir} \ |
|
7739 | 76 |
--mandir=%{_mandir} \ |
77 |
--with-libintl-prefix=/usr |
|
7256
39cb28ba817d
2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6923
diff
changeset
|
78 |
make -j $CPUS INTLLIBS= |
1069 | 79 |
|
585 | 80 |
cd gexif-* |
3169 | 81 |
glib-gettextize -f |
82 |
libtoolize --force |
|
83 |
intltoolize --copy --force --automake |
|
5518 | 84 |
aclocal $ACLOCAL_FLAGS |
3169 | 85 |
automake -a -c -f |
86 |
autoconf |
|
87 |
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=%{_prefix} |
|
7256
39cb28ba817d
2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6923
diff
changeset
|
88 |
make INTLLIBS= |
585 | 89 |
cd .. |
90 |
||
91 |
%install |
|
92 |
mkdir -p $RPM_BUILD_ROOT%{_prefix} |
|
93 |
make DESTDIR=$RPM_BUILD_ROOT install-strip |
|
94 |
cd gexif-* |
|
95 |
make prefix=$RPM_BUILD_ROOT%{_prefix} install-strip |
|
96 |
cd .. |
|
97 |
||
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
98 |
|
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
99 |
# FIXME: Remove scrollkeeper files |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
100 |
rm -rf $RPM_BUILD_ROOT%{_prefix}/var/scrollkeeper |
3907 | 101 |
|
585 | 102 |
%clean |
5518 | 103 |
rm -rf $RPM_BUILD_ROOT; |
585 | 104 |
|
105 |
%files |
|
106 |
%defattr(-,root,root) |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
107 |
%doc AUTHORS COPYING NEWS README TODO |
585 | 108 |
%attr(755,root,root) %{_bindir}/gtkam |
109 |
%attr(755,root,root) %{_bindir}/gexif |
|
110 |
%{_datadir}/gtkam |
|
111 |
%{_datadir}/images/gtkam |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
112 |
%{_datadir}/pixmaps/* |
585 | 113 |
%{_datadir}/locale/*/*/* |
1069 | 114 |
%{_datadir}/applications/* |
3907 | 115 |
%{_datadir}/gnome/help |
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
116 |
%{_datadir}/omf/* |
5922 | 117 |
%{_libdir}/gimp/*/plug-ins/gtkam-gimp |
3750 | 118 |
%{_mandir}/man1/* |
585 | 119 |
|
3907 | 120 |
%changelog |
19010 | 121 |
* Tue Feb 06 2007 - [email protected] |
122 |
- Update patch comments |
|
123 |
||
124 |
* Tue Dec 19 2006 - [email protected] |
|
125 |
- Bump to 0.1.14. Fix patches, removing upstream patches. |
|
126 |
||
127 |
* Thu Dec 14 2006 - [email protected] |
|
128 |
- Remove gtkam-05-short-cut-key.diff : not needed anymore |
|
129 |
||
130 |
* Tue Dec 12 2006 - [email protected] |
|
131 |
- Added gtkam-06-g11n-i18n-menu.diff. Fixes 6488200 |
|
132 |
||
7739 | 133 |
* Mon Jul 24 2006 - [email protected] |
134 |
- add option --with-libintl-prefix=/usr |
|
135 |
||
7327 | 136 |
* Mon May 29 2006 - [email protected] |
137 |
- Remove sfw patch since we're now in /usr/bin by default. |
|
6465 | 138 |
* Tue Jan 03 2006 - [email protected] |
139 |
- Bump to 0.1.13. |
|
6467
404f78d6029b
* patches/gphoto2-01-build.diff, patches/libgphoto2-01-gettext.diff: Rework for new tarball.
dc144907
parents:
6465
diff
changeset
|
140 |
- Remove obsolete patches -06-wall and -07-gimp-plugin. Renumber remaining. |
6465 | 141 |
|
6326 | 142 |
* Fri Dec 02 2005 - [email protected] |
143 |
- Added gtkam-08-sfw-path.diff to use the absolute path of the executable |
|
144 |
in the .desktop file as usr/sfw/bin should not be included in $PATH. |
|
145 |
Fixes bug #6345489. |
|
146 |
||
6299 | 147 |
* Tue Nov 29 2005 - laca.com |
148 |
- remove javahelp stuff |
|
149 |
||
5922 | 150 |
* Sun Sep 18 2005 - [email protected] |
151 |
- Add gimp-devel as BuildRequires, and add patch so that we install into the |
|
152 |
correct plugin directory. |
|
153 |
||
5518 | 154 |
* Fri Jul 08 2005 - [email protected] |
155 |
- Add patch 08 to remove '-W -Wall -Wno-unused' as they do not work on Solaris. |
|
156 |
||
157 |
* Wed Jun 15 2005 - [email protected] |
|
158 |
- Bump to 0.1.12 |
|
159 |
||
5400
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
160 |
* Thu May 05 2005 - [email protected] |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
161 |
- 6227253: Change xml file in gtkam-C.omf from gtkam.xml to |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
162 |
sample_apps_info.xml (part of gnome-user-docs). Bit of a hack but a very easy |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
163 |
one to maintain. |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
164 |
|
5203
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
165 |
* Thu Mar 10 2005 - [email protected] |
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
166 |
- Add docs tarball (Source4) to %setup section. |
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
167 |
|
5133 | 168 |
* Fri Feb 25 2005 - [email protected] |
169 |
- Added dummy l10n online help to follow base update |
|
170 |
||
5100
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
171 |
* Wed Feb 16 2005 - [email protected] |
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
172 |
- Integrate docs tarball (gtkam-docs-0.1) from [email protected]. |
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
173 |
|
4536 | 174 |
* Fri Nov 12 2004 - [email protected] |
175 |
- added --libdir and --bindir to configure opts so they can be redirected |
|
176 |
on Solaris |
|
177 |
||
4221 | 178 |
* Mon Oct 11 2004 - [email protected] |
179 |
- Move gtkam-gimp plugin to lib/gimp/2.0. |
|
180 |
||
3951
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
181 |
* Wed Sep 15 2004 - [email protected] |
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
182 |
- Added gtkam-06-g11n-potfiles.diff |
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
183 |
|
3907 | 184 |
* Mon Sep 13 2004 - [email protected] |
185 |
- Added code to install javahelp documents. Fixes #5096653 |
|
186 |
||
3746 | 187 |
* Wed Aug 25 2004 - [email protected] |
3750 | 188 |
- fixed man pages and docs installation |
4221 | 189 |
|
3750 | 190 |
* Wed Aug 25 2004 - [email protected] |
3746 | 191 |
- fixed glib-gettextize call |
4221 | 192 |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
193 |
* Wed Aug 25 2004 - [email protected] |
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
194 |
- Add unpackaged files to %files section. |
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
195 |
|
3515 | 196 |
* Mon Aug 09 2004 - [email protected] |
197 |
- Added patch gtkam-05-short-cut-key.diff |
|
198 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
199 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
200 |
- Updated l10n content to gtkam-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
201 |
|
3263 | 202 |
* Wed Jul 07 2004 - [email protected] |
203 |
- added "-j $CPUS" to make to speed up builds |
|
204 |
||
3169 | 205 |
* Fri Jun 18 2004 - [email protected] |
206 |
- Run glib-gettexttize and intltoolize for both Solaris and Linux |
|
207 |
- merge i18n patches |
|
208 |
||
3092 | 209 |
* Thu Jun 10 2004 - [email protected] |
210 |
- make patch5 solaris-only |
|
211 |
||
3001 | 212 |
* Wed Jun 02 2004 - [email protected] |
213 |
- Added needed patches for Solaris. |
|
214 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
215 |
* 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
|
216 |
- 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
|
217 |
|
2350 | 218 |
* Mon Mar 29 2004 - [email protected] |
219 |
- Updated l10n content to gtkam-l10n-po-1.0.tar.bz2 |
|
220 |
||
2244 | 221 |
* Thu Mar 18 2004 - [email protected] |
222 |
- Bump to 0.1.11 |
|
223 |
||
2143 | 224 |
* Thu Mar 04 2004 - [email protected] |
225 |
- Updated gtkam-03-l10n-and-utf8.diff to gtkam-03-g11n-i18n-ui.diff |
|
226 |
to fix 4935751, 4981813 |
|
227 |
||
1579 | 228 |
* Thu Feb 04 2004 - [email protected] |
229 |
- Add l10n tarball, edit to gtkam-04-gexif-i18n.diff |
|
230 |
||
1576 | 231 |
* Wed Feb 04 2004 - [email protected] |
1579 | 232 |
- Port Patches, gexif version |
1576 | 233 |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
234 |
* Fri Jan 16 2004 - [email protected] |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
235 |
- Enable deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
236 |
|
1069 | 237 |
* Thu Aug 14 2003 - [email protected] |
238 |
- desktop file for menu entry |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
239 |
|
585 | 240 |
* Wed Jul 16 2003 - [email protected] |
241 |
- Initial version |