%define major 3 %define libname %mklibname %{name} %{major} %define develname %mklibname %{name} -d Name: exempi Summary: Library for easy parsing of XMP metadata Version: 2.2.0 Release: %mkrel 2 Group: System/Libraries License: BSD-like URL: http://libopenraw.freedesktop.org/wiki/Exempi Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 Source1: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2.asc BuildRequires: expat-devel BuildRequires: boost-devel %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 -n %{libname} Summary: XMP implementation Group: System/Libraries %description -n %{libname} 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 -n %{develname} Summary: Headers for developing programs that will use %{name} Group: Development/C Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} %description -n %{develname} 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. %prep %setup -q %build %configure2_5x %make %check %make check %install %makeinstall_std rm -rf %{buildroot}%{_libdir}/*.la rm -rf %{buildroot}%{_libdir}/*.a %files -n %{libname} %doc AUTHORS ChangeLog COPYING README %{_bindir}/%{name} %{_libdir}/*.so.%{major}* %files -n %{develname} %{_includedir}/%{name}-2.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Fri Jan 11 2013 umeabot <umeabot> 2.2.0-2.mga3 + Revision: 349840 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Oct 23 2012 dams <dams> 2.2.0-1.mga3 + Revision: 309360 - new version 2.2.0 - update %%description - clean specfile - sync with fedora * Mon Apr 02 2012 pterjan <pterjan> 2.1.1-4.mga2 + Revision: 227777 - Rebuild after libexpat.la removal * Sat Jan 15 2011 blino <blino> 2.1.1-3.mga1 + Revision: 19089 - imported package exempi