]> git.pld-linux.org Git - packages/portaudio.git/blobdiff - portaudio.spec
- updated to v19 20161030 snap (tagged 190600)
[packages/portaudio.git] / portaudio.spec
index 475ca02adc502df5ac16f627e9a41cc48d1748bb..df7d38053b5077d96698d2d2988acf4ec51fe00c 100644 (file)
@@ -1,24 +1,21 @@
 #
-# TODO: portaudio_asihpi_406.patch is broken
-#
 # Conditional build:
 %bcond_without static_libs     # don't build static libraries
 %bcond_without apidocs         # documentation generated with doxygen
 %bcond_without asihpi          # ASI HPI support
-#
+
+%define        snap    20161030
+%define        rel     1
 Summary:       Free, cross platform, open-source, audio I/O library
 Summary(pl.UTF-8):     Darmowa, międzyplatformowa i otwarta biblioteka I/O audio
 Name:          portaudio
 Version:       19
-%define        snap    20110326
-Release:       1.%{snap}.2
+Release:       1.%{snap}.%{rel}
 License:       MIT-like (see LICENSE.txt)
 Group:         Libraries
-Source0:       http://www.portaudio.com/archives/pa_stable_v%{version}_%{snap}.tgz
-# Source0-md5: 8f266ce03638419ef46e4efcb0fabde6
+Source0:       http://www.portaudio.com/archives/pa_stable_v%{version}0600_%{snap}.tgz
+# Source0-md5: 4df8224e047529ca9ad42f0521bf81a8
 Patch0:                %{name}-ac.patch
-# http://audioscience.com/internet/download/drivers/released/v4/06/portaudio_asihpi_406.patch
-Patch1:                portaudio_asihpi_406.patch
 URL:           http://www.portaudio.com/
 BuildRequires: alsa-lib-devel >= 0.9
 BuildRequires: autoconf >= 2.13
@@ -75,14 +72,17 @@ Statyczna biblioteka PortAudio.
 Summary:       portaudio API documentation
 Summary(pl.UTF-8):     Documentacja API portaudio
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
-Documentation for portaudio API in HTML format generated from portaudio
-sources by doxygen.
+Documentation for portaudio API in HTML format generated from
+portaudio sources by doxygen.
 
 %description apidocs -l pl.UTF-8
-Dokumentacja API portaudio w formacie HTML generowane ze
-źrodeł portaudio przez doxygen.
+Dokumentacja API portaudio w formacie HTML generowane ze źrodeł
+portaudio przez doxygen.
 
 %package c++
 Summary:       C++ binding for PortAudio library
@@ -125,8 +125,6 @@ Statyczna biblioteka wiązania C++ do biblioteki PortAudio.
 %prep
 %setup -q -n %{name}
 %patch0 -p1
-%undos src/hostapi/asihpi/pa_linux_asihpi.c
-%patch1 -p0
 
 %build
 cp -f /usr/share/automake/config.sub .
@@ -143,7 +141,7 @@ cd ../..
        --enable-static%{!?with_static_libs:=no} \
        %{!?with_asihpi:--without-asihpi}
 
-%{__make}
+%{__make} -j1
 %{?with_apidocs:/usr/bin/doxygen}
 
 %install
This page took 0.064664 seconds and 4 git commands to generate.