author | mattman |
Fri, 15 Dec 2006 14:04:02 +0000 | |
changeset 8826 | 9099b8e6430a |
parent 8564 | df62c23d2955 |
child 9069 | ee2b98dfe7fc |
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 |
# |
|
8564 | 8 |
# Owner: gheet |
8826 | 9 |
# bugdb: souceforge.net |
8564 | 10 |
# |
590 | 11 |
Name: libexif-gtk |
12 |
License: GPL |
|
13 |
Group: Development/Libraries/C and C++ |
|
5518 | 14 |
Version: 0.3.5 |
15 |
Release: 2 |
|
16 |
Distribution: Java Desktop System |
|
591 | 17 |
Vendor: Sun Microsystems, Inc. |
590 | 18 |
Summary: GTK widgets for viewing EXIF information |
6095 | 19 |
Source: http://umn.dl.sourceforge.net/libexif/%{name}-%{version}.tar.bz2 |
8826 | 20 |
# date:2004-01-16 owner:mattman type:bug bugzilla:1616317 |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
21 |
Patch1: libexif-gtk-01-enable-deprecated.diff |
8826 | 22 |
# date:2004-06-02 owner:yippi type:bug bugzilla:1616397 |
5518 | 23 |
Patch2: libexif-gtk-02-gettext.diff |
8826 | 24 |
# date:2004-06-02 owner:yippi type:bug bugzilla:1616320 |
5518 | 25 |
Patch3: libexif-gtk-03-solaris.diff |
8826 | 26 |
# date:2004-06-02 owner:yippi type:bug |
5518 | 27 |
Patch4: libexif-gtk-04-uninstalled-pc.diff |
8826 | 28 |
# date:2006-02-21 owner:dcarbery type:bug bugzilla:1394423 |
6808 | 29 |
Patch5: libexif-gtk-05-sf-bug-1394423.diff |
2245 | 30 |
URL: http://sourceforge.net/projects/libexif |
590 | 31 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
32 |
DocDir: %{_defaultdocdir}/libexif-gtk |
|
33 |
Autoreqprov: on |
|
1080 | 34 |
Prereq: /sbin/ldconfig |
590 | 35 |
|
1285 | 36 |
|
37 |
%define libexif_version 0.5.9 |
|
38 |
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
|
39 |
Requires: gtk2 |
1285 | 40 |
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
|
41 |
BuildRequires: gtk2-devel |
1285 | 42 |
|
590 | 43 |
%description |
44 |
This library contains GTK widgets for viewing the EXIF informations within |
|
45 |
JPEG images created by some types of digital cameras. |
|
46 |
||
47 |
%prep |
|
48 |
%setup -q |
|
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
49 |
%patch1 -p1 |
1576 | 50 |
%patch2 -p1 |
2191 | 51 |
%patch3 -p1 |
3001 | 52 |
%patch4 -p1 |
6808 | 53 |
%patch5 -p1 |
4455 | 54 |
|
590 | 55 |
%build |
3263 | 56 |
%ifos linux |
57 |
if [ -x /usr/bin/getconf ]; then |
|
58 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
59 |
fi |
|
60 |
%else |
|
3846 | 61 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 62 |
%endif |
63 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
64 |
CPUS=1 |
|
65 |
fi |
|
66 |
||
3001 | 67 |
glib-gettextize -f |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
68 |
libtoolize --force |
5518 | 69 |
aclocal $ACLOCAL_FLAGS |
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
70 |
automake -a -c -f |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
71 |
autoconf |
590 | 72 |
CFLAGS="$CFLAGS $RPM_OPT_FLAGS" \ |
73 |
./configure \ |
|
74 |
--prefix=%{_prefix} \ |
|
75 |
--libdir=%{_libdir} \ |
|
76 |
--disable-static |
|
6745 | 77 |
|
78 |
# FIXME: hack: stop the build from looping |
|
79 |
touch po/stamp-it |
|
80 |
||
3263 | 81 |
make -j $CPUS |
590 | 82 |
|
83 |
%install |
|
84 |
make DESTDIR=${RPM_BUILD_ROOT}/ install-strip |
|
3628 | 85 |
#clean up unpackaged files |
86 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
590 | 87 |
|
88 |
%clean |
|
89 |
rm -rf ${RPM_BUILD_ROOT} |
|
90 |
||
1080 | 91 |
%post |
92 |
/sbin/ldconfig |
|
93 |
||
94 |
%postun |
|
95 |
/sbin/ldconfig |
|
96 |
||
590 | 97 |
%files |
98 |
%defattr(-,root,root) |
|
1058 | 99 |
%{_libdir}/lib*so* |
590 | 100 |
%{_libdir}/pkgconfig/* |
101 |
%{_includedir}/* |
|
3161
b29ab153ae4b
* libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents:
3120
diff
changeset
|
102 |
%{_datadir}/locale/* |
590 | 103 |
|
104 |
%changelog -n libexif-gtk |
|
6808 | 105 |
* Tue Feb 21 2006 - [email protected] |
106 |
- Add patch, 05-sf-bug-1394423, to fix configure bug, already logged at sf.net. |
|
107 |
||
6745 | 108 |
* Mon Feb 13 2006 - [email protected] |
109 |
- Add hack to fix infinite loop problem in po/Makefile. |
|
110 |
||
5518 | 111 |
* Wed Jun 15 2005 - [email protected] |
112 |
- Add more libs to LDADD so that it builds with the new pkgconfig |
|
113 |
||
114 |
* Wed Jun 15 2005 - [email protected] |
|
115 |
- Bump to 0.3.5 |
|
116 |
||
3650
cb599a4de391
* libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents:
3628
diff
changeset
|
117 |
* Wed Jul 13 2004 - [email protected] |
cb599a4de391
* libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents:
3628
diff
changeset
|
118 |
- fix for rpm4 packaging |
cb599a4de391
* libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents:
3628
diff
changeset
|
119 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
120 |
* 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
|
121 |
- 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
|
122 |
|
3263 | 123 |
* Wed Jul 07 2004 - [email protected] |
124 |
- added "-j $CPUS" to make to speed up builds |
|
125 |
||
3161
b29ab153ae4b
* libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents:
3120
diff
changeset
|
126 |
* Thu Jun 17 2004 - [email protected] |
b29ab153ae4b
* libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents:
3120
diff
changeset
|
127 |
- Run glib-gettextize and replace po/Makefile.in.in with standard |
3176 | 128 |
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
|
129 |
|
3001 | 130 |
* Wed Jun 06 2004 - [email protected] |
131 |
- Added needed patches for Solaris. |
|
132 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
133 |
* 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
|
134 |
- 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
|
135 |
|
2443 | 136 |
* Mon Apr 12 2004 - [email protected] |
137 |
- Add $ACLOCAL_FLAGS to aclocal call, making Solaris more happy. |
|
138 |
||
2355 | 139 |
* Wed Mar 31 2004 - [email protected] |
140 |
- replace tar jxf with the more solaris friendly |
|
141 |
bzcat piped through tar |
|
142 |
||
2350 | 143 |
* Mon Mar 29 2004 - [email protected] |
144 |
- Updated l10n content to libexif-gtk-l10n-po-1.0.tar.bz2 |
|
145 |
||
2245 | 146 |
* Thu Mar 18 2004 - <[email protected]> |
147 |
- Added URL Tag |
|
148 |
||
2191 | 149 |
* Thu Mar 11 2004 - [email protected] |
150 |
- added libexif-gtk-03-g11n-potfiles.diff |
|
151 |
||
1576 | 152 |
* Wed Feb 04 2004 - <[email protected]> |
153 |
- l10n tarball, and patch |
|
154 |
||
1532
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
155 |
* Fri Jan 16 2004 - <[email protected]> |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
156 |
- Enable Deprecated patch |
c4a9396b7859
Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents:
1285
diff
changeset
|
157 |
|
1272 | 158 |
* Tue Oct 14 2003 - <[email protected]> |
159 |
- Upgrade tarball to 0.3.3 for QS |
|
160 |
||
1058 | 161 |
* Thu Aug 14 2003 - <[email protected]> |
162 |
- remove *.a, *.la |
|
163 |
||
590 | 164 |
* Wed Jul 16 2003 - [email protected] |
165 |
- Initial version |