Compare commits

...

3 Commits

View File

@ -1,17 +1,21 @@
Name: libadplug
Version: 2.2.1
Release: 1mamba
Version: 2.3.3
Release: 2mamba
Summary: AdPlug is an hardware independent AdLib sound player library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://adplug.sourceforge.net
Source: http://downloads.sourceforge.net/adplug/adplug-%{version}.tar.bz2
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://adplug.sourceforge.net
Source: https://github.com/adplug/adplug.git/adplug-%{version}/adplug-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbinio-devel
PreReq: %{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires(post): %{__install_info}
%description
AdPlug is a free, cross-platform, hardware independent AdLib sound player library, mainly written in C++ and released under the LGPL.
@ -27,11 +31,13 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
AdPlug is a free, cross-platform, hardware independent AdLib sound player library, mainly written in C++ and released under the LGPL.
AdPlug plays sound data, originally created for the AdLib (OPL2) audio board, directly from its original format on top of an OPL2 emulator or by using the real hardware.
No OPL chip is required for playback.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q -n adplug-%{version}
autoreconf -f -i
%build
%configure
@ -41,6 +47,8 @@ This package contains static libraries and header files need for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_infodir}/dir
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -53,21 +61,31 @@ This package contains static libraries and header files need for development.
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_infodir}/%{name}.info*
%{_mandir}/man1/adplugdb.*
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO
%{_libdir}/libadplug-%{version}.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/adplugdb
%dir %{_includedir}/adplug
%{_includedir}/adplug/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/libadplug.a
%{_libdir}/libadplug.so
%{_libdir}/pkgconfig/adplug.pc
%{_infodir}/%{name}.info*
%{_mandir}/man1/adplugdb.*
%doc BUGS ChangeLog NEWS README TODO
%changelog
* Sat Apr 27 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.3-2mamba
- rebuilt with specfile fixes
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.3-1mamba
- update to 2.3.3
* Thu Dec 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-2mamba
- rebuilt with gcc 5.3.0
* Tue Jun 22 2010 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic update by autodist