packages: gcc/gcc.spec - libstdc++-apidocs subpackage

glen glen at pld-linux.org
Mon Oct 25 07:13:49 CEST 2010


Author: glen                         Date: Mon Oct 25 05:13:49 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- libstdc++-apidocs subpackage

---- Files affected:
packages/gcc:
   gcc.spec (1.637 -> 1.638) 

---- Diffs:

================================================================
Index: packages/gcc/gcc.spec
diff -u packages/gcc/gcc.spec:1.637 packages/gcc/gcc.spec:1.638
--- packages/gcc/gcc.spec:1.637	Sat Oct 16 16:07:56 2010
+++ packages/gcc/gcc.spec	Mon Oct 25 07:13:43 2010
@@ -23,6 +23,7 @@
 %bcond_without	alsa		# don't build libgcj ALSA MIDI interface
 %bcond_without	dssi		# don't build libgcj DSSI MIDI interface
 %bcond_without	gtk		# don't build libgcj GTK peer
+%bcond_without	apidocs		# do not build and package API docs
 %bcond_with	mozilla		# don't build libgcjwebplugin (needs fix for new xulrunner)
 %bcond_with	qt		# build libgcj Qt peer (currently doesn't build with libtool-2.x)
 %bcond_without	x		# don't build libgcj Xlib-dependent AWTs (incl. GTK/Qt)
@@ -781,6 +782,13 @@
 %description -n libstdc++-multilib-static -l pl.UTF-8
 Statyczna biblioteka standardowa C++ - wersja 32-bitowa.
 
+%package -n libstdc++-apidocs
+Summary:	C++ standard library API documentation
+Group:		Documentation
+
+%description apidocs
+API and internal documentation for C++ standard library.
+
 %package fortran
 Summary:	Fortran 95 support for gcc
 Summary(es.UTF-8):	Soporte de Fortran 95 para gcc
@@ -1919,7 +1927,6 @@
 
 %files -n libstdc++-devel
 %defattr(644,root,root,755)
-%doc libstdc++-v3/doc/html
 %attr(755,root,root) %{_libdir}/libstdc++.so
 %{_libdir}/libstdc++.la
 %dir %{_includedir}/c++
@@ -1936,6 +1943,12 @@
 %exclude %{_includedir}/c++/%{version}/sun
 %endif
 
+%if %{with apidocs}
+%files libstdc++-apidocs
+%defattr(644,root,root,755)
+%doc libstdc++-v3/doc/html
+%endif
+
 %if %{with multilib}
 %files -n libstdc++-multilib-devel
 %defattr(644,root,root,755)
@@ -2222,6 +2235,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.638  2010/10/25 05:13:43  glen
+- libstdc++-apidocs subpackage
+
 Revision 1.637  2010/10/16 14:07:56  pluto
 - do not check for unresolved symbols on mudflap hooks and java modules.
 - release 4.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc.spec?r1=1.637&r2=1.638&f=u



More information about the pld-cvs-commit mailing list