86 lines
2.5 KiB
RPMSpec
86 lines
2.5 KiB
RPMSpec
Name: libsidplay
|
|
Version: 1.36.60
|
|
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: https://www.tnsp.org/?p=libsidplay1
|
|
Source: http://deb.debian.org/debian/pool/main/libs/libsidplay/libsidplay_%{version}.orig.tar.bz2
|
|
#Source: http://www.tnsp.org/xs-files/libsidplay-%{version}.tar.gz
|
|
Patch0: libsidplay-1.36.59-gcc-10.2.0.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
## 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 needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," scripts/config.sub
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure
|
|
%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}/libsidplay.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/sidplay
|
|
%{_includedir}/sidplay/*.h
|
|
%{_libdir}/libsidplay.a
|
|
%{_libdir}/libsidplay.la
|
|
%{_libdir}/libsidplay.so
|
|
%doc DEVELOPER src/*.txt
|
|
|
|
%changelog
|
|
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.60-1mamba
|
|
- update to 1.36.60
|
|
|
|
* Mon Dec 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.59-4mamba
|
|
- rebuilt with debug package and aarch64 build fix
|
|
|
|
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 1.36.59-3mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* 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
|