[packages/portaudio] noarch apidocs

glen glen at pld-linux.org
Sat Mar 28 14:55:15 CET 2015


commit 826e4f264bd8b8ec6eb3057ce9aea7a3522da3a0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 28 15:55:09 2015 +0200

    noarch apidocs

 portaudio.spec | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/portaudio.spec b/portaudio.spec
index d111b1c..c33a048 100644
--- a/portaudio.spec
+++ b/portaudio.spec
@@ -5,20 +5,21 @@
 %bcond_without	static_libs	# don't build static libraries
 %bcond_without	apidocs		# documentation generated with doxygen
 %bcond_without	asihpi		# ASI HPI support
-#
+
+%define	snap	20110326
+%define	rel		4
 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}.3
+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
 Patch0:		%{name}-ac.patch
 # http://audioscience.com/internet/download/drivers/released/v4/06/portaudio_asihpi_406.patch
-Patch1:		portaudio_asihpi_406.patch
+Patch1:		%{name}_asihpi_406.patch
 URL:		http://www.portaudio.com/
 BuildRequires:	alsa-lib-devel >= 0.9
 BuildRequires:	autoconf >= 2.13
@@ -75,14 +76,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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/portaudio.git/commitdiff/826e4f264bd8b8ec6eb3057ce9aea7a3522da3a0



More information about the pld-cvs-commit mailing list