- Add subpackage pygobject2-doc (bug #205231).

This commit is contained in:
Matthew Barnes 2006-10-27 03:47:12 +00:00
parent 8040d7ca99
commit 82dd97484a

View File

@ -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 <mbarnes@redhat.com> - 2.12.2-3.fc7
- Add subpackage pygobject2-doc (bug #205231).
* Tue Oct 24 2006 Matthew Barnes <mbarnes@redhat.com> - 2.12.2-2.fc7
- Use python_sitearch instead of python_sitelib.