From 01729539f1f9c0b1133d8b339dea7bf2d443ffd1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:42:16 +0100 Subject: [PATCH] package created using the webbuild interface [release r475-1mamba;Sat Nov 30 2013] --- README.md | 2 ++ libreplaygain.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 libreplaygain.spec diff --git a/README.md b/README.md index 78558eb..046b9ac 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libreplaygain +libreplaygain calculates the perceived loudness of audio and suggests dB adjustments according to the ReplayGain standard. + diff --git a/libreplaygain.spec b/libreplaygain.spec new file mode 100644 index 0000000..3179592 --- /dev/null +++ b/libreplaygain.spec @@ -0,0 +1,64 @@ +Name: libreplaygain +Version: r475 +Release: 1mamba +Summary: Calculates the perceived loudness of audio and suggests dB adjustments +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.musepack.net/ +Source: http://files.musepack.net/source/libreplaygain_%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libreplaygain calculates the perceived loudness of audio and suggests dB adjustments according to the ReplayGain standard. + +%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}. + +%debug_package + +%prep +%setup -q -n %{name}_%{version} + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +install -d -m0755 %{buildroot}%{_includedir}/ +cp -a include/replaygain %{buildroot}%{_includedir} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libreplaygain.so.* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/replaygain +%{_includedir}/replaygain/gain_analysis.h +%{_libdir}/libreplaygain.a +%{_libdir}/libreplaygain.so + +%changelog +* Sat Nov 30 2013 Silvan Calarco r475-1mamba +- package created using the webbuild interface