Summary: A Commodore 64 music player and SID chip emulator library Summary(pl.UTF-8): Biblioteka odtwarzająca muzyczki z Commodore 64 i emulująca układ SID Name: libsidplay2 Version: 2.1.1 Release: 7 License: GPL Group: Libraries Source0: http://downloads.sourceforge.net/sidplay2/sidplay-libs-%{version}.tar.gz # Source0-md5: 7ea0ba5dc1da4604d15eaae001f7d2a7 Patch0: gcc4-fixes.patch Patch1: configure-fixes.patch Patch2: pkg-config.patch URL: http://sidplay2.sourceforge.net/ BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: libstdc++-devel BuildRequires: libtool >= 2:1.5 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Sidplay 2 is the second in the Sidplay series originally developed by Michael Schwendt. This version is written by Simon White and is cycle accurate for improved sound reproduction. Sidplay 2 is capable of playing all C64 mono and stereo file formats. %description -l pl.UTF-8 Sidplay 2 to druga wersja z serii Sidplay oryginalnie stworzonej przez Michaela Schwendta. Ta wersja została napisana przez Simona White'a i jest dokładna co do cyklu w celu zwiększonej wierności reprodukcji dźwięku. Sidplay 2 może odtwarzać wszystkie formaty plików mono i stereo z C64. %package devel Summary: Header files for compiling apps that use libsidplay Summary(pl.UTF-8): Pliki nagłówkowe do budowania aplikacji używających libsidplay Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libstdc++-devel %description devel This package contains the header files for compiling applications that use libsidplay. %description devel -l pl.UTF-8 Ten pakiet zawiera pliki nagłówkowe do budowania aplikacji używających biblioteki libsidplay. %package static Summary: Static libsidplay library Summary(pl.UTF-8): Statyczna biblioteka libsidplay Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static This package contains static version of libsidplay. %description static -l pl.UTF-8 Ten pakiet zawiera statyczną wersję libsidplay. %prep %setup -q -n sidplay-libs-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %build cd libsidplay %{__libtoolize} %{__aclocal} %{__autoheader} %{__autoconf} %{__automake} cd ../libsidutils %{__libtoolize} %{__aclocal} %{__autoheader} %{__autoconf} %{__automake} cd ../resid %{__libtoolize} %{__aclocal} %{__autoconf} %{__automake} cd ../builders/hardsid-builder %{__libtoolize} %{__aclocal} %{__autoheader} %{__autoconf} %{__automake} cd ../resid-builder %{__libtoolize} %{__aclocal} %{__autoheader} %{__autoconf} %{__automake} cd ../.. %{__libtoolize} %{__aclocal} %{__autoconf} %{__automake} %configure \ --enable-shared \ --enable-static %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc libsidplay/{AUTHORS,ChangeLog,TODO} %attr(755,root,root) %ghost %{_libdir}/libsidplay2.so.1 %attr(755,root,root) %{_libdir}/libsidplay2.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libsidutils.so.0 %attr(755,root,root) %{_libdir}/libsidutils.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libhardsid-builder.so.0 %attr(755,root,root) %{_libdir}/libhardsid-builder.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libresid-builder.so.0 %attr(755,root,root) %{_libdir}/libresid-builder.so.*.*.* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libsidplay2.so %attr(755,root,root) %{_libdir}/libsidutils.so %attr(755,root,root) %{_libdir}/libhardsid-builder.so %attr(755,root,root) %{_libdir}/libresid-builder.so %{_includedir}/sidplay %{_pkgconfigdir}/libsidplay2.pc %{_pkgconfigdir}/libsidutils.pc %files static %defattr(644,root,root,755) %{_libdir}/libhardsid-builder.a %{_libdir}/libresid-builder.a %{_libdir}/libsidplay2.a %{_libdir}/libsidutils.a