%define api 0.9.3 %define libname %mklibname %{name} %{api} %define devname %mklibname %{name} -d Summary: Dynamic Universal Music Bibliotheque Name: dumb Version: 0.9.3 Release: %mkrel 15 Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}-autotools.tar.gz Patch0: dumb-0.9.3-fix-linking.patch Patch1: dumb-0.9.3-CVE-2006-3668.patch License: BSD-like Group: Sound/Players Url: http://dumb.sf.net/ BuildRequires: liballegro-devel %description DUMB is an IT, XM, S3M and MOD player library. This package includes a player based on Allegro. %package -n %{libname} Group: System/Libraries Summary: Shared libraries for %{name} %description -n %{libname} DUMB is an IT, XM, S3M and MOD player library. %package -n %{devname} Group: Development/C Summary: Development files and headers for %{name} Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Obsoletes: %{name}-devel < 0.9.3-9 %description -n %{devname} This package contains the development files and headers for %{name}. %prep %setup -q -b 01 %patch0 -p0 -b .linking %patch1 -p1 -b .CVE %build %configure2_5x --disable-static make %install %makeinstall_std #we don't want these find %{buildroot} -name "*.la" -delete %files %doc readme.txt licence.txt release.txt %{_bindir}/* %files -n %{libname} %{_libdir}/lib%{name}-%{api}.so %{_libdir}/libaldmb-%{api}.so %files -n %{devname} %doc docs/* %{_libdir}/lib%{name}.so %{_libdir}/libaldmb.so %{_includedir}/*.h %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.9.3-15.mga5 + Revision: 744667 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.9.3-14.mga5 + Revision: 678877 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 0.9.3-13.mga4 + Revision: 533333 - Mageia 4 Mass Rebuild * Wed Aug 28 2013 joequant <joequant> 0.9.3-12.mga4 + Revision: 472614 - update for mageia4 * Fri Jan 11 2013 umeabot <umeabot> 0.9.3-11.mga3 + Revision: 349165 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Nov 29 2012 malo <malo> 0.9.3-10.mga3 + Revision: 322783 - update RPM group * Wed Nov 30 2011 wally <wally> 0.9.3-9.mga2 + Revision: 174504 - disable parallel build - enable shared libs - fix CVE-2006-3668, patch from debian - redo P0 and .spec * Fri Mar 04 2011 ennael <ennael> 0.9.3-8.mga1 + Revision: 64080 - imported package dumb * Sun Dec 05 2010 Oden Eriksson <oeriksson@mandriva.com> 0.9.3-8mdv2011.0 + Revision: 610289 - rebuild * Thu Dec 31 2009 Emmanuel Andry <eandry@mandriva.org> 0.9.3-7mdv2010.1 + Revision: 484586 - rebuild for new allegro * Fri Jul 24 2009 Götz Waschk <waschk@mandriva.org> 0.9.3-6mdv2010.0 + Revision: 399217 - fix linking * Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 0.9.3-5mdv2009.0 + Revision: 244555 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Dec 04 2006 Götz Waschk <waschk@mandriva.org> 0.9.3-3mdv2007.0 + Revision: 90351 - Import dumb * Mon Dec 04 2006 Götz Waschk <waschk@mandriva.org> 0.9.3-3mdv2007.1 - rebuild * Fri Dec 02 2005 Götz Waschk <waschk@mandriva.org> 0.9.3-2mdk - fix build on x86_64 * Fri Sep 30 2005 Götz Waschk <waschk@mandriva.org> 0.9.3-1mdk - initial package