Compare commits

...

6 Commits
epel9 ... epel8

Author SHA1 Message Date
Michel Alexandre Salim 1c3e10163e Revert "Update to 1.9.1"
4 years ago
Michel Alexandre Salim 4983ea336a Update to 1.9.1
4 years ago
Michel Alexandre Salim d9e10d3a72 Update to 1.9.0
4 years ago
Troy Dawson 541e2b6634 remove package.cfg per new epel-playground policy
4 years ago
Leigh Scott 685a0ce966 Merge branch 'master' into epel8
5 years ago
Gwyn Ciesla 39b58cebef "Adding package.cfg file"
5 years ago

2
.gitignore vendored

@ -1 +1 @@
/rubberband-1.8.2.tar.bz2
/rubberband-1.9.0.tar.bz2

@ -1,44 +0,0 @@
--- rubberband-1.8.2/Makefile.in.mk 2018-05-15 10:43:39.000000000 -0700
+++ rubberband-1.8.2/Makefile.in 2018-10-17 20:42:02.869414480 -0700
@@ -20,11 +20,11 @@
INSTALL_BINDIR := $(PREFIX)/bin
INSTALL_INCDIR := $(PREFIX)/include/rubberband
-INSTALL_LIBDIR := $(PREFIX)/lib
-INSTALL_VAMPDIR := $(PREFIX)/lib/vamp
-INSTALL_LADSPADIR := $(PREFIX)/lib/ladspa
+INSTALL_LIBDIR := @libdir@
+INSTALL_VAMPDIR := $(INSTALL_LIBDIR)/vamp
+INSTALL_LADSPADIR := $(INSTALL_LIBDIR)/ladspa
INSTALL_LRDFDIR := $(PREFIX)/share/ladspa/rdf
-INSTALL_PKGDIR := $(PREFIX)/lib/pkgconfig
+INSTALL_PKGDIR := $(INSTALL_LIBDIR)/pkgconfig
LIBNAME := librubberband
JNINAME := librubberband-jni
@@ -174,19 +174,17 @@
$(MKDIR) -p $(DESTDIR)$(INSTALL_LADSPADIR)
$(MKDIR) -p $(DESTDIR)$(INSTALL_LRDFDIR)
$(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR)
- cp $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
- cp $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
- cp $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
+ cp -p $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
+ cp -p $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
+ cp -p $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
- rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
- cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION)
+ cp -p $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION)
ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
- cp -f $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
- cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
+ cp -p $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
- cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
+ cp -p $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
cp ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
cp ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
sed "s,%PREFIX%,$(PREFIX)," rubberband.pc.in \

@ -0,0 +1,64 @@
# HG changeset patch
# User 'Michel Alexandre Salim <salimma@fedoraproject.org>'
# Date 1605661509 28800
# Tue Nov 17 17:05:09 2020 -0800
# Node ID a5ac0c9466c59d232d77ac2f82be55a1fb76d1d5
# Parent 9df2a19b93a3c4076f2c87cae5022d2b6ae6580e
Make INSTALL_LIBDIR configurable
Some Linux distributions have INSTALL_LIBDIR set to $(PREFIX)/lib64 rather
than $(PREFIX)/lib. Allow overriding this; @libdir@ defaults to '${exec_prefix}/lib'
so this is a no-op unless overridden.
Also use `INSTALL_LIBDIR` to configure `INSTALL_VAMPDIR`, `INSTALL_LADSPADIR` and
`INSTALL_PKGDIR`
diff -r 9df2a19b93a3 -r a5ac0c9466c5 Makefile.in
--- a/Makefile.in Tue Nov 17 16:48:50 2020 -0800
+++ b/Makefile.in Tue Nov 17 17:05:09 2020 -0800
@@ -23,11 +23,11 @@
INSTALL_BINDIR := $(PREFIX)/bin
INSTALL_INCDIR := $(PREFIX)/include/rubberband
-INSTALL_LIBDIR := $(PREFIX)/lib
-INSTALL_VAMPDIR := $(PREFIX)/lib/vamp
-INSTALL_LADSPADIR := $(PREFIX)/lib/ladspa
+INSTALL_LIBDIR := @libdir@
+INSTALL_VAMPDIR := $(INSTALL_LIBDIR)/vamp
+INSTALL_LADSPADIR := $(INSTALL_LIBDIR)/ladspa
INSTALL_LRDFDIR := $(PREFIX)/share/ladspa/rdf
-INSTALL_PKGDIR := $(PREFIX)/lib/pkgconfig
+INSTALL_PKGDIR := $(INSTALL_LIBDIR)/pkgconfig
LIBNAME := librubberband
JNINAME := librubberband-jni
@@ -196,6 +196,7 @@
ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
test -f $(JNI_TARGET) && cp -fp $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) || true
sed "s,%PREFIX%,$(PREFIX)," rubberband.pc.in \
+ | sed "s,%LIBDIR%,$(INSTALL_LIBDIR)," \
> $(DESTDIR)$(INSTALL_PKGDIR)/rubberband.pc
ifeq ($(WITH_PROGRAMS), yes)
$(MKDIR) -p $(DESTDIR)$(INSTALL_BINDIR)
diff -r 9df2a19b93a3 -r a5ac0c9466c5 Makefile.osx
--- a/Makefile.osx Tue Nov 17 16:48:50 2020 -0800
+++ b/Makefile.osx Tue Nov 17 17:05:09 2020 -0800
@@ -177,6 +177,7 @@
cp ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
cp ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
sed "s,%PREFIX%,$(PREFIX)," rubberband.pc.in \
+ | sed "s,%LIBDIR%,$(INSTALL_LIBDIR)," \
> $(DESTDIR)$(INSTALL_PKGDIR)/rubberband.pc
clean:
diff -r 9df2a19b93a3 -r a5ac0c9466c5 rubberband.pc.in
--- a/rubberband.pc.in Tue Nov 17 16:48:50 2020 -0800
+++ b/rubberband.pc.in Tue Nov 17 17:05:09 2020 -0800
@@ -1,6 +1,6 @@
prefix=%PREFIX%
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=%LIBDIR%
includedir=${prefix}/include
Name: rubberband

