author | dc144907 |
Tue, 23 Aug 2005 16:46:21 +0000 | |
changeset 5565 | b1beceba7539 |
parent 5518 | 235b0b4aa324 |
child 6095 | 9b5695a63003 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package libexif-gtk |
|
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 |
# |
|
590 | 8 |
Name: libexif-gtk |
9 |
License: GPL |
|
10 |
Group: Development/Libraries/C and C++ |
|
5518 | 11 |
Version: 0.3.5 |
12 |
Release: 2 |
|
13 |
Distribution: Java Desktop System |
|
591 | 14 |
Vendor: Sun Microsystems, Inc. |
590 | 15 |
Summary: GTK widgets for viewing EXIF information |
1284 | 16 |
Source: %{name}-%{version}.tar.bz2 |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
17 |
Patch1: libexif-gtk-01-enable-deprecated.diff |
5518 | 18 |
Patch2: libexif-gtk-02-gettext.diff |
19 |
Patch3: libexif-gtk-03-solaris.diff |
|
20 |
Patch4: libexif-gtk-04-uninstalled-pc.diff |
|
2245 | 21 |
URL: http://sourceforge.net/projects/libexif |
590 | 22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
23 |
DocDir: %{_defaultdocdir}/libexif-gtk |
|
24 |
Autoreqprov: on |
|
1080 | 25 |
Prereq: /sbin/ldconfig |
590 | 26 |
|
1285 | 27 |
|
28 |
%define libexif_version 0.5.9 |
|
29 |
Requires: libexif >= %{libexif_version} |
|
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5518
diff
changeset
|
30 |
Requires: gtk2 |
1285 | 31 |
BuildRequires: libexif >= %{libexif_version} |
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5518
diff
changeset
|
32 |
BuildRequires: gtk2-devel |
1285 | 33 |
|
590 | 34 |
%description |
35 |
This library contains GTK widgets for viewing the EXIF informations within |
|
36 |
JPEG images created by some types of digital cameras. |
|
37 |
||
38 |
%prep |
|
39 |
%setup -q |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
40 |
%patch1 -p1 |
1576 | 41 |
%patch2 -p1 |
2191 | 42 |
%patch3 -p1 |
3001 | 43 |
%patch4 -p1 |
4455 | 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 |
5518 | 59 |
aclocal $ACLOCAL_FLAGS |
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 |
|
5518 | 91 |
* Wed Jun 15 2005 - [email protected] |
92 |
- Add more libs to LDADD so that it builds with the new pkgconfig |
|
93 |
||
94 |
* Wed Jun 15 2005 - [email protected] |
|
95 |
- Bump to 0.3.5 |
|
96 |
||
3650
cb599a4de391
* libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents:
3628
diff
changeset
|
97 |
* Wed Jul 13 2004 - [email protected] |
cb599a4de391
* libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents:
3628
diff
changeset
|
98 |
- fix for rpm4 packaging |
cb599a4de391
* libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents:
3628
diff
changeset
|
99 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
100 |
* 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
|
101 |
- 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
|
102 |
|
3263 | 103 |
* Wed Jul 07 2004 - [email protected] |
104 |
- added "-j $CPUS" to make to speed up builds |
|
105 |
||
3161
b29ab153ae4b
* libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents:
3120
diff
changeset
|
106 |
* Thu Jun 17 2004 - [email protected] |
b29ab153ae4b
* libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents:
3120
diff
changeset
|
107 |
- Run glib-gettextize and replace po/Makefile.in.in with standard |
3176 | 108 |
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
|
109 |
|
3001 | 110 |
* Wed Jun 06 2004 - [email protected] |
111 |
- Added needed patches for Solaris. |
|
112 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
113 |
* 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
|
114 |
- 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
|
115 |
|
2443 | 116 |
* Mon Apr 12 2004 - [email protected] |
117 |
- Add $ACLOCAL_FLAGS to aclocal call, making Solaris more happy. |
|
118 |
||
2355 | 119 |
* Wed Mar 31 2004 - [email protected] |
120 |
- replace tar jxf with the more solaris friendly |
|
121 |
bzcat piped through tar |
|
122 |
||
2350 | 123 |
* Mon Mar 29 2004 - [email protected] |
124 |
- Updated l10n content to libexif-gtk-l10n-po-1.0.tar.bz2 |
|
125 |
||
2245 | 126 |
* Thu Mar 18 2004 - <[email protected]> |
127 |
- Added URL Tag |
|
128 |
||
2191 | 129 |
* Thu Mar 11 2004 - [email protected] |
130 |
- added libexif-gtk-03-g11n-potfiles.diff |
|
131 |
||
1576 | 132 |
* Wed Feb 04 2004 - <[email protected]> |
133 |
- l10n tarball, and patch |
|
134 |
||
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
135 |
* Fri Jan 16 2004 - <[email protected]> |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
136 |
- Enable Deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
137 |
|
1272 | 138 |
* Tue Oct 14 2003 - <[email protected]> |
139 |
- Upgrade tarball to 0.3.3 for QS |
|
140 |
||
1058 | 141 |
* Thu Aug 14 2003 - <[email protected]> |
142 |
- remove *.a, *.la |
|
143 |
||
590 | 144 |
* Wed Jul 16 2003 - [email protected] |
145 |
- Initial version |