SPECS: portaudio.spec - create apidocs using doxygen (idea from Fe...
sls
sls at pld-linux.org
Tue Nov 27 02:32:54 CET 2007
Author: sls Date: Tue Nov 27 01:32:54 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- create apidocs using doxygen (idea from Fedora)
---- Files affected:
SPECS:
portaudio.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: SPECS/portaudio.spec
diff -u SPECS/portaudio.spec:1.18 SPECS/portaudio.spec:1.19
--- SPECS/portaudio.spec:1.18 Tue Feb 13 09:06:41 2007
+++ SPECS/portaudio.spec Tue Nov 27 02:32:49 2007
@@ -1,14 +1,15 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without static_libs # don't build static libraries
+%bcond_without static_libs # don't build static libraries
+%bcond_without apidocs # documentation generated with doxygen
#
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 061121
-Release: 1.20%{snap}.1
+Release: 1.20%{snap}.2
License: LGPL-like
Group: Libraries
Source0: http://www.portaudio.com/archives/pa_stable_v%{version}_%{snap}.tar.gz
@@ -18,6 +19,7 @@
BuildRequires: alsa-lib-devel >= 0.9
BuildRequires: autoconf >= 2.13
BuildRequires: automake
+%{?with_apidocs:BuildRequires: doxygen}
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,6 +62,19 @@
%description static -l pl.UTF-8
Statyczna biblioteka PortAudio.
+%package apidocs
+Summary: portaudio API documentation
+Summary(pl.UTF-8): Documentacja API portaudio
+Group: Documentation
+
+%description apidocs
+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.
+
%prep
%setup -q -n %{name}
%patch0 -p1
@@ -73,6 +88,7 @@
--enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}
%{__make}
+%{?with_apidocs:/usr/bin/doxygen}
%install
rm -rf $RPM_BUILD_ROOT
@@ -105,12 +121,21 @@
%{_libdir}/lib*.a
%endif
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/html/*
+%endif
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2007-11-27 01:32:49 sls
+- create apidocs using doxygen (idea from Fedora)
+
Revision 1.18 2007-02-13 08:06:41 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/portaudio.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list