From 2b8e450cc93ba45bb6cbe39ee9c4d0732f0f6f94 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Jul 29 2007 22:49:27 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..1e623fd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +exempi-1.99.3.tar.gz diff --git a/exempi.spec b/exempi.spec new file mode 100644 index 0000000..394d3af --- /dev/null +++ b/exempi.spec @@ -0,0 +1,65 @@ +Summary: Library for easy parsing of XMP metadata +Name: exempi +Version: 1.99.3 +Release: 1%{?dist} +License: BSD +Group: System Environment/Libraries +URL: http://libopenraw.freedesktop.org/wiki/Exempi +Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: boost-devel expat-devel pkgconfig + +%description +Exempi provides a library for easy parsing of XMP metadata. It is a port of +Adobe XMP SDK to work on UNIX and to be build with GNU automake. +It includes XMPCore and XMPFiles. + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +This package contains the libraries and header files needed for +developing with exempi + +%prep +%setup -q + +%build +%configure LDFLAGS="-L%{_libdir}" CPPFLAGS="-I%{_includedir}" +# Disable rpath +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install + +rm -rf %{buildroot}%{_libdir}/*.la +rm -rf %{buildroot}%{_libdir}/*.a + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root, -) +%doc AUTHORS ChangeLog COPYING README +%{_libdir}/*.so.* + +%files devel +%defattr(-, root, root, -) +%{_includedir}/exempi-2.0/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Tue Jul 10 2007 Deji Akingunola - 1.99.3-1 +- Initial packaging for Fedora diff --git a/sources b/sources index e69de29..164933a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5e6e977cb133d5382df60267fade1ea4 exempi-1.99.3.tar.gz