From 3a8c1b9a4495eaed6b1ad703f96c49eb1e5c4705 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:46:41 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.3.0-1mamba;Fri Nov 26 2021] --- README.md | 2 ++ libsidplayfp.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 libsidplayfp.spec diff --git a/README.md b/README.md index a733c53..3aebd3a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libsidplayfp +A library to play Commodore 64 music . + diff --git a/libsidplayfp.spec b/libsidplayfp.spec new file mode 100644 index 0000000..77b73fa --- /dev/null +++ b/libsidplayfp.spec @@ -0,0 +1,80 @@ +Name: libsidplayfp +Version: 2.3.0 +Release: 1mamba +Summary: A library to play Commodore 64 music +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/libsidplayfp/libsidplayfp +Source: https://github.com/libsidplayfp/libsidplayfp.git/v%{version}/libsidplayfp-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libgcrypt-devel +BuildRequires: libgpg-error-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: xa + +%description +A library to play Commodore 64 music . + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q +autoreconf -f -i + +%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}/libsidplayfp.so.* +%{_libdir}/libstilview.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/sidplayfp +%{_includedir}/sidplayfp/*.h +%dir %{_includedir}/stilview +%{_includedir}/stilview/*.h +%dir %{_includedir}/sidplayfp/builders +%{_includedir}/sidplayfp/builders/*.h +%{_libdir}/libsidplayfp.a +%{_libdir}/libsidplayfp.la +%{_libdir}/libsidplayfp.so +%{_libdir}/libstilview.a +%{_libdir}/libstilview.la +%{_libdir}/libstilview.so +%{_libdir}/pkgconfig/libsidplayfp.pc +%{_libdir}/pkgconfig/libstilview.pc +%doc NEWS README TODO + +%changelog +* Fri Nov 26 2021 Silvan Calarco 2.3.0-1mamba +- package created using the webbuild interface