From 82dd97484a35d582bb13a0cb4437e83c617d03c8 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 27 Oct 2006 03:47:12 +0000 Subject: [PATCH] - Add subpackage pygobject2-doc (bug #205231). --- pygobject2.spec | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/pygobject2.spec b/pygobject2.spec index f244adb..b760b48 100644 --- a/pygobject2.spec +++ b/pygobject2.spec @@ -4,7 +4,7 @@ Name: pygobject2 Version: 2.12.2 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPL Group: Development/Languages Summary: Python bindings for GObject @@ -32,6 +32,7 @@ for use in Python programs. Summary: Development files for building add-on libraries Group: Development/Languages Requires: pygobject2 = %{version} +Requires: pygobject2-doc = %{version}-%{release} Requires: glib2-devel Requires: pkgconfig @@ -39,10 +40,18 @@ Requires: pkgconfig This package contains files required to build wrappers for pygobject2-based libraries such as pygtk2. +%package doc +Summary: Documentation files for pygobject2 +Group: Development/Languages + +%description doc +This package contains documentation files for pygobject2. + %prep %setup -q -n pygobject-%{version} %build +# --disable-docs doesn't work; it builds the docs anyway. %configure --enable-thread --disable-docs export tagname=CC make LIBTOOL=/usr/bin/libtool @@ -72,13 +81,20 @@ rm -fr $RPM_BUILD_ROOT %files devel %defattr(644, root, root, 755) +%dir %{_datadir}/pygobject %dir %{_includedir}/pygtk-2.0 %{_includedir}/pygtk-2.0/pygobject.h %{_libdir}/pkgconfig/pygobject-2.0.pc + +%files doc +%defattr(644, root, root, 755) %{_datadir}/gtk-doc/html/pygobject -%{_datadir}/pygobject +%{_datadir}/pygobject/xsl %changelog +* Thu Oct 26 2006 Matthew Barnes - 2.12.2-3.fc7 +- Add subpackage pygobject2-doc (bug #205231). + * Tue Oct 24 2006 Matthew Barnes - 2.12.2-2.fc7 - Use python_sitearch instead of python_sitelib.