author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8564 | df62c23d2955 |
child 8763 | b93a5ac8104c |
child 19010 | e42e2a66fa57 |
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 |
9 |
# |
|
1576 | 10 |
%define gexif_version 0.5 |
585 | 11 |
|
12 |
Name: gtkam |
|
13 |
License: GPL |
|
14 |
Group: Hardware/Other |
|
6465 | 15 |
Version: 0.1.13 |
6326 | 16 |
Release: 2 |
5518 | 17 |
Distribution: Java Desktop System |
591 | 18 |
Vendor: Sun Microsystems, Inc. |
585 | 19 |
Summary: A GTK Digital Camera Viewing Tool |
5529
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
20 |
Source: http://easynews.dl.sourceforge.net/sourceforge/gphoto/%{name}-%{version}.tar.gz |
6095 | 21 |
Source1: http://umn.dl.sourceforge.net/libexif/gexif-%{gexif_version}.tar.bz2 |
1069 | 22 |
Patch1: gtkam-01-menu-entry.diff |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
23 |
Patch2: gtkam-02-enable-deprecated.diff |
3169 | 24 |
Patch3: gtkam-03-g11n-i18n.diff |
25 |
Patch4: gtkam-04-solaris.diff |
|
3515 | 26 |
Patch5: gtkam-05-short-cut-key.diff |
585 | 27 |
URL: http://www.gphoto.org |
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
3750 | 29 |
Docdir: %{_datadir}/doc |
650 | 30 |
|
31 |
%define libgphoto2_version 2.1.1 |
|
1576 | 32 |
%define libexif_gtk_version 0.3.2 |
650 | 33 |
|
34 |
Requires: libgphoto2 >= %{libgphoto2_version} |
|
704 | 35 |
Requires: libexif-gtk >= %{libexif_gtk_version} |
683 | 36 |
BuildRequires: libgphoto2 >= %{libgphoto2_version} |
704 | 37 |
BuildRequires: libexif-gtk >= %{libexif_gtk_version} |
5922 | 38 |
BuildRequires: gimp-devel |
650 | 39 |
|
585 | 40 |
%description |
41 |
GTKam is a GTK/GNOME based tool to access Digital Cameras, |
|
42 |
view thumbnails and download pictures from the camera. |
|
43 |
||
44 |
%prep |
|
45 |
%setup -q |
|
1522 | 46 |
bzcat %SOURCE1 | tar xf - |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
47 |
%patch1 -p1 |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
48 |
%patch2 -p1 |
1576 | 49 |
%patch3 -p1 |
50 |
%patch4 -p1 |
|
3515 | 51 |
%patch5 -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 |
7739 | 121 |
* Mon Jul 24 2006 - [email protected] |
122 |
- add option --with-libintl-prefix=/usr |
|
123 |
||
7327 | 124 |
* Mon May 29 2006 - [email protected] |
125 |
- Remove sfw patch since we're now in /usr/bin by default. |
|
6465 | 126 |
* Tue Jan 03 2006 - [email protected] |
127 |
- 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
|
128 |
- Remove obsolete patches -06-wall and -07-gimp-plugin. Renumber remaining. |
6465 | 129 |
|
6326 | 130 |
* Fri Dec 02 2005 - [email protected] |
131 |
- Added gtkam-08-sfw-path.diff to use the absolute path of the executable |
|
132 |
in the .desktop file as usr/sfw/bin should not be included in $PATH. |
|
133 |
Fixes bug #6345489. |
|
134 |
||
6299 | 135 |
* Tue Nov 29 2005 - laca.com |
136 |
- remove javahelp stuff |
|
137 |
||
5922 | 138 |
* Sun Sep 18 2005 - [email protected] |
139 |
- Add gimp-devel as BuildRequires, and add patch so that we install into the |
|
140 |
correct plugin directory. |
|
141 |
||
5518 | 142 |
* Fri Jul 08 2005 - [email protected] |
143 |
- Add patch 08 to remove '-W -Wall -Wno-unused' as they do not work on Solaris. |
|
144 |
||
145 |
* Wed Jun 15 2005 - [email protected] |
|
146 |
- Bump to 0.1.12 |
|
147 |
||
5400
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
148 |
* 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
|
149 |
- 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
|
150 |
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
|
151 |
one to maintain. |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
152 |
|
5203
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
153 |
* Thu Mar 10 2005 - [email protected] |
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
154 |
- Add docs tarball (Source4) to %setup section. |
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
155 |
|
5133 | 156 |
* Fri Feb 25 2005 - [email protected] |
157 |
- Added dummy l10n online help to follow base update |
|
158 |
||
5100
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
159 |
* Wed Feb 16 2005 - [email protected] |
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
160 |
- 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
|
161 |
|
4536 | 162 |
* Fri Nov 12 2004 - [email protected] |
163 |
- added --libdir and --bindir to configure opts so they can be redirected |
|
164 |
on Solaris |
|
165 |
||
4221 | 166 |
* Mon Oct 11 2004 - [email protected] |
167 |
- Move gtkam-gimp plugin to lib/gimp/2.0. |
|
168 |
||
3951
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
169 |
* Wed Sep 15 2004 - [email protected] |
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
170 |
- Added gtkam-06-g11n-potfiles.diff |
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
171 |
|
3907 | 172 |
* Mon Sep 13 2004 - [email protected] |
173 |
- Added code to install javahelp documents. Fixes #5096653 |
|
174 |
||
3746 | 175 |
* Wed Aug 25 2004 - [email protected] |
3750 | 176 |
- fixed man pages and docs installation |
4221 | 177 |
|
3750 | 178 |
* Wed Aug 25 2004 - [email protected] |
3746 | 179 |
- fixed glib-gettextize call |
4221 | 180 |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
181 |
* Wed Aug 25 2004 - [email protected] |
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
182 |
- Add unpackaged files to %files section. |
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
183 |
|
3515 | 184 |
* Mon Aug 09 2004 - [email protected] |
185 |
- Added patch gtkam-05-short-cut-key.diff |
|
186 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
187 |
* 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
|
188 |
- 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
|
189 |
|
3263 | 190 |
* Wed Jul 07 2004 - [email protected] |
191 |
- added "-j $CPUS" to make to speed up builds |
|
192 |
||
3169 | 193 |
* Fri Jun 18 2004 - [email protected] |
194 |
- Run glib-gettexttize and intltoolize for both Solaris and Linux |
|
195 |
- merge i18n patches |
|
196 |
||
3092 | 197 |
* Thu Jun 10 2004 - [email protected] |
198 |
- make patch5 solaris-only |
|
199 |
||
3001 | 200 |
* Wed Jun 02 2004 - [email protected] |
201 |
- Added needed patches for Solaris. |
|
202 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
203 |
* 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
|
204 |
- 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
|
205 |
|
2350 | 206 |
* Mon Mar 29 2004 - [email protected] |
207 |
- Updated l10n content to gtkam-l10n-po-1.0.tar.bz2 |
|
208 |
||
2244 | 209 |
* Thu Mar 18 2004 - [email protected] |
210 |
- Bump to 0.1.11 |
|
211 |
||
2143 | 212 |
* Thu Mar 04 2004 - [email protected] |
213 |
- Updated gtkam-03-l10n-and-utf8.diff to gtkam-03-g11n-i18n-ui.diff |
|
214 |
to fix 4935751, 4981813 |
|
215 |
||
1579 | 216 |
* Thu Feb 04 2004 - [email protected] |
217 |
- Add l10n tarball, edit to gtkam-04-gexif-i18n.diff |
|
218 |
||
1576 | 219 |
* Wed Feb 04 2004 - [email protected] |
1579 | 220 |
- Port Patches, gexif version |
1576 | 221 |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
222 |
* Fri Jan 16 2004 - [email protected] |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
223 |
- Enable deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
224 |
|
1069 | 225 |
* Thu Aug 14 2003 - [email protected] |
226 |
- desktop file for menu entry |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
227 |
|
585 | 228 |
* Wed Jul 16 2003 - [email protected] |
229 |
- Initial version |