packages: rubberband/rubberband.spec - BR: libsamplerate-devel, libstdc++-d...

sparky sparky at pld-linux.org
Sat Feb 27 21:56:49 CET 2010


Author: sparky                       Date: Sat Feb 27 20:56:49 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: libsamplerate-devel, libstdc++-devel
- fix build on 64 bits

---- Files affected:
packages/rubberband:
   rubberband.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/rubberband/rubberband.spec
diff -u packages/rubberband/rubberband.spec:1.3 packages/rubberband/rubberband.spec:1.4
--- packages/rubberband/rubberband.spec:1.3	Tue Feb  9 22:10:37 2010
+++ packages/rubberband/rubberband.spec	Sat Feb 27 21:56:43 2010
@@ -13,7 +13,9 @@
 URL:		http://www.breakfastquay.com/rubberband/
 BuildRequires:	fftw3-devel
 BuildRequires:	ladspa-devel
+BuildRequires:	libsamplerate-devel
 BuildRequires:	libsndfile-devel
+BuildRequires:	libstdc++-devel
 BuildRequires:	pkg-config
 BuildRequires:	vamp-devel
 Requires:	%{name}-libs = %{version}-%{release}
@@ -78,13 +80,20 @@
 
 %build
 %configure
-%{__make}
+%{__make} \
+	INSTALL_LIBDIR="%{_libdir}" \
+	INSTALL_VAMPDIR="%{_libdir}/vamp" \
+	INSTALL_LADSPADIR="%{_libdir}/ladspa"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	INSTALL_LIBDIR="%{_libdir}" \
+	INSTALL_VAMPDIR="%{_libdir}/vamp" \
+	INSTALL_LADSPADIR="%{_libdir}/ladspa" \
+	INSTALL_PKGDIR="%{_pkgconfigdir}"
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -95,7 +104,7 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG README.txt
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/rubberband
 
 %files libs
 %defattr(644,root,root,755)
@@ -104,24 +113,24 @@
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/librubberband.so
+%attr(755,root,root) %{_libdir}/librubberband.so
 %{_includedir}/%{name}
 %{_pkgconfigdir}/rubberband.pc
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/librubberband.a
 
 %files -n ladspa-rubberband-plugins
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/ladspa/ladspa-rubberband.so
 %{_libdir}/ladspa/ladspa-rubberband.cat
-%{_libdir}/ladspa/ladspa-rubberband.so
 %{_datadir}/ladspa/rdf/ladspa-rubberband.rdf
 
 %files -n vamp-plugins-rubberband
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/vamp/vamp-rubberband.so
 %{_libdir}/vamp/vamp-rubberband.cat
-%{_libdir}/vamp/vamp-rubberband.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -129,6 +138,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/02/27 20:56:43  sparky
+- BR: libsamplerate-devel, libstdc++-devel
+- fix build on 64 bits
+
 Revision 1.3  2010/02/09 21:10:37  sls
 - rm insane R: rubberband from rubberband-libs
 - rel. 0.2
@@ -138,4 +151,3 @@
 
 Revision 1.1  2010/02/09 20:01:55  sls
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rubberband/rubberband.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list