@ -0,0 +1,56 @@
# HG changeset patch
# User 'Michel Alexandre Salim <salimma@fedoraproject.org>'
# Date 1605660530 28800
# Tue Nov 17 16:48:50 2020 -0800
# Node ID 9df2a19b93a3c4076f2c87cae5022d2b6ae6580e
# Parent 8f1295fa2ed4178ef84812b9909d2fc90cfa5bff
Preserve permissions when installing files
Use `cp -p` rather than `cp`
diff -r 8f1295fa2ed4 -r 9df2a19b93a3 Makefile.in
--- a/Makefile.in Thu Oct 08 11:20:52 2020 +0100
+++ b/Makefile.in Tue Nov 17 16:48:50 2020 -0800
@@ -186,32 +186,32 @@
$(MKDIR) -p $(DESTDIR)$(INSTALL_INCDIR)
$(MKDIR) -p $(DESTDIR)$(INSTALL_LIBDIR)
$(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR)
- cp $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
- cp $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
+ cp -p $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
+ cp -p $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
- cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION)
+ cp -p $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION)
ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
- test -f $(JNI_TARGET) && cp -f $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) || true
+ test -f $(JNI_TARGET) && cp -fp $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) || true
sed "s,%PREFIX%,$(PREFIX)," rubberband.pc.in \
> $(DESTDIR)$(INSTALL_PKGDIR)/rubberband.pc
ifeq ($(WITH_PROGRAMS), yes)
$(MKDIR) -p $(DESTDIR)$(INSTALL_BINDIR)
- cp $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
+ cp -p $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
endif
ifeq ($(WITH_VAMP), yes)
$(MKDIR) -p $(DESTDIR)$(INSTALL_VAMPDIR)
- cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
- cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
+ cp -p $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
+ cp -p vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
endif
ifeq ($(WITH_LADSPA), yes)
$(MKDIR) -p $(DESTDIR)$(INSTALL_LADSPADIR)
$(MKDIR) -p $(DESTDIR)$(INSTALL_LRDFDIR)
- cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
- cp ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
- cp ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
+ cp -p $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
+ cp -p ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
+ cp -p ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
endif
clean:

@ -1,12 +1,13 @@
Name: rubberband
Version: 1.8.2
Release: 3%{?dist}
Version: 1.9.0
Release: 1%{?dist}
Summary: Audio time-stretching and pitch-shifting library
License: GPLv2+
URL: http://www.breakfastquay.com/rubberband/
Source0: https://breakfastquay.com/files/releases/%{name}-%{version}.tar.bz2
Patch0: %{name}-1.8.2-mk.patch
Patch0: %{name}-1.9.0-permissions.patch
Patch1: %{name}-1.9.0-libdir.patch
BuildRequires: gcc-c++
BuildRequires: ladspa-devel
@ -34,7 +35,6 @@ developing applications that use %{name}.
%prep
%autosetup -p1
sed -i 's|{exec_prefix}/lib|{exec_prefix}/%{_lib}|' rubberband.pc.in
%build
@ -48,12 +48,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
%ldconfig_scriptlets
%files
%license COPYING
%doc README.txt
%doc README.md
%{_bindir}/rubberband
%{_libdir}/*.so.*
%{_libdir}/ladspa/ladspa-rubberband.*
@ -68,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
%changelog
* Tue Nov 17 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.9.0-1
- Update to 1.9.0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
SHA512 (rubberband-1.8.2.tar.bz2) = da677f9a843711c44c52c0153faa62e587ac7c010569523ef4fef7ce941b9d292e566f46147700e496f6cfff4c9f22f9901dcc93f2d701fdb9de152ddac0c3a6
SHA512 (rubberband-1.9.0.tar.bz2) = 2226cfec98f280a12f874f60620c3bf09f7399a7808af5e9f5c9a5154b989cfbf3c4220e162d722e319a4ef046f81c6a07eac2b8c6035c8f6230f0a20b1577a8

Loading…
Cancel
Save