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