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