1.5.0, get rid of static libs

epel8
Tom Callaway 15 years ago
parent 6a549d46aa
commit a252a990be

@ -1 +1 @@
rubberband-1.2.tar.bz2
rubberband-1.5.0.tar.bz2

@ -1,10 +0,0 @@
--- rubberband-1.2/src/sysutils.cpp.gcc43 2008-07-08 11:43:31.000000000 -0400
+++ rubberband-1.2/src/sysutils.cpp 2008-07-17 18:28:42.000000000 -0400
@@ -25,6 +25,7 @@
#endif /* !__APPLE__, !_WIN32 */
#endif /* !_WIN32 */
+#include <cstdlib>
#include <iostream>

@ -1,10 +0,0 @@
--- rubberband-1.2/src/vamp/RubberBandVampPlugin.cpp.gcc44 2008-07-08 11:43:30.000000000 -0400
+++ rubberband-1.2/src/vamp/RubberBandVampPlugin.cpp 2009-02-08 00:26:07.010884505 -0500
@@ -18,6 +18,7 @@
#include "sysutils.h"
#include <cmath>
+#include <cstdio>
using std::string;
using std::vector;

@ -0,0 +1,11 @@
diff -up rubberband-1.5.0/vamp/RubberBandVampPlugin.cpp.gcc44 rubberband-1.5.0/vamp/RubberBandVampPlugin.cpp
--- rubberband-1.5.0/vamp/RubberBandVampPlugin.cpp.gcc44 2010-06-02 09:21:14.510350757 -0400
+++ rubberband-1.5.0/vamp/RubberBandVampPlugin.cpp 2010-06-02 09:21:25.649356553 -0400
@@ -18,6 +18,7 @@
#include "system/sysutils.h"
#include <cmath>
+#include <cstdio>
using std::string;
using std::vector;

@ -1,6 +1,7 @@
--- rubberband-1.2/Makefile.in.mk 2008-07-05 11:22:51.000000000 -0400
+++ rubberband-1.2/Makefile.in 2008-07-17 18:32:21.000000000 -0400
@@ -28,11 +28,11 @@
diff -up rubberband-1.5.0/Makefile.in.mk rubberband-1.5.0/Makefile.in
--- rubberband-1.5.0/Makefile.in.mk 2010-05-02 15:06:05.000000000 -0400
+++ rubberband-1.5.0/Makefile.in 2010-06-02 09:23:57.045227845 -0400
@@ -28,11 +28,11 @@ LADSPA_TARGET := lib/ladspa-rubberban
INSTALL_BINDIR := @prefix@/bin
INSTALL_INCDIR := @prefix@/include/rubberband
@ -16,7 +17,7 @@
all: bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
@@ -138,17 +138,17 @@
@@ -144,17 +144,17 @@ install: all
$(MKDIR) -p $(DESTDIR)$(INSTALL_LADSPADIR)
$(MKDIR) -p $(DESTDIR)$(INSTALL_LRDFDIR)
$(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR)
@ -34,9 +35,9 @@
test -n "$(DYNAMIC_FULL_VERSION)" && ln -s $(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)
- cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
+ cp -p $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
cp src/vamp/vamp-rubberband.cat $(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 src/ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
cp src/ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
cp ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
cp ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
sed "s,%PREFIX%,@prefix@," rubberband.pc.in \

@ -1,15 +1,14 @@
Name: rubberband
Version: 1.2
Release: 5%{?dist}
Version: 1.5.0
Release: 1%{?dist}
Summary: Audio time-stretching and pitch-shifting library
Group: System Environment/Libraries
License: GPLv2+
URL: http://www.breakfastquay.com/rubberband/
Source0: http://www.breakfastquay.com/rubberband/files/rubberband-%{version}.tar.bz2
Patch0: rubberband-1.2-gcc43.patch
Patch1: rubberband-1.2-gcc44.patch
Patch2: rubberband-1.2-mk.patch
Patch0: rubberband-1.5.0-gcc44.patch
Patch1: rubberband-1.5.0-mk.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fftw-devel libsamplerate-devel libsndfile-devel
@ -34,9 +33,8 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1 -b .gcc43
%patch1 -p1 -b .gcc44
%patch2 -p1 -b .mk
%patch0 -p1 -b .gcc44
%patch1 -p1 -b .mk
%build
@ -48,7 +46,7 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
%clean
rm -rf $RPM_BUILD_ROOT
@ -61,7 +59,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
%doc COPYING README.txt
%{_bindir}/rubberband
%{_libdir}/*.so.*
%{_libdir}/ladspa/ladspa-rubberband.*
@ -72,12 +70,15 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/rubberband.pc
%changelog
* Wed Jun 2 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.0-1
- update to 1.5.0
- disable static libs
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

@ -1 +1 @@
9092a73906fd56c3e733fd955b802736 rubberband-1.2.tar.bz2
c5f288d644fcd46bd159e187bcc33f25 rubberband-1.5.0.tar.bz2

Loading…
Cancel
Save