|
|
|
@ -1,8 +1,9 @@
|
|
|
|
|
Name: libgdither
|
|
|
|
|
Version: 0.6
|
|
|
|
|
Release: 26%{?dist}
|
|
|
|
|
Release: 17%{?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
|
|
|
|
@ -10,9 +11,7 @@ Patch0: libgdither-0.6-default.patch
|
|
|
|
|
Patch1: libgdither-0.6-gavl.patch
|
|
|
|
|
Patch2: libgdither-0.6-ldflags.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: fftw-devel >= 3.0.0
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -24,7 +23,9 @@ preserve audio quality.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
@ -41,12 +42,14 @@ developing applications that use %{name}.
|
|
|
|
|
%build
|
|
|
|
|
export INIT_CFLAGS="${RPM_OPT_FLAGS}"
|
|
|
|
|
export LDFLAGS="%{build_ldflags}"
|
|
|
|
|
export PREFIX="%{_prefix}"
|
|
|
|
|
%make_build
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
export INIT_CFLAGS="${RPM_OPT_FLAGS}"
|
|
|
|
|
export LDFLAGS="%{build_ldflags}"
|
|
|
|
|
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' \
|
|
|
|
@ -55,52 +58,31 @@ sed -i -e 's|%{_prefix}/lib|%{_libdir}|' \
|
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/pkgconfig/libgdither.pc
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test CFLAGS="%{optflags} -Werror --std=c99 -I%{_builddir}/%{?buildsubdir}"
|
|
|
|
|
export INIT_CFLAGS="${RPM_OPT_FLAGS}"
|
|
|
|
|
export LDFLAGS="%{build_ldflags}"
|
|
|
|
|
make test CFLAGS="${RPM_OPT_FLAGS} -Werror --std=c99 -I%{_builddir}/%{?buildsubdir}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README
|
|
|
|
|
%license COPYING
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING README
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_includedir}/libgdither/
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/libgdither.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-26
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-25
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-23
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-22
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun May 26 2019 David King <amigadave@amigadave.com> - 0.6-20
|
|
|
|
|
- Pass through PREFIX to build system
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 17 2018 Nicolas Chauvet <kwizart@gmail.com> - 0.6-18
|
|
|
|
|
- Refresh spec file
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-17
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Sat Oct 13 2018 Ray Strode <rstrode@redhat.com> - 0.6-17
|
|
|
|
|
- Address annocheck failures
|
|
|
|
|
Resolves: #1630581
|
|
|
|
|
|
|
|
|
|
* Tue Apr 10 2018 Rafael Santos <rdossant@redhat.com> - 0.6-16
|
|
|
|
|
- Use Fedora standard linker flags (bug #1548657)
|