libexif-gtk.spec
author bc99092
Mon, 12 Apr 2004 17:01:06 +0000
changeset 2443 f3d5eaba70ee
parent 2398 7a29461443c9
child 2494 6b1189c3cc84
permissions -rw-r--r--
2004-04-12 Brian Cameron <[email protected]> * openh323.spec, pwlib.spec: Use pwd to set PWLIBDIR since this works on both Solaris and Linux. * libexif-gtk.spec: Add ACLOCAL_FLAGS to aclocal call.

Name:         libexif-gtk
License:      GPL
Group:        Development/Libraries/C and C++
Version:      0.3.3
Release:      10
Distribution: Cinnabar
Vendor:       Sun Microsystems, Inc.
Summary:      GTK widgets for viewing EXIF information
Source:       %{name}-%{version}.tar.bz2
Source1:      libexif-gtk-l10n-po-1.0.tar.bz2
Patch1:       libexif-gtk-01-enable-deprecated.diff
Patch2:       libexif-gtk-02-fix-potfile.diff
Patch3:       libexif-gtk-03-g11n-potfiles.diff
URL:          http://sourceforge.net/projects/libexif
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
DocDir:       %{_defaultdocdir}/libexif-gtk
Autoreqprov:  on
Prereq:       /sbin/ldconfig


%define libexif_version 0.5.9
Requires:      libexif >= %{libexif_version}
BuildRequires: libexif >= %{libexif_version}

%description
This library contains GTK widgets for viewing the EXIF informations within
JPEG images created by some types of digital cameras.

%prep 
%setup -q
/usr/bin/bzcat -dc %SOURCE1|tar xf -
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
libtoolize --force
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
automake -a -c -f
autoconf
CFLAGS="$CFLAGS $RPM_OPT_FLAGS" 	\
	./configure 			\
		--prefix=%{_prefix} 	\
		--libdir=%{_libdir}	\
		--disable-static
make

%install
make DESTDIR=${RPM_BUILD_ROOT}/ install-strip

%clean
rm -rf ${RPM_BUILD_ROOT}

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root)
%{_libdir}/lib*so*
%{_libdir}/pkgconfig/*
%{_includedir}/*

%changelog -n libexif-gtk
* Mon Apr 12 2004 - [email protected]
- Add $ACLOCAL_FLAGS to aclocal call, making Solaris more happy.

* Wed Mar 31 2004 - [email protected]
- replace tar jxf with the more solaris friendly
  bzcat piped through tar

* Mon Mar 29 2004 - [email protected]
- Updated l10n content to libexif-gtk-l10n-po-1.0.tar.bz2

* Thu Mar 18 2004 - <[email protected]>
- Added URL Tag

* Thu Mar 11 2004 - [email protected]
- added libexif-gtk-03-g11n-potfiles.diff

* Wed Feb 04 2004 - <[email protected]>
- l10n tarball, and patch

* Fri Jan 16 2004 - <[email protected]>
- Enable Deprecated patch

* Tue Oct 14 2003 - <[email protected]>
- Upgrade tarball to 0.3.3 for QS

* Thu Aug 14 2003 - <[email protected]>
- remove *.a, *.la

* Wed Jul 16 2003 - [email protected]
- Initial version