rpms/glibmm24/F-9 glibmm.spec,1.40,1.41

Denis Leroy denis at fedoraproject.org
Sat Nov 1 13:16:40 UTC 2008


Author: denis

Update of /cvs/pkgs/rpms/glibmm24/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4794

Modified Files:
	glibmm.spec 
Log Message:
Split documentation into own subpackage, restore devhelp page (#465416)


Index: glibmm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glibmm24/F-9/glibmm.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- glibmm.spec	23 Jul 2008 07:49:27 -0000	1.40
+++ glibmm.spec	1 Nov 2008 13:16:09 -0000	1.41
@@ -1,6 +1,6 @@
 Name:           glibmm24
 Version:        2.16.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        C++ interface for GTK2 (a GUI library for X)
 
 Group:          System Environment/Libraries
@@ -14,10 +14,11 @@
 
 
 %description
-gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps GTK+ 2.
-Highlights include typesafe callbacks, widgets extensible via inheritance
-and a comprehensive set of widget classes that can be freely combined to
-quickly create complex user interfaces.
+glibmm provides a C++ interface to the GTK+ GLib low-level core
+library. Highlights include typesafe callbacks, widgets extensible via
+inheritance and a comprehensive set of widget classes that can be
+freely combined to quickly create complex user interfaces.
+
 
 %package devel
 Summary:        Headers for developing programs that will use %{name}
@@ -28,7 +29,16 @@
 
 %description devel
 This package contains the static libraries and header files needed for
-developing gtkmm applications.
+developing glibmm applications.
+
+
+%package        doc
+Summary:        Documentation for %{name}, includes full API docs
+Group:          Documentation
+
+
+%description    doc
+This package contains the full API documentation for %{name}.
 
 
 %prep
@@ -36,7 +46,7 @@
 
 
 %build
-%configure --disable-fulldocs %{!?_with_static: --disable-static}
+%configure %{!?_with_static: --disable-static}
 make %{?_smp_mflags}
 
 
@@ -50,6 +60,8 @@
 # Fix documentation installation, put everything under gtk-doc
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/glibmm-2.4
 %{__mv} ${RPM_BUILD_ROOT}%{_docdir}/glibmm-2.4/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/glibmm-2.4/
+%{__mv} ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/glibmm-2.4/*.devhelp $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/glibmm-2.4/
+sed -i 's:../../../doc/glibmm-2.4/docs/:docs/:' ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/glibmm-2.4/*.devhelp
 rm -fr $RPM_BUILD_ROOT%{_datadir}/devhelp/books/glibmm-2.4
 
 
@@ -79,10 +91,17 @@
 %{_libdir}/giomm-2.4
 %{_libdir}/pkgconfig/*.pc
 %{_datadir}/aclocal/*.m4
+
+
+%files doc
+%defattr(-, root, root, -)
 %doc %{_datadir}/gtk-doc/html/glibmm-2.4
 
 
 %changelog
+* Sat Nov  1 2008 Denis Leroy <denis at poolshark.org> - 2.16.4-2
+- Split documentation into own subpackage, restore devhelp page (#465416)
+
 * Wed Jul 23 2008 Denis Leroy <denis at poolshark.org> - 2.16.4-1
 - Update to upstream 2.16.4
 




More information about the fedora-extras-commits mailing list