]> git.pld-linux.org Git - packages/rubberband.git/commitdiff
- BR: libsamplerate-devel, libstdc++-devel
authorsparky <sparky@pld-linux.org>
Sat, 27 Feb 2010 20:56:43 +0000 (20:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix build on 64 bits

Changed files:
    rubberband.spec -> 1.4

rubberband.spec

index 3c1e0d77f0d68dc29dddaa7d02322c6dceb645f1..ee0bbfee3d68bb297ec3b152c5a03ad1ff12efb6 100644 (file)
@@ -12,7 +12,9 @@ Source0:      http://www.breakfastquay.com/rubberband/files/%{name}-%{version}p1.tar.
 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}
@@ -77,13 +79,20 @@ rubberband vamp plugin.
 
 %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
@@ -94,7 +103,7 @@ rm -rf $RPM_BUILD_ROOT
 %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)
@@ -103,21 +112,21 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.812267 seconds and 4 git commands to generate.