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