libreplaygain/libreplaygain.spec

65 lines
1.7 KiB
RPMSpec
Raw Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> r475-1mamba
- package created using the webbuild interface