libexif-gtk.spec revision 18644
16676N/A#
16676N/A# spec file for package libexif-gtk
10139N/A#
10139N/A# Copyright (c) 2005 Sun Microsystems, Inc.
12217N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner gheet
17185N/A# bugdb: http://sourceforge.net/tracker/index.php?func=detail&group_id=12272&atid=112272&aid=
10139N/A#
17176N/A
18603N/A%define OSR delivered in s10:n/a
17176N/A
10139N/AName: libexif-gtk
15291N/ALicense: LGPL
10139N/AGroup: Development/Libraries/C and C++
10607N/AVersion: 0.3.5
10295N/ARelease: 2
18532N/ADistribution: Java Desktop System
10139N/AVendor: Sourceforge
10139N/ASummary: GTK widgets for viewing EXIF information
18615N/ASource: %{sf_download}/libexif/%{name}-%{version}.tar.bz2
10139N/A# date:2004-01-16 owner:mattman type:bug bugzilla:1616317
18532N/APatch1: libexif-gtk-01-enable-deprecated.diff
15654N/A# date:2004-06-02 owner:laca type:bug bugzilla:1616397 bugster:6570425
13441N/APatch2: libexif-gtk-02-gettext.diff
18497N/A# date:2004-06-02 owner:yippi type:bug bugzilla:1616320
18497N/APatch3: libexif-gtk-03-solaris.diff
18497N/A# date:2004-06-02 owner:gheet type:feature bugzilla:1643242
10139N/APatch4: libexif-gtk-04-uninstalled-pc.diff
10139N/A# date:2006-02-21 owner:dcarbery type:bug bugzilla:1394423
10139N/APatch5: libexif-gtk-05-sf-bug-1394423.diff
10139N/A# date:2009-07-15 owner:chrisk type:bug
10139N/APatch6: libexif-gtk-06-bad-include.diff
10139N/AURL: http://sourceforge.net/projects/libexif
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocDir: %{_defaultdocdir}/libexif-gtk
10139N/AAutoreqprov: on
10139N/APrereq: /sbin/ldconfig
10139N/A
10139N/A
10139N/A%define libexif_version 0.5.9
10139N/ARequires: libexif >= %{libexif_version}
10139N/ARequires: gtk2
10139N/ABuildRequires: libexif >= %{libexif_version}
10139N/ABuildRequires: gtk2-devel
10139N/A
10139N/A%description
10139N/AThis library contains GTK widgets for viewing the EXIF informations within
10139N/AJPEG images created by some types of digital cameras.
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A%patch1 -p1
10139N/A%patch2 -p1
10139N/A%patch3 -p1
10139N/A%patch4 -p1
10139N/A%patch5 -p1
10139N/A%patch6 -p1
10139N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
18497N/Afi
18497N/A
10139N/Aglib-gettextize -f
12773N/Alibtoolize --force
12773N/Aaclocal $ACLOCAL_FLAGS
12773N/Aautomake -a -c -f
10139N/Aautoconf
10139N/ACFLAGS="$CFLAGS $RPM_OPT_FLAGS" \
10139N/A ./configure \
10139N/A --prefix=%{_prefix} \
10139N/A --libdir=%{_libdir} \
10139N/A --disable-static
10139N/A
10139N/A# FIXME: hack: stop the build from looping
10139N/Atouch po/stamp-it
10139N/A
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Amake DESTDIR=${RPM_BUILD_ROOT}/ install-strip
10139N/A#clean up unpackaged files
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
10139N/A
10139N/A#%check
10139N/Amake check
10139N/A
10139N/A%clean
10139N/Arm -rf ${RPM_BUILD_ROOT}
10139N/A
10139N/A%post
10139N/A/sbin/ldconfig
10139N/A
10139N/A%postun
10139N/A/sbin/ldconfig
10139N/A
10139N/A%files
10139N/A%defattr(-,root,root)
10139N/A%{_libdir}/lib*so*
10139N/A%{_libdir}/pkgconfig/*
10139N/A%{_includedir}/*
10139N/A%{_datadir}/locale/*
10139N/A
10139N/A%changelog -n libexif-gtk
10139N/A* Wed Jul 15 2009 - christian.kelly@sun.com
18532N/A- Looks like gtk doesn't allow include of anything but gtk.h. Create patch 6 to
18532N/A change includes.
18497N/A
18497N/A* Tue Jun 02 2009 - harry.lu@sun.com
18497N/A- Change download URL to generic %{sf_download}
18440N/A
18440N/A* Wed Apr 16 2008 - damien.carbery@sun.com
18397N/A- Add 'make check' call after %install.
18397N/A
18325N/A* Mon Mar 05 2006 - dermot.mccluskey@sun.com
18325N/A- Correct license to LGPL, as per the source files
18259N/A
18325N/A* Tue Feb 21 2006 - damien.carbery@sun.com
18206N/A- Add patch, 05-sf-bug-1394423, to fix configure bug, already logged at sf.net.
18206N/A
18088N/A* Mon Feb 13 2006 - damien.carbery@sun.com
18206N/A- Add hack to fix infinite loop problem in po/Makefile.
17840N/A
17840N/A* Wed Jun 15 2005 - laca@sun.com
17554N/A- Add more libs to LDADD so that it builds with the new pkgconfig
17554N/A
17358N/A* Wed Jun 15 2005 - matt.keenan@sun.com
17358N/A- Bump to 0.3.5
17259N/A
17259N/A* Wed Jul 13 2004 - niall.power@sun.com
17081N/A- fix for rpm4 packaging
17081N/A
16976N/A* Thu Jul 08 2004 - damien.donlon@sun.com
16976N/A- Updated l10n content to libexif-gtk-l10n-po-1.2.tar.bz2
16897N/A
16897N/A* Wed Jul 07 2004 - dermot.mccluskey@sun.com
16769N/A- added "-j $CPUS" to make to speed up builds
16769N/A
16769N/A* Thu Jun 17 2004 - hidetoshi.tajima@sun.com
16676N/A- Run glib-gettextize and replace po/Makefile.in.in with standard
16676N/A ones found in %{_datadir}/glib-2.0/gettext/.
16676N/A
16676N/A* Wed Jun 06 2004 - brian.cameron@sun.com
16560N/A- Added needed patches for Solaris.
16560N/A
16560N/A* Wed May 12 2004 - damien.donlon@sun.com
16379N/A- Updated l10n content to libexif-gtk-l10n-po-1.1.tar.bz2
16379N/A
16356N/A* Mon Apr 12 2004 - brian.cameron@sun.com
16356N/A- Add $ACLOCAL_FLAGS to aclocal call, making Solaris more happy.
16328N/A
16328N/A* Wed Mar 31 2004 - brian.cameron@sun.com
16155N/A- replace tar jxf with the more solaris friendly
16155N/A bzcat piped through tar
16026N/A
16026N/A* Mon Mar 29 2004 - damien.donlon@sun.com
15858N/A- Updated l10n content to libexif-gtk-l10n-po-1.0.tar.bz2
15858N/A
15759N/A* Thu Mar 18 2004 - <matt.keenan@sun.com>
15759N/A- Added URL Tag
15693N/A
15693N/A* Thu Mar 11 2004 - yuriy.kuznetsov@sun.com
15693N/A- added libexif-gtk-03-g11n-potfiles.diff
15654N/A
15654N/A* Wed Feb 04 2004 - <matt.keenan@sun.com>
15624N/A- l10n tarball, and patch
15624N/A
15528N/A* Fri Jan 16 2004 - <matt.keenan@sun.com>
15528N/A- Enable Deprecated patch
15448N/A
15448N/A* Tue Oct 14 2003 - <matt.keenan@sun.com>
15301N/A- Upgrade tarball to 0.3.3 for QS
15301N/A
15291N/A* Thu Aug 14 2003 - <laca@sun.com>
15291N/A- remove *.a, *.la
15275N/A
15275N/A* Wed Jul 16 2003 - matt.keenan@sun.com
15275N/A- Initial version
15164N/A