Name: libexempi Version: 2.1.1 Release: 1mamba Summary: a library to parse XMP metadata. Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: gil URL: http://libopenraw.freedesktop.org/wiki/Exempi Source: http://libopenraw.freedesktop.org/download/exempi-%{version}.tar.gz License: BSD BuildRequires: libboost-devel BuildRequires: libiconv-devel ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libexpat-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libXpm-devel BuildRequires: pkgconfig #BuildRequires: gdb #BuildRequires: valgrind BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{name} 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 Group: Development/Libraries Summary: Libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel %{name} 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. This package contains libraries and header files need for development. %package static Group: Development/Libraries Summary: Static libraries for %{name} Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description static %{name} 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. This package contains static libraries need for development. %prep %setup -q -n exempi-%{version} %build %configure LDFLAGS="-L%{_libdir}" CPPFLAGS="-I%{_includedir}" 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 #check #ake check %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %doc AUTHORS COPYING ChangeLog NEWS README %files devel %defattr(-,root,root) %dir %{_includedir}/exempi-2.0/exempi/ %{_includedir}/exempi-2.0/exempi/*.h %{_libdir}/*.so %{_exec_prefix}/lib/pkgconfig/*.pc %files static %defattr(-,root,root) %{_libdir}/*.a %{_libdir}/*.la %changelog * Sun May 16 2010 gil 2.1.1-1mamba - update to 2.1.1 * Sun Feb 01 2009 gil 2.1.0-1mamba - package created by autospec