packages: libxcb/libxcb.spec - apidocs to subpackage

glen glen at pld-linux.org
Sat Dec 26 22:15:40 CET 2009


Author: glen                         Date: Sat Dec 26 21:15:40 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- apidocs to subpackage

---- Files affected:
packages/libxcb:
   libxcb.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: packages/libxcb/libxcb.spec
diff -u packages/libxcb/libxcb.spec:1.36 packages/libxcb/libxcb.spec:1.37
--- packages/libxcb/libxcb.spec:1.36	Thu Dec  3 21:48:48 2009
+++ packages/libxcb/libxcb.spec	Sat Dec 26 22:15:35 2009
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
 %bcond_without	graphviz	# do not require graphviz in doc regeneration
 #
 Summary:	X protocol C-language Binding library
@@ -96,6 +97,17 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka XCB.
 
+%package apidocs
+Summary:	XCB library API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki XCB
+Group:		Documentation
+
+%description apidocs
+API and internal documentation for XCB library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki XCB.
+
 %prep
 %setup -q
 %if %{without graphviz}
@@ -133,7 +145,7 @@
 
 %files devel
 %defattr(644,root,root,755)
-%doc doc/{manual,tutorial}
+%doc doc/tutorial
 %attr(755,root,root) %{_libdir}/libxcb*.so
 %{_libdir}/libxcb*.la
 %{_includedir}/xcb
@@ -143,12 +155,21 @@
 %defattr(644,root,root,755)
 %{_libdir}/libxcb*.a
 
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/manual/*
+%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.37  2009/12/26 21:15:35  glen
+- apidocs to subpackage
+
 Revision 1.36  2009/12/03 20:48:48  arekm
 - up to 1.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libxcb/libxcb.spec?r1=1.36&r2=1.37&f=u



More information about the pld-cvs-commit mailing list