Name: libgdither Version: 0.6 Release: 8%{?dist} Summary: Library for applying dithering to PCM audio sources Group: System Environment/Libraries License: GPLv2+ URL: http://plugin.org.uk/libgdither/README Source0: http://plugin.org.uk/libgdither/libgdither-%{version}.tar.gz Patch0: libgdither-0.6-default.patch Patch1: libgdither-0.6-gavl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: fftw-devel >= 3.0.0 %description Libgdither is a GPL'd library library for performing audio dithering on PCM samples. The dithering process should be carried out before reducing the bit width of PCM audio data (eg. float to 16 bit int conversions) to preserve audio quality. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 -b .default %patch1 -p1 -b .gavl_fix %build export INIT_CFLAGS="${RPM_OPT_FLAGS}" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' sed -i -e 's|/usr/local|%{_prefix}|g' \ $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libgdither.pc sed -i -e 's|%{_prefix}/lib|%{_libdir}|' \ $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libgdither.pc %check make test CFLAGS="${RPM_OPT_FLAGS} -Werror --std=c99 -I%{_builddir}/%{?buildsubdir}" %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING README %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/libgdither/ %{_libdir}/*.so %{_libdir}/pkgconfig/libgdither.pc %changelog * Fri Jan 24 2014 Daniel Mach - 0.6-8 - Mass rebuild 2014-01-24 * Fri Dec 27 2013 Daniel Mach - 0.6-7 - Mass rebuild 2013-12-27 * Thu Feb 14 2013 Fedora Release Engineering - 0.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jun 27 2008 kwizart < kwizart at gmail.com > - 0.6-1 - Backport patch from gavl * Mon Jun 16 2008 kwizart < kwizart at gmail.com > - 0.6-0 - Initial package