7ef905a
Summary:	Library for easy parsing of XMP metadata
7ef905a
Name:		exempi
e3bb059
Version:	2.1.0
7b2a323
Release:	1%{?dist}
7ef905a
License:	BSD
7ef905a
Group:		System Environment/Libraries
7ef905a
URL:		http://libopenraw.freedesktop.org/wiki/Exempi
7ef905a
Source0:	http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz
7ef905a
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e3bb059
BuildRequires:	boost-devel expat-devel zlib-devel pkgconfig
7ef905a
7ef905a
%description
7ef905a
Exempi provides a library for easy parsing of XMP metadata. It is a port of 
7ef905a
Adobe XMP SDK to work on UNIX and to be build with GNU automake.
7ef905a
It includes XMPCore and XMPFiles.
7ef905a
7ef905a
%package devel
7ef905a
Summary:	Headers for developing programs that will use %{name}
7ef905a
Group:		Development/Libraries
7ef905a
Requires:	%{name} = %{version}-%{release}
7ef905a
Requires:	pkgconfig
7ef905a
7ef905a
%description devel
7ef905a
This package contains the libraries and header files needed for
7ef905a
developing with exempi
7ef905a
7ef905a
%prep
7ef905a
%setup -q
7ef905a
7ef905a
%build
7ef905a
%configure LDFLAGS="-L%{_libdir}" CPPFLAGS="-I%{_includedir}"
7ef905a
# Disable rpath
7ef905a
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
7ef905a
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
7ef905a
7ef905a
make %{?_smp_mflags}
7ef905a
										
7ef905a
%install
7ef905a
rm -rf %{buildroot}
7ef905a
make DESTDIR=%{buildroot} install
7ef905a
7ef905a
rm -rf %{buildroot}%{_libdir}/*.la
7ef905a
rm -rf %{buildroot}%{_libdir}/*.a
7ef905a
7ef905a
%clean
7ef905a
rm -rf %{buildroot}
7ef905a
7ef905a
%post -p /sbin/ldconfig
7ef905a
7ef905a
%postun -p /sbin/ldconfig
7ef905a
7ef905a
%files
7ef905a
%defattr(-, root, root, -)
7ef905a
%doc AUTHORS ChangeLog COPYING README
7ef905a
%{_libdir}/*.so.*
7ef905a
7ef905a
%files devel
7ef905a
%defattr(-, root, root, -)
7ef905a
%{_includedir}/exempi-2.0/
7ef905a
%{_libdir}/*.so
7ef905a
%{_libdir}/pkgconfig/*.pc
7ef905a
7ef905a
%changelog
e3bb059
* Tue Jan 06 2009 Deji Akingunola <dakingun@gmail.com> - 2.1.0-1
e3bb059
- Update to 2.1.0
e3bb059
    
fa85802
* Sat May 17 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.1-1
fa85802
- Update to 2.0.1
fa85802
5c4cc58
* Wed Apr 02 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.0-1
5c4cc58
- Update to 2.0.0
5c4cc58
74f762a
* Fri Feb 08 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.9-1
74f762a
- Update to 1.99.9
74f762a
7d0e9bb
* Sun Jan 13 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.7-1
7d0e9bb
- Update to 1.99.7
7d0e9bb
7b2a323
* Mon Dec 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.5-1
7b2a323
- Update to 1.99.5
7b2a323
329b439
* Wed Sep 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-2
329b439
- Rebuild for expat 2.0
329b439
faea57e
* Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-1
faea57e
- Update tp 1.99.4
faea57e
7ef905a
* Tue Jul 10 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.3-1
7ef905a
- Initial packaging for Fedora