84 lines
2.1 KiB
RPMSpec
84 lines
2.1 KiB
RPMSpec
|
Name: libopenmpt
|
||
|
Version: 0.7.13
|
||
|
Release: 1mamba
|
||
|
Summary: A library to render tracker music to a PCM audio stream
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://openmpt.org/
|
||
|
Source: https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-%{version}+release.autotools.tar.gz
|
||
|
License: BSD
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libalsa-devel
|
||
|
BuildRequires: libflac-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libmpg123-devel
|
||
|
BuildRequires: libogg-devel
|
||
|
BuildRequires: libportaudio-devel
|
||
|
BuildRequires: libpulseaudio-devel
|
||
|
BuildRequires: libsndfile-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libvorbis-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
%description
|
||
|
A library to render tracker music to a PCM audio stream.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%package tools
|
||
|
Group: Applications/Graphics
|
||
|
Summary: Utility applications for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description tools
|
||
|
This package contains utility applications for %{name}.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}-%{version}+release.autotools
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libopenmpt.so.*
|
||
|
%doc LICENSE
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/libopenmpt
|
||
|
%{_includedir}/libopenmpt/*
|
||
|
%{_libdir}/libopenmpt.a
|
||
|
%{_libdir}/libopenmpt.so
|
||
|
%{_libdir}/pkgconfig/libopenmpt.pc
|
||
|
%dir %{_docdir}/libopenmpt
|
||
|
%{_docdir}/libopenmpt/*
|
||
|
%doc README.md
|
||
|
|
||
|
%files tools
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/openmpt123
|
||
|
%{_mandir}/man1/openmpt123.1.gz
|
||
|
|
||
|
%changelog
|
||
|
* Thu Jan 16 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.13-1mamba
|
||
|
- package created using the webbuild interface
|