2024-01-06 05:46:33 +01:00
|
|
|
Name: libsidplay2
|
|
|
|
Version: 2.1.1
|
2024-01-06 05:46:33 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 05:46:33 +01:00
|
|
|
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/
|
2024-01-06 05:46:33 +01:00
|
|
|
Source: http://downloads.sourceforge.net/project/sidplay2/sidplay2/sidplay-libs-%{version}/sidplay-libs-%{version}.tar.gz
|
2024-01-06 05:46:33 +01:00
|
|
|
Patch0: %{name}-2.1.1-gcc-4.0.patch
|
|
|
|
Patch1: %{name}-2.1.1-pkgconfig.patch
|
2024-01-06 05:46:33 +01:00
|
|
|
Patch2: libsidplay2-2.1.1-m4-tests.patch
|
|
|
|
Patch3: libsidplay2-2.1.1-operator.patch
|
|
|
|
Patch4: libsidplay2-2.1.1-includes.patch
|
|
|
|
Patch5: libsidplay2-2.1.1-gcc-6.patch
|
2024-01-06 05:46:33 +01:00
|
|
|
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.
|
2024-01-06 05:46:33 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:46:33 +01:00
|
|
|
|
2024-01-06 05:46:33 +01:00
|
|
|
%debug_package
|
2024-01-06 05:46:33 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n sidplay-libs-%{version}
|
2024-01-06 05:46:33 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," \
|
|
|
|
unix/config.sub libsidplay/unix/config.sub builders/hardsid-builder/unix/config.sub \
|
|
|
|
builders/resid-builder/unix/config.sub libsidutils/unix/config.sub resid/config.sub
|
2024-01-06 05:46:33 +01:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2024-01-06 05:46:33 +01:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
2024-01-06 05:46:33 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 05:46:33 +01:00
|
|
|
* Wed Jan 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-2mamba
|
|
|
|
- rebuilt with debug package and aarch64 build fix
|
|
|
|
|
2024-01-06 05:46:33 +01:00
|
|
|
* 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
|