SPECS: template-lib.spec - apidocs

glen glen at pld-linux.org
Thu Oct 23 22:55:16 CEST 2008


Author: glen                         Date: Thu Oct 23 20:55:16 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- apidocs

---- Files affected:
SPECS:
   template-lib.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/template-lib.spec
diff -u SPECS/template-lib.spec:1.9 SPECS/template-lib.spec:1.10
--- SPECS/template-lib.spec:1.9	Sat Jul  5 18:06:33 2008
+++ SPECS/template-lib.spec	Thu Oct 23 22:55:11 2008
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
+#
 Summary:	-
 Summary(pl.UTF-8):	-
 Name:		-
@@ -48,6 +51,14 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka FOO.
 
+%package apidocs
+Summary:	FOO API documentation
+Summary(pl):	Dokumentacja API biblioteki FOO
+Group:		Documentation
+
+%description apidocs
+API and internal documentation for FOO library.
+
 %prep
 %setup -q
 #%patch0 -p1
@@ -97,12 +108,19 @@
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
 
+%files apidocs
+%defattr(644,root,root,755)
+%doc apidocs/*
+
 %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.10  2008/10/23 20:55:11  glen
+- apidocs
+
 Revision 1.9  2008/07/05 16:06:33  shadzik
 - don't attr() on symlinks
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/template-lib.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list