author | dermotm |
Mon, 25 Apr 2005 09:26:30 +0000 | |
changeset 5370 | 06fd4677e6e3 |
parent 5333 | 817fa62bc95d |
child 5400 | 46e96785b77d |
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 |
5370 | 7 |
Release: 41 |
4867
e8cfe7e64783
*.spec (almost): update Vendor and Distribution tags
dermotm
parents:
4860
diff
changeset
|
8 |
Distribution: Java Desktop System, Release 3 |
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 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
13 |
Source2: gtkam-l10n-po-1.2.tar.bz2 |
4455 | 14 |
Source3: l10n-configure.sh |
5100
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
15 |
Source4: gtkam-docs-0.1.tar.bz2 |
5285 | 16 |
Source5: gtkam-l10n-online-help-ci-linux-1.1.tar.bz2 |
1069 | 17 |
Patch1: gtkam-01-menu-entry.diff |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
18 |
Patch2: gtkam-02-enable-deprecated.diff |
3169 | 19 |
Patch3: gtkam-03-g11n-i18n.diff |
20 |
Patch4: gtkam-04-solaris.diff |
|
3515 | 21 |
Patch5: gtkam-05-short-cut-key.diff |
3951
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
22 |
Patch6: gtkam-06-g11n-potfiles.diff |
5133 | 23 |
Patch7: gtkam-07-l10n-online-help.diff |
585 | 24 |
URL: http://www.gphoto.org |
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
3750 | 26 |
Docdir: %{_datadir}/doc |
650 | 27 |
|
28 |
%define libgphoto2_version 2.1.1 |
|
1576 | 29 |
%define libexif_gtk_version 0.3.2 |
650 | 30 |
|
31 |
Requires: libgphoto2 >= %{libgphoto2_version} |
|
704 | 32 |
Requires: libexif-gtk >= %{libexif_gtk_version} |
683 | 33 |
BuildRequires: libgphoto2 >= %{libgphoto2_version} |
704 | 34 |
BuildRequires: libexif-gtk >= %{libexif_gtk_version} |
3907 | 35 |
BuildRequires: javahelp-convert |
650 | 36 |
|
585 | 37 |
%description |
38 |
GTKam is a GTK/GNOME based tool to access Digital Cameras, |
|
39 |
view thumbnails and download pictures from the camera. |
|
40 |
||
41 |
%prep |
|
42 |
%setup -q |
|
1522 | 43 |
bzcat %SOURCE1 | tar xf - |
1579 | 44 |
bzcat %SOURCE2 | tar xf - |
5203
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
45 |
bzcat %SOURCE4 | tar xf - |
5133 | 46 |
bzcat %SOURCE5 | 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 |
5133 | 53 |
%patch7 -p1 |
585 | 54 |
|
4455 | 55 |
bash -x %SOURCE3 |
56 |
||
585 | 57 |
%build |
3263 | 58 |
%ifos linux |
59 |
if [ -x /usr/bin/getconf ]; then |
|
60 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
61 |
fi |
|
62 |
%else |
|
3846 | 63 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 64 |
%endif |
65 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
66 |
CPUS=1 |
|
67 |
fi |
|
68 |
||
3746 | 69 |
glib-gettextize -f |
2244 | 70 |
gnome-doc-common |
1069 | 71 |
libtoolize --force |
3169 | 72 |
intltoolize --copy --force --automake |
3001 | 73 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
1069 | 74 |
automake -a -c -f |
75 |
autoconf |
|
3750 | 76 |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
4536 | 77 |
--bindir=%{_bindir} \ |
78 |
--libdir=%{_libdir} \ |
|
79 |
--includedir=%{_includedir} \ |
|
3750 | 80 |
--mandir=%{_mandir} |
3263 | 81 |
make -j $CPUS |
1069 | 82 |
|
585 | 83 |
cd gexif-* |
3169 | 84 |
glib-gettextize -f |
85 |
libtoolize --force |
|
86 |
intltoolize --copy --force --automake |
|
87 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
88 |
automake -a -c -f |
|
89 |
autoconf |
|
90 |
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=%{_prefix} |
|
91 |
make |
|
585 | 92 |
cd .. |
93 |
||
94 |
%install |
|
95 |
mkdir -p $RPM_BUILD_ROOT%{_prefix} |
|
96 |
make DESTDIR=$RPM_BUILD_ROOT install-strip |
|
97 |
cd gexif-* |
|
98 |
make prefix=$RPM_BUILD_ROOT%{_prefix} install-strip |
|
99 |
cd .. |
|
100 |
||
4221 | 101 |
mv $RPM_BUILD_ROOT%{_libdir}/gimp/1.3 $RPM_BUILD_ROOT%{_libdir}/gimp/2.0 |
102 |
||
3907 | 103 |
javahelp-convert-install $RPM_BUILD_ROOT %{name} %{name}.xml |
104 |
||
585 | 105 |
%clean |
106 |
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; |
|
107 |
||
108 |
%files |
|
109 |
%defattr(-,root,root) |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
110 |
%doc AUTHORS COPYING NEWS README TODO |
585 | 111 |
%attr(755,root,root) %{_bindir}/gtkam |
112 |
%attr(755,root,root) %{_bindir}/gexif |
|
113 |
%{_datadir}/gtkam |
|
114 |
%{_datadir}/images/gtkam |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
115 |
%{_datadir}/pixmaps/* |
585 | 116 |
%{_datadir}/locale/*/*/* |
1069 | 117 |
%{_datadir}/applications/* |
3907 | 118 |
%{_datadir}/gnome/help |
119 |
%{_datadir}/gnome/javahelp |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
120 |
%{_datadir}/omf/* |
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
121 |
%{_libdir}/gimp/*/plug-ins/gtkam-gimp |
3750 | 122 |
%{_mandir}/man1/* |
585 | 123 |
|
3907 | 124 |
%changelog |
5203
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
125 |
* Thu Mar 10 2005 - [email protected] |
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
126 |
- Add docs tarball (Source4) to %setup section. |
d9ff679c2616
* gtkam.spec: Add docs tarball (Source4) to %setup section.
dc144907
parents:
5152
diff
changeset
|
127 |
|
5133 | 128 |
* Fri Feb 25 2005 - [email protected] |
129 |
- Added dummy l10n online help to follow base update |
|
130 |
||
5100
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
131 |
* Wed Feb 16 2005 - [email protected] |
2d8dab9b93e9
* gtkam.spec: Integrate docs tarball (gtkam-docs-0.1) from [email protected].
dc144907
parents:
5082
diff
changeset
|
132 |
- 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
|
133 |
|
4536 | 134 |
* Fri Nov 12 2004 - [email protected] |
135 |
- added --libdir and --bindir to configure opts so they can be redirected |
|
136 |
on Solaris |
|
137 |
||
4221 | 138 |
* Mon Oct 11 2004 - [email protected] |
139 |
- Move gtkam-gimp plugin to lib/gimp/2.0. |
|
140 |
||
3951
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
141 |
* Wed Sep 15 2004 - [email protected] |
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
142 |
- Added gtkam-06-g11n-potfiles.diff |
5554afeb8f5d
Added gtkam-06-g11n-potfiles.diff. Updated gtkam.spec.
yk150259
parents:
3907
diff
changeset
|
143 |
|
3907 | 144 |
* Mon Sep 13 2004 - [email protected] |
145 |
- Added code to install javahelp documents. Fixes #5096653 |
|
146 |
||
3746 | 147 |
* Wed Aug 25 2004 - [email protected] |
3750 | 148 |
- fixed man pages and docs installation |
4221 | 149 |
|
3750 | 150 |
* Wed Aug 25 2004 - [email protected] |
3746 | 151 |
- fixed glib-gettextize call |
4221 | 152 |
|
3736
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
153 |
* Wed Aug 25 2004 - [email protected] |
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
154 |
- Add unpackaged files to %files section. |
954faf76fa5c
* gtkam.spec: Add unpackaged files to %files section.
dc144907
parents:
3679
diff
changeset
|
155 |
|
3515 | 156 |
* Mon Aug 09 2004 - [email protected] |
157 |
- Added patch gtkam-05-short-cut-key.diff |
|
158 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
159 |
* 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
|
160 |
- 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
|
161 |
|
3263 | 162 |
* Wed Jul 07 2004 - [email protected] |
163 |
- added "-j $CPUS" to make to speed up builds |
|
164 |
||
3169 | 165 |
* Fri Jun 18 2004 - [email protected] |
166 |
- Run glib-gettexttize and intltoolize for both Solaris and Linux |
|
167 |
- merge i18n patches |
|
168 |
||
3092 | 169 |
* Thu Jun 10 2004 - [email protected] |
170 |
- make patch5 solaris-only |
|
171 |
||
3001 | 172 |
* Wed Jun 02 2004 - [email protected] |
173 |
- Added needed patches for Solaris. |
|
174 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
175 |
* 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
|
176 |
- 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
|
177 |
|
2350 | 178 |
* Mon Mar 29 2004 - [email protected] |
179 |
- Updated l10n content to gtkam-l10n-po-1.0.tar.bz2 |
|
180 |
||
2244 | 181 |
* Thu Mar 18 2004 - [email protected] |
182 |
- Bump to 0.1.11 |
|
183 |
||
2143 | 184 |
* Thu Mar 04 2004 - [email protected] |
185 |
- Updated gtkam-03-l10n-and-utf8.diff to gtkam-03-g11n-i18n-ui.diff |
|
186 |
to fix 4935751, 4981813 |
|
187 |
||
1579 | 188 |
* Thu Feb 04 2004 - [email protected] |
189 |
- Add l10n tarball, edit to gtkam-04-gexif-i18n.diff |
|
190 |
||
1576 | 191 |
* Wed Feb 04 2004 - [email protected] |
1579 | 192 |
- Port Patches, gexif version |
1576 | 193 |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
194 |
* Fri Jan 16 2004 - [email protected] |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
195 |
- Enable deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
196 |
|
1069 | 197 |
* Thu Aug 14 2003 - [email protected] |
198 |
- desktop file for menu entry |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1522
diff
changeset
|
199 |
|
585 | 200 |
* Wed Jul 16 2003 - [email protected] |
201 |
- Initial version |