rpms/glibmm24/devel glibmm.spec,1.45,1.46
Denis Leroy
denis at fedoraproject.org
Sun Oct 12 10:37:00 UTC 2008
Author: denis
Update of /cvs/pkgs/rpms/glibmm24/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10593
Modified Files:
glibmm.spec
Log Message:
Split documentation in new doc sub-package, fixes doc links
Index: glibmm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glibmm24/devel/glibmm.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- glibmm.spec 5 Oct 2008 11:21:14 -0000 1.45
+++ glibmm.spec 12 Oct 2008 10:36:30 -0000 1.46
@@ -1,6 +1,6 @@
Name: glibmm24
Version: 2.18.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: C++ interface for GTK2 (a GUI library for X)
Group: System Environment/Libraries
@@ -16,10 +16,10 @@
%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}
@@ -30,15 +30,26 @@
%description devel
This package contains the static libraries and header files needed for
-developing gtkmm applications.
+developing glibmm applications.
+
+
+%package docs
+Summary: Documentation for %{name}, includes full API docs
+Group: Documentation
+Requires: %{name}-devel = %{version}-%{release}
+
+
+%description docs
+This package contains the full API documentation for %{name}.
%prep
%setup -q -n glibmm-%{version}
%patch1 -p1 -b .gio-header
+
%build
-%configure --disable-fulldocs %{!?_with_static: --disable-static}
+%configure %{!?_with_static: --disable-static}
make %{?_smp_mflags}
@@ -52,6 +63,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
@@ -81,10 +94,17 @@
%{_libdir}/giomm-2.4
%{_libdir}/pkgconfig/*.pc
%{_datadir}/aclocal/*.m4
+
+
+%files docs
+%defattr(-, root, root, -)
%doc %{_datadir}/gtk-doc/html/glibmm-2.4
%changelog
+* Sat Oct 11 2008 Denis Leroy <denis at poolshark.org> - 2.18.0-4
+- Split documentation in new doc sub-package
+
* Sun Oct 05 2008 Adel Gadllah <adel.gadllah at gmail.com> - 2.18.0-3
- Patch error.h directly rather than error.hg
More information about the scm-commits
mailing list