From 6be9497ed7f4f003d6a96fc868aefdd4c2392d40 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 17 Jan 2025 09:37:21 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.7.13-1mamba;Thu Jan 16 2025] --- README.md | 2 ++ libopenmpt.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 libopenmpt.spec diff --git a/README.md b/README.md index 6d45757..7784bb7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libopenmpt +A library to render tracker music to a PCM audio stream. + diff --git a/libopenmpt.spec b/libopenmpt.spec new file mode 100644 index 0000000..4566cbe --- /dev/null +++ b/libopenmpt.spec @@ -0,0 +1,83 @@ +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 +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 0.7.13-1mamba +- package created using the webbuild interface