]> git.pld-linux.org Git - packages/cdparanoia-III.git/blobdiff - cdparanoia-III.spec
- x32 rebuild
[packages/cdparanoia-III.git] / cdparanoia-III.spec
index 1386664b23432fef27a9948d7475df2637c9e7ea..1478abf0db9b3f618ecaaad3f1986f70ebdac7c9 100644 (file)
@@ -6,7 +6,7 @@ Summary(ru.UTF-8):      Утилита для копирования цифровых
 Summary(uk.UTF-8):     Утиліта для копіювання цифрових аудіо-CD
 Name:          cdparanoia-III
 Version:       10.2
-Release:       1.1
+Release:       6
 Epoch:         2
 License:       LGPL v2 (libraries), GPL v2 (utility)
 Group:         Applications/Sound
@@ -14,6 +14,8 @@ Source0:      http://downloads.xiph.org/releases/cdparanoia/%{name}-%{version}.src.tg
 # Source0-md5: b304bbe8ab63373924a744eac9ebc652
 Patch0:                %{name}-acfix.patch
 Patch1:                %{name}-gcc43.patch
+Patch2:                %{name}-buffer.patch
+Patch3:                %{name}-fpic.patch
 URL:           http://www.xiph.org/paranoia/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -125,6 +127,8 @@ Bibliotecas estáticas do cdparanoia.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p0
+%patch3 -p1
 
 %build
 # bleh? look at the beginning of configure.in
@@ -133,7 +137,7 @@ cp -f %{_datadir}/automake/config.sub configure.sub
 %{__aclocal}
 %{__autoconf}
 %configure
-%{__make}
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -147,6 +151,9 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}/man1,%{_includedir}}
 
 install -D cdparanoia.1.jp $RPM_BUILD_ROOT%{_mandir}/ja/man1/cdparanoia.1
 
+# fc compat
+ln -s . $RPM_BUILD_ROOT%{_includedir}/cdda
+
 # for rpm autodeps
 chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*so.*
 
@@ -174,6 +181,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libcdda_interface.so
 %attr(755,root,root) %{_libdir}/libcdda_paranoia.so
+%dir %{_includedir}/cdda
 %{_includedir}/cdda_interface.h
 %{_includedir}/cdda_paranoia.h
 %{_includedir}/utils.h
This page took 0.039886 seconds and 4 git commands to generate.