author | laca |
Thu, 11 Aug 2005 18:30:17 +0000 | |
changeset 5517 | c3ddcedacbf0 |
parent 5516 | 287aa80a1415 |
child 5518 | 235b0b4aa324 |
permissions | -rw-r--r-- |
590 | 1 |
Name: libexif-gtk |
2 |
License: GPL |
|
3 |
Group: Development/Libraries/C and C++ |
|
1272 | 4 |
Version: 0.3.3 |
5517 | 5 |
Release: 39 |
4867
e8cfe7e64783
*.spec (almost): update Vendor and Distribution tags
dermotm
parents:
4860
diff
changeset
|
6 |
Distribution: Java Desktop System, Release 3 |
591 | 7 |
Vendor: Sun Microsystems, Inc. |
590 | 8 |
Summary: GTK widgets for viewing EXIF information |
1284 | 9 |
Source: %{name}-%{version}.tar.bz2 |
5517 | 10 |
Source1: libexif-gtk-l10n-po-1.14.tar.bz2 |
4455 | 11 |
Source2: l10n-configure.sh |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
12 |
Patch1: libexif-gtk-01-enable-deprecated.diff |
1576 | 13 |
Patch2: libexif-gtk-02-fix-potfile.diff |
2191 | 14 |
Patch3: libexif-gtk-03-g11n-potfiles.diff |
3001 | 15 |
Patch4: libexif-gtk-04-gettext.diff |
16 |
Patch5: libexif-gtk-05-solaris.diff |
|
17 |
Patch6: libexif-gtk-06-uninstalled-pc.diff |
|
2245 | 18 |
URL: http://sourceforge.net/projects/libexif |
590 | 19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
20 |
DocDir: %{_defaultdocdir}/libexif-gtk |
|
21 |
Autoreqprov: on |
|
1080 | 22 |
Prereq: /sbin/ldconfig |
590 | 23 |
|
1285 | 24 |
|
25 |
%define libexif_version 0.5.9 |
|
26 |
Requires: libexif >= %{libexif_version} |
|
27 |
BuildRequires: libexif >= %{libexif_version} |
|
28 |
||
590 | 29 |
%description |
30 |
This library contains GTK widgets for viewing the EXIF informations within |
|
31 |
JPEG images created by some types of digital cameras. |
|
32 |
||
33 |
%prep |
|
34 |
%setup -q |
|
2355 | 35 |
/usr/bin/bzcat -dc %SOURCE1|tar xf - |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
36 |
%patch1 -p1 |
1576 | 37 |
%patch2 -p1 |
2191 | 38 |
%patch3 -p1 |
3001 | 39 |
%patch4 -p1 |
40 |
%patch5 -p1 |
|
41 |
%patch6 -p1 |
|
590 | 42 |
|
4455 | 43 |
bash -x %SOURCE2 |
44 |
||
590 | 45 |
%build |
3263 | 46 |
%ifos linux |
47 |
if [ -x /usr/bin/getconf ]; then |
|
48 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
49 |
fi |
|
50 |
%else |
|
3846 | 51 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 52 |
%endif |
53 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
54 |
CPUS=1 |
|
55 |
fi |
|
56 |
||
3001 | 57 |
glib-gettextize -f |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
58 |
libtoolize --force |
2443 | 59 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
60 |
automake -a -c -f |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
61 |
autoconf |
590 | 62 |
CFLAGS="$CFLAGS $RPM_OPT_FLAGS" \ |
63 |
./configure \ |
|
64 |
--prefix=%{_prefix} \ |
|
65 |
--libdir=%{_libdir} \ |
|
66 |
--disable-static |
|
3263 | 67 |
make -j $CPUS |
590 | 68 |
|
69 |
%install |
|
70 |
make DESTDIR=${RPM_BUILD_ROOT}/ install-strip |
|
3628 | 71 |
#clean up unpackaged files |
72 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
590 | 73 |
|
74 |
%clean |
|
75 |
rm -rf ${RPM_BUILD_ROOT} |
|
76 |
||
1080 | 77 |
%post |
78 |
/sbin/ldconfig |
|
79 |
||
80 |
%postun |
|
81 |
/sbin/ldconfig |
|
82 |
||
590 | 83 |
%files |
84 |
%defattr(-,root,root) |
|
1058 | 85 |
%{_libdir}/lib*so* |
590 | 86 |
%{_libdir}/pkgconfig/* |
87 |
%{_includedir}/* |
|
3161
b29ab153ae4b
* libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents:
3120
diff
changeset
|
88 |
%{_datadir}/locale/* |
590 | 89 |
|
90 |
%changelog -n libexif-gtk |
|
3650
cb599a4de391
* libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents:
3628
diff
changeset
|
91 |
* Wed Jul 13 2004 - [email protected] |
cb599a4de391
* libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents:
3628
diff
changeset
|
92 |
- fix for rpm4 packaging |
cb599a4de391
* libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents:
3628
diff
changeset
|
93 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
94 |
* 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
|
95 |
- Updated l10n content to libexif-gtk-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
|
96 |
|
3263 | 97 |
* Wed Jul 07 2004 - [email protected] |
98 |
- added "-j $CPUS" to make to speed up builds |
|
99 |
||
3161
b29ab153ae4b
* libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents:
3120
diff
changeset
|
100 |
* Thu Jun 17 2004 - [email protected] |
b29ab153ae4b
* libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents:
3120
diff
changeset
|
101 |
- Run glib-gettextize and replace po/Makefile.in.in with standard |
3176 | 102 |
ones found in %{_datadir}/glib-2.0/gettext/. |
3161
b29ab153ae4b
* libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents:
3120
diff
changeset
|
103 |
|
3001 | 104 |
* Wed Jun 06 2004 - [email protected] |
105 |
- Added needed patches for Solaris. |
|
106 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
107 |
* 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
|
108 |
- Updated l10n content to libexif-gtk-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
|
109 |
|
2443 | 110 |
* Mon Apr 12 2004 - [email protected] |
111 |
- Add $ACLOCAL_FLAGS to aclocal call, making Solaris more happy. |
|
112 |
||
2355 | 113 |
* Wed Mar 31 2004 - [email protected] |
114 |
- replace tar jxf with the more solaris friendly |
|
115 |
bzcat piped through tar |
|
116 |
||
2350 | 117 |
* Mon Mar 29 2004 - [email protected] |
118 |
- Updated l10n content to libexif-gtk-l10n-po-1.0.tar.bz2 |
|
119 |
||
2245 | 120 |
* Thu Mar 18 2004 - <[email protected]> |
121 |
- Added URL Tag |
|
122 |
||
2191 | 123 |
* Thu Mar 11 2004 - [email protected] |
124 |
- added libexif-gtk-03-g11n-potfiles.diff |
|
125 |
||
1576 | 126 |
* Wed Feb 04 2004 - <[email protected]> |
127 |
- l10n tarball, and patch |
|
128 |
||
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
129 |
* Fri Jan 16 2004 - <[email protected]> |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
130 |
- Enable Deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
131 |
|
1272 | 132 |
* Tue Oct 14 2003 - <[email protected]> |
133 |
- Upgrade tarball to 0.3.3 for QS |
|
134 |
||
1058 | 135 |
* Thu Aug 14 2003 - <[email protected]> |
136 |
- remove *.a, *.la |
|
137 |
||
590 | 138 |
* Wed Jul 16 2003 - [email protected] |
139 |
- Initial version |