libsidplay2/libsidplay2.spec

93 lines
2.8 KiB
RPMSpec
Raw Normal View History

Name: libsidplay2
Version: 2.1.1
Release: 1mamba
Summary: A Commodore 64 music player and SID chip emulator library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sidplay2.sourceforge.net/
Source: http://downloads.sourceforge.net/project/sidplay2/sidplay2/sidplay-libs-2.1.1/sidplay-libs-%{version}.tar.gz
Patch0: %{name}-2.1.1-gcc-4.0.patch
Patch1: %{name}-2.1.1-pkgconfig.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: pkg-config
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{version}
%description devel
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.
This package contains static libraries and header files need for development.
%prep
%setup -q -n sidplay-libs-%{version}
%patch0 -p1
%patch1 -p1
%build
%configure CPPFLAGS="-fpermissive"
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libsidplay2.so.*
%{_libdir}/libsidutils.so.*
%doc libsidplay/AUTHORS libsidplay/COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/sidplay
%{_includedir}/sidplay/*.h
%dir %{_includedir}/sidplay/builders
%{_includedir}/sidplay/builders/*.h
%dir %{_includedir}/sidplay/utils
%{_includedir}/sidplay/utils/*.h
%{_libdir}/libsidplay2.a
%{_libdir}/libsidplay2.la
%{_libdir}/libsidplay2.so
%{_libdir}/libsidutils.a
%{_libdir}/libsidutils.la
%{_libdir}/libsidutils.so
%dir %{_libdir}/sidplay/builders
%{_libdir}/sidplay/builders/libhardsid-builder.a
%{_libdir}/sidplay/builders/libhardsid-builder.la
%{_libdir}/sidplay/builders/libresid-builder.a
%{_libdir}/sidplay/builders/libresid-builder.la
%{_libdir}/pkgconfig/libsidplay2.pc
%{_libdir}/pkgconfig/libsidutils.pc
%doc libsidplay/README libsidplay/TODO
%changelog
* Sat Jul 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-1mamba
- update to 2.1.1
* Sun Oct 19 2008 gil <puntogil@libero.it> 1.36.59-2mamba
- rebuild
- fix: source; url; packager,
* Tue Jun 14 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.36.59-1qilnx
- package created by autospec