[packages/rubberband] - added pc patch (fix libdir in .pc file) - description fixes - release 2

qboosh qboosh at pld-linux.org
Sun Feb 21 21:58:47 CET 2016


commit ff5250312586df3b18345d15d071bf6013e5ef51
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 21 22:01:46 2016 +0100

    - added pc patch (fix libdir in .pc file)
    - description fixes
    - release 2

 rubberband-pc.patch | 21 +++++++++++++++++++++
 rubberband.spec     | 43 +++++++++++++++++++++++++++----------------
 2 files changed, 48 insertions(+), 16 deletions(-)
---
diff --git a/rubberband.spec b/rubberband.spec
index 8de5d64..072da22 100644
--- a/rubberband.spec
+++ b/rubberband.spec
@@ -1,19 +1,20 @@
 Summary:	An audio time-stretching and pitch-shifting library and utility program
-Summary(pl.UTF-8):	Biblioteka i narzędzie do rozciagania i harmonizowania dźwięku
+Summary(pl.UTF-8):	Biblioteka i narzędzie do rozciągania i harmonizowania dźwięku
 Name:		rubberband
 Version:	1.8.1
-Release:	1
-License:	GPL v2
+Release:	2
+License:	GPL v2+
 Group:		Applications/Sound
 Source0:	http://code.breakfastquay.com/attachments/download/34/%{name}-%{version}.tar.bz2
 # Source0-md5:	6c2b4e18a714bcc297d0db81a10f9348
+Patch0:		%{name}-pc.patch
 URL:		http://www.breakfastquay.com/rubberband/
-BuildRequires:	fftw3-devel
+BuildRequires:	fftw3-devel >= 3
 BuildRequires:	ladspa-devel
 BuildRequires:	libsamplerate-devel
 BuildRequires:	libsndfile-devel
 BuildRequires:	libstdc++-devel
-BuildRequires:	pkg-config
+BuildRequires:	pkgconfig
 BuildRequires:	vamp-devel
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,20 +25,19 @@ change the tempo and pitch of an audio recording independently of one
 another.
 
 %description -l pl.UTF-8
-Rubber Band to biblioteka i program narzędziowy, który pozwala ci na
-zmianę tempa i wysokości tonu nagrywanego dźwięku niezaleźnie od
-innego.
+Rubber Band to biblioteka i program narzędziowy, który pozwala na
+zmianę tempa i wysokości tonu nagrywanego dźwięku niezależnie.
 
 %package libs
-Summary:	rubberband library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki rubberband
+Summary:	Shared rubberband library
+Summary(pl.UTF-8):	Biblioteka współdzielona rubberband
 Group:		Libraries
 
 %description libs
-rubberband library.
+Shared rubberband library.
 
 %description libs -l pl.UTF-8
-Biblioteka rubberband.
+Biblioteka współdzielona rubberband.
 
 %package devel
 Summary:	Header files for rubberband library
@@ -64,21 +64,32 @@ Static rubberband library.
 Statyczna biblioteka rubberband.
 
 %package -n ladspa-rubberband-plugins
-Summary:	rubberband ladspa plugin
+Summary:	rubberband LADSPA plugin
+Summary(pl.UTF-8):	Wtyczka LADSPA rubberband
 Group:		Applications/Sound
+Requires:	ladspa-common
 
 %description -n ladspa-rubberband-plugins
-rubberband ladspa plugin.
+rubberband LADSPA plugin.
+
+%description -n ladspa-rubberband-plugins -l pl.UTF-8
+Wtyczka LADSPA rubberband.
 
 %package -n vamp-plugins-rubberband
-Summary:	rubberband vamp plugin
+Summary:	rubberband Vamp plugin
+Summary(pl.UTF-8):	Wtyczka Vamp rubberband
 Group:		Applications/Sound
+Requires:	vamp
 
 %description -n vamp-plugins-rubberband
-rubberband vamp plugin.
+rubberband Vamp plugin.
+
+%description -n vamp-plugins-rubberband -l pl.UTF-8
+Wtyczka Vamp rubberband.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
diff --git a/rubberband-pc.patch b/rubberband-pc.patch
new file mode 100644
index 0000000..263935f
--- /dev/null
+++ b/rubberband-pc.patch
@@ -0,0 +1,21 @@
+--- rubberband-1.8.1/rubberband.pc.in.orig	2012-10-28 11:30:09.000000000 +0100
++++ rubberband-1.8.1/rubberband.pc.in	2016-02-21 21:56:55.376483312 +0100
+@@ -1,6 +1,6 @@
+ prefix=%PREFIX%
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/lib
++libdir=%LIBDIR%
+ includedir=${prefix}/include
+ 
+ Name: rubberband
+--- rubberband-1.8.1/Makefile.in.orig	2012-10-28 11:30:09.000000000 +0100
++++ rubberband-1.8.1/Makefile.in	2016-02-21 21:57:23.866482117 +0100
+@@ -158,7 +158,7 @@
+ 	cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
+ 	cp ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
+ 	cp ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
+-	sed "s,%PREFIX%, at prefix@," rubberband.pc.in \
++	sed "s,%PREFIX%, at prefix@,;s,%LIBDIR%, at libdir@," rubberband.pc.in \
+ 	  > $(DESTDIR)$(INSTALL_PKGDIR)/rubberband.pc
+ 
+ clean:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rubberband.git/commitdiff/ff5250312586df3b18345d15d071bf6013e5ef51



More information about the pld-cvs-commit mailing list