%define major 1 %define libname %mklibname sidplay %{major} %define develname %mklibname sidplay -d Summary: A Commodore 64 music player and SID chip emulator library Name: libsidplay Version: 1.36.60 Release: %mkrel 3 License: GPLv2+ Group: System/Libraries URL: http://home.arcor.de/ms2002sep/bak/ Source: %{name}-%{version}.tar.bz2 %description This library provides the Sound Interface Device (SID) chip emulator engine that is used by music player programs like SIDPLAY. With it you can play musics from Commodore 64 (or compatible) programs. %package -n %{libname} Summary: A Commodore 64 music player and SID chip emulator library Group: System/Libraries Provides: %{name} = %{version} %description -n %{libname} This library provides the Sound Interface Device (SID) chip emulator engine that is used by music player programs like SIDPLAY. With it you can play musics from Commodore 64 (or compatible) programs. %package -n %{develname} Summary: Libraries and include files for developing libsidplay applications Group: Development/C++ Requires: %{libname} = %{version} Provides: sidplay-devel = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Obsoletes: %{mklibname sidplay 1 -d} %description -n %{develname} This package contains the header files and the static library for compiling applications that use libsidplay. %prep %setup -q %build %configure2_5x --disable-static \ --enable-optfixpoint \ --enable-optendian %make %install %makeinstall_std rm -f %{buildroot}%{_libdir}/*.la %files -n %{libname} %doc AUTHORS COPYING %{_libdir}/lib*.so.%{major} %{_libdir}/lib*.so.%{major}.* %files -n %{develname} %doc DEVELOPER src/*.txt %{_includedir}/sidplay %{_libdir}/*.so %changelog * Sat Jan 12 2013 umeabot <umeabot> 1.36.60-3.mga3 + Revision: 358153 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Oct 14 2012 fwang <fwang> 1.36.60-2.mga3 + Revision: 305409 - drop .la file * Sun Feb 20 2011 ahmad <ahmad> 1.36.60-2.mga1 + Revision: 54788 - drop old/unneeded scriptlets - imported package libsidplay