Compare commits

...

No commits in common. 'epel9' and 'i8c' have entirely different histories.
epel9 ... i8c

2
.gitignore vendored

@ -1 +1 @@
libgdither-0.6.tar.gz
SOURCES/libgdither-0.6.tar.gz

@ -0,0 +1 @@
8727600550401c22ba9ec7a24e1ab6d2c02cee9a SOURCES/libgdither-0.6.tar.gz

@ -0,0 +1,20 @@
diff -up libgdither-0.6/Makefile.ldflags libgdither-0.6/Makefile
--- libgdither-0.6/Makefile.ldflags 2018-10-13 15:01:35.228468070 -0400
+++ libgdither-0.6/Makefile 2018-10-13 15:07:29.070561578 -0400
@@ -4,13 +4,13 @@ CFLAGS = $(INIT_CFLAGS) -I. -ffast-math
TARDIR = libgdither-$(VERSION)
-all: libgdither.so
+all: libgdither.so.1.0
gdither.o: gdither.c gdither.h gdither_types_internal.h
$(CC) $(CFLAGS) -c gdither.c
-libgdither.so: gdither.o
- $(CC) -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0
+libgdither.so.1.0: gdither.o
+ $(CC) $(LDFLAGS) -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0
libgdither.pc: libgdither.pc.in Makefile
sed -e 's|@VERSION@|$(VERSION)|' -e 's|@PREFIX@|$(PREFIX)|' \

@ -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,34 @@ 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
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.6-17
- Rebuilt for MSVSphere 8.8
* 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)

@ -1,11 +0,0 @@
--- libgdither-0.6/Makefile 2018-04-10 18:23:46.000822954 +0200
+++ libgdither-0.6/Makefile 2018-04-10 18:25:25.783013273 +0200
@@ -10,7 +10,7 @@
$(CC) $(CFLAGS) -c gdither.c
libgdither.so: gdither.o
- $(CC) -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0
+ $(CC) $(LDFLAGS) -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0
libgdither.pc: libgdither.pc.in Makefile
sed -e 's|@VERSION@|$(VERSION)|' -e 's|@PREFIX@|$(PREFIX)|' \

@ -1 +0,0 @@
e0c18c3f5f9796e7c33b417dd5801d04 libgdither-0.6.tar.gz
Loading…
Cancel
Save