packages: alsa-lib/alsa-lib.spec - apidocs subpackage; rel 2

glen glen at pld-linux.org
Sun May 9 12:28:03 CEST 2010


Author: glen                         Date: Sun May  9 10:28:02 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- apidocs subpackage; rel 2

---- Files affected:
packages/alsa-lib:
   alsa-lib.spec (1.152 -> 1.153) 

---- Diffs:

================================================================
Index: packages/alsa-lib/alsa-lib.spec
diff -u packages/alsa-lib/alsa-lib.spec:1.152 packages/alsa-lib/alsa-lib.spec:1.153
--- packages/alsa-lib/alsa-lib.spec:1.152	Sun Apr 25 16:01:31 2010
+++ packages/alsa-lib/alsa-lib.spec	Sun May  9 12:27:57 2010
@@ -2,9 +2,10 @@
 #
 # Conditional build:
 %bcond_without	static_libs	# don't build static library
+%bcond_without	apidocs		# do not build and package API docs
 %bcond_without	python		# smixer-python binding
 %bcond_with	resmgr		# Resource Manager support
-#
+
 Summary:	Advanced Linux Sound Architecture (ALSA) - Library
 Summary(es.UTF-8):	Advanced Linux Sound Architecture (ALSA) - Biblioteca
 Summary(pl.UTF-8):	Advanced Linux Sound Architecture (ALSA) - Biblioteka
@@ -13,7 +14,7 @@
 Summary(uk.UTF-8):	Бібліотека API для роботи з драйвером ALSA
 Name:		alsa-lib
 Version:	1.0.23
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
@@ -162,6 +163,17 @@
 %description static -l uk.UTF-8
 Статична бібліотека API для роботи з драйвером ALSA.
 
+%package apidocs
+Summary:	ALSA Library API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki ALSA Library
+Group:		Documentation
+
+%description apidocs
+API and internal documentation for ALSA Library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki ALSA Library.
+
 %package smixer-python
 Summary:	Python binding module for ALSA Mixer Interface
 Summary(pl.UTF-8):	Moduł wiązania Pythona dla interfejsu miksera architektury ALSA
@@ -190,19 +202,18 @@
 	%{!?with_static_libs:--disable-static}
 
 %{__make}
-%{__make} doc
+%{?with_apidocs:%{__make} doc}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT/etc/{alsa,modprobe.d}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/alsa,/etc/modprobe.d}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -D utils/alsa.m4 $RPM_BUILD_ROOT%{_aclocaldir}/alsa.m4
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/modprobe.d/alsa-base.conf
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/asound.conf
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/asound.conf
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/alsa-lib/smixer/*.{a,la}
 
@@ -226,11 +237,10 @@
 %{_datadir}/alsa
 %dir %{_sysconfdir}/alsa
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asound.conf
-%attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/alsa-base.conf
+%config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/alsa-base.conf
 
 %files devel
 %defattr(644,root,root,755)
-%doc doc/doxygen/html/*
 %attr(755,root,root) %{_libdir}/libasound.so
 %{_libdir}/libasound.la
 %{_includedir}/sys/asoundlib.h
@@ -244,6 +254,12 @@
 %{_libdir}/libasound.a
 %endif
 
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/doxygen/html/*
+%endif
+
 %if %{with python}
 %files smixer-python
 %defattr(644,root,root,755)
@@ -256,6 +272,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.153  2010/05/09 10:27:57  glen
+- apidocs subpackage; rel 2
+
 Revision 1.152  2010/04/25 14:01:31  sls
 - ver. 1.0.23
 
@@ -794,12 +813,3 @@
 Revision 1.3  1999/08/19 12:31:40  wiget
 - cut changelog
 
-* Thu Aug 19 1999 PLD Team <feedback at pld-linux.org>
-  [0.4.0-2]
-- based on alsa-driver.spec, alsa-lib.spec and alsa-utils.spec
-  made by:
-  Arkadiusz Miśkiewicz <misiek at pld.org.pl>
-  Piotr Czerwiński <pius at pld.org.pl>
-  Tomasz Kłoczko <kloczek at rudy.mif.pg.gda.pl>
-  Jan Rękojański <baggins at pld.org.pl>
-  Artur Frysiak <wiget at pld.org.pl>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/alsa-lib/alsa-lib.spec?r1=1.152&r2=1.153&f=u



More information about the pld-cvs-commit mailing list