SPECS: brltty.spec - new package brlapi-apidocs - moved documentat...

sls sls at pld-linux.org
Sat Jan 5 08:58:40 CET 2008


Author: sls                          Date: Sat Jan  5 07:58:40 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new package brlapi-apidocs
- moved documentation from brlapi to brlapi-devel package

---- Files affected:
SPECS:
   brltty.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/brltty.spec
diff -u SPECS/brltty.spec:1.16 SPECS/brltty.spec:1.17
--- SPECS/brltty.spec:1.16	Sat Jan  5 08:24:55 2008
+++ SPECS/brltty.spec	Sat Jan  5 08:58:34 2008
@@ -3,6 +3,9 @@
 #	- check BR
 #	- more packages (bindings)
 #
+# Conditional build:
+%bcond_without	apidocs		# documentation generated with doxygen
+#
 Summary:	Braille display driver for Linux/Unix
 Summary(pl.UTF-8):	Sterownik do wyświetlaczy Braille'a
 Name:		brltty
@@ -17,7 +20,7 @@
 BuildRequires:	automake
 BuildRequires:	bison
 #BuildRequires:	bluez-devel
-#BuildRequires:	doxygen
+%{?with_apidocs:BuildRequires:	doxygen}
 #BuildRequires:	libtool
 #BuildRequires:	gpm-devel
 #BuildRequires:	java-?
@@ -103,6 +106,19 @@
 %description -n brlapi-static -l pl.UTF-8
 Ten pakiet zawiera statyczną wersję biblioteki BrlAPI.
 
+%package -n brlapi-apidocs
+Summary:	BrlAPI documentation
+Summary(pl.UTF-8):	Documentacja BrlAPI
+Group:		Documentation
+
+%description -n brlapi-apidocs
+Documentation for BrlAPI in HTML format generated from brltty
+sources by doxygen.
+
+%description -n brlapi-apidocs -l pl.UTF-8
+Dokumentacja BrlAPI w formacie HTML generowane ze
+źrodeł brltty przez doxygen.
+
 %prep
 %setup -q
 
@@ -463,11 +479,11 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libbrlapi.so.0.5
 %attr(755,root,root) %{_libdir}/libbrlapi.so.0.5.1
-%doc Documents/Manual-BrlAPI/English/BrlAPI*
 
 %files -n brlapi-devel
 %defattr(644,root,root,755)
-%doc Documents/BrlAPIref Documents/README.Gnopernicus
+%doc Documents/README.Gnopernicus
+%doc Documents/Manual-BrlAPI/English/BrlAPI*
 %attr(755,root,root) %{_libdir}/libbrlapi.so
 %{_includedir}/brltty
 %{_includedir}/brlapi*.h
@@ -477,12 +493,20 @@
 %defattr(644,root,root,755)
 %{_libdir}/libbrlapi.a
 
+%files -n brlapi-apidocs
+%defattr(644,root,root,755)
+%doc Documents/BrlAPIref/html/*
+
 %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.17  2008-01-05 07:58:34  sls
+- new package brlapi-apidocs
+- moved documentation from brlapi to brlapi-devel package
+
 Revision 1.16  2008-01-05 07:24:55  sls
 - more verbose files
 - xbrlapi waits for xorg BR
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/brltty.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list