author | laca |
Mon, 13 Mar 2006 19:07:13 +0000 | |
changeset 6923 | 45fbffcf5f44 |
parent 6468 | c3359729c828 |
child 7256 | 39cb28ba817d |
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 |
# |
|
1576 | 8 |
%define gexif_version 0.5 |
585 | 9 |
|
10 |
Name: gtkam |
|
11 |
License: GPL |
|
12 |
Group: Hardware/Other |
|
6465 | 13 |
Version: 0.1.13 |
6326 | 14 |
Release: 2 |
5518 | 15 |
Distribution: Java Desktop System |
591 | 16 |
Vendor: Sun Microsystems, Inc. |
585 | 17 |
Summary: A GTK Digital Camera Viewing Tool |
5529
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
18 |
Source: http://easynews.dl.sourceforge.net/sourceforge/gphoto/%{name}-%{version}.tar.gz |
6095 | 19 |
Source1: http://umn.dl.sourceforge.net/libexif/gexif-%{gexif_version}.tar.bz2 |
1069 | 20 |
Patch1: gtkam-01-menu-entry.diff |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
21 |
Patch2: gtkam-02-enable-deprecated.diff |
3169 | 22 |
Patch3: gtkam-03-g11n-i18n.diff |
23 |
Patch4: gtkam-04-solaris.diff |
|
3515 | 24 |
Patch5: gtkam-05-short-cut-key.diff |
6326 | 25 |
#FIXME: move from /usr/sfw/bin |
6468 | 26 |
Patch6: gtkam-06-sfw-path.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 |
3951
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
52 |
%patch6 -p1 |
585 | 53 |
|
4455 | 54 |
|
585 | 55 |
%build |
3263 | 56 |
%ifos linux |
57 |
if [ -x /usr/bin/getconf ]; then |
|
58 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
59 |
fi |
|
60 |
%else |
|
3846 | 61 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 62 |
%endif |
63 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
64 |
CPUS=1 |
|
65 |
fi |
|
66 |
||
3746 | 67 |
glib-gettextize -f |
2244 | 68 |
gnome-doc-common |
1069 | 69 |
libtoolize --force |
3169 | 70 |
intltoolize --copy --force --automake |
6923 | 71 |
aclocal $ACLOCAL_FLAGS -I ./m4m |
1069 | 72 |
automake -a -c -f |
73 |
autoconf |
|
3750 | 74 |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
4536 | 75 |
--bindir=%{_bindir} \ |
76 |
--libdir=%{_libdir} \ |
|
77 |
--includedir=%{_includedir} \ |
|
3750 | 78 |
--mandir=%{_mandir} |
3263 | 79 |
make -j $CPUS |
1069 | 80 |
|
585 | 81 |
cd gexif-* |
3169 | 82 |
glib-gettextize -f |
83 |
libtoolize --force |
|
84 |
intltoolize --copy --force --automake |
|
5518 | 85 |
aclocal $ACLOCAL_FLAGS |
3169 | 86 |
automake -a -c -f |
87 |
autoconf |
|
88 |
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=%{_prefix} |
|
89 |
make |
|
585 | 90 |
cd .. |
91 |
||
92 |
%install |
|
93 |
mkdir -p $RPM_BUILD_ROOT%{_prefix} |
|
94 |
make DESTDIR=$RPM_BUILD_ROOT install-strip |
|
95 |
cd gexif-* |
|
96 |
make prefix=$RPM_BUILD_ROOT%{_prefix} install-strip |
|
97 |
cd .. |
|
98 |
||
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
99 |
|
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
100 |
# FIXME: Remove scrollkeeper files |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
101 |
rm -rf $RPM_BUILD_ROOT%{_prefix}/var/scrollkeeper |
3907 | 102 |
|
585 | 103 |
%clean |
5518 | 104 |
rm -rf $RPM_BUILD_ROOT; |
585 | 105 |
|
106 |
%files |
|
107 |
%defattr(-,root,root) |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
108 |
%doc AUTHORS COPYING NEWS README TODO |
585 | 109 |
%attr(755,root,root) %{_bindir}/gtkam |
110 |
%attr(755,root,root) %{_bindir}/gexif |
|
111 |
%{_datadir}/gtkam |
|
112 |
%{_datadir}/images/gtkam |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
113 |
%{_datadir}/pixmaps/* |
585 | 114 |
%{_datadir}/locale/*/*/* |
1069 | 115 |
%{_datadir}/applications/* |
3907 | 116 |
%{_datadir}/gnome/help |
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
117 |
%{_datadir}/omf/* |
5922 | 118 |
%{_libdir}/gimp/*/plug-ins/gtkam-gimp |
3750 | 119 |
%{_mandir}/man1/* |
585 | 120 |
|
3907 | 121 |
%changelog |
6465 | 122 |
* Tue Jan 03 2006 - [email protected] |
123 |
- 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
|
124 |
- Remove obsolete patches -06-wall and -07-gimp-plugin. Renumber remaining. |
6465 | 125 |
|
6326 | 126 |
* Fri Dec 02 2005 - [email protected] |
127 |
- Added gtkam-08-sfw-path.diff to use the absolute path of the executable |
|
128 |
in the .desktop file as usr/sfw/bin should not be included in $PATH. |
|
129 |
Fixes bug #6345489. |
|
130 |
||
6299 | 131 |
* Tue Nov 29 2005 - laca.com |
132 |
- remove javahelp stuff |
|
133 |
||
5922 | 134 |
* Sun Sep 18 2005 - [email protected] |
135 |
- Add gimp-devel as BuildRequires, and add patch so that we install into the |
|
136 |
correct plugin directory. |
|
137 |
||
5518 | 138 |
* Fri Jul 08 2005 - [email protected] |
139 |
- Add patch 08 to remove '-W -Wall -Wno-unused' as they do not work on Solaris. |
|
140 |
||
141 |
* Wed Jun 15 2005 - [email protected] |
|
142 |
- Bump to 0.1.12 |
|
143 |
||
5400
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
144 |
* 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
|
145 |
- 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
|
146 |
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
|
147 |
one to maintain. |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
148 |
|
5203
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
149 |
* Thu Mar 10 2005 - [email protected] |
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
150 |
- Add docs tarball (Source4) to %setup section. |
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
151 |
|
5133 | 152 |
* Fri Feb 25 2005 - [email protected] |
153 |
- Added dummy l10n online help to follow base update |
|
154 |
||
5100
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
155 |
* Wed Feb 16 2005 - [email protected] |
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
156 |
- 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
|
157 |
|
4536 | 158 |
* Fri Nov 12 2004 - [email protected] |
159 |
- added --libdir and --bindir to configure opts so they can be redirected |
|
160 |
on Solaris |
|
161 |
||
4221 | 162 |
* Mon Oct 11 2004 - [email protected] |
163 |
- Move gtkam-gimp plugin to lib/gimp/2.0. |
|
164 |
||
3951
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
165 |
* Wed Sep 15 2004 - [email protected] |
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
166 |
- Added gtkam-06-g11n-potfiles.diff |
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
167 |
|
3907 | 168 |
* Mon Sep 13 2004 - [email protected] |
169 |
- Added code to install javahelp documents. Fixes #5096653 |
|
170 |
||
3746 | 171 |
* Wed Aug 25 2004 - [email protected] |
3750 | 172 |
- fixed man pages and docs installation |
4221 | 173 |
|
3750 | 174 |
* Wed Aug 25 2004 - [email protected] |
3746 | 175 |
- fixed glib-gettextize call |
4221 | 176 |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
177 |
* Wed Aug 25 2004 - [email protected] |
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
178 |
- Add unpackaged files to %files section. |
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
179 |
|
3515 | 180 |
* Mon Aug 09 2004 - [email protected] |
181 |
- Added patch gtkam-05-short-cut-key.diff |
|
182 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
183 |
* 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
|
184 |
- 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
|
185 |
|
3263 | 186 |
* Wed Jul 07 2004 - [email protected] |
187 |
- added "-j $CPUS" to make to speed up builds |
|
188 |
||
3169 | 189 |
* Fri Jun 18 2004 - [email protected] |
190 |
- Run glib-gettexttize and intltoolize for both Solaris and Linux |
|
191 |
- merge i18n patches |
|
192 |
||
3092 | 193 |
* Thu Jun 10 2004 - [email protected] |
194 |
- make patch5 solaris-only |
|
195 |
||
3001 | 196 |
* Wed Jun 02 2004 - [email protected] |
197 |
- Added needed patches for Solaris. |
|
198 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
199 |
* 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
|
200 |
- 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
|
201 |
|
2350 | 202 |
* Mon Mar 29 2004 - [email protected] |
203 |
- Updated l10n content to gtkam-l10n-po-1.0.tar.bz2 |
|
204 |
||
2244 | 205 |
* Thu Mar 18 2004 - [email protected] |
206 |
- Bump to 0.1.11 |
|
207 |
||
2143 | 208 |
* Thu Mar 04 2004 - [email protected] |
209 |
- Updated gtkam-03-l10n-and-utf8.diff to gtkam-03-g11n-i18n-ui.diff |
|
210 |
to fix 4935751, 4981813 |
|
211 |
||
1579 | 212 |
* Thu Feb 04 2004 - [email protected] |
213 |
- Add l10n tarball, edit to gtkam-04-gexif-i18n.diff |
|
214 |
||
1576 | 215 |
* Wed Feb 04 2004 - [email protected] |
1579 | 216 |
- Port Patches, gexif version |
1576 | 217 |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
218 |
* Fri Jan 16 2004 - [email protected] |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
219 |
- Enable deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
220 |
|
1069 | 221 |
* Thu Aug 14 2003 - [email protected] |
222 |
- desktop file for menu entry |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
223 |
|
585 | 224 |
* Wed Jul 16 2003 - [email protected] |
225 |
- Initial version |