- Add subpackage pygtk2-doc to avoid multilib conflicts.

This commit is contained in:
Matthew Barnes 2007-10-26 18:40:06 +00:00
parent 7ea558f21a
commit 08c2a23c5f

View File

@ -6,7 +6,7 @@
Name: pygtk2 Name: pygtk2
Version: 2.12.0 Version: 2.12.0
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Development/Languages Group: Development/Languages
Summary: Python bindings for GTK+ Summary: Python bindings for GTK+
@ -62,7 +62,7 @@ This package contains the C code generation program for PyGTK.
%package libglade %package libglade
Summary: A wrapper for the libglade library for use with PyGTK Summary: A wrapper for the libglade library for use with PyGTK
Group: Development/Languages Group: Development/Languages
Requires: pygtk2 = %{version} Requires: %{name} = %{version}-%{release}
%description libglade %description libglade
This module contains a wrapper for the libglade library. Libglade allows This module contains a wrapper for the libglade library. Libglade allows
@ -72,16 +72,24 @@ allows the programmer to keep the UI and program logic separate.
%package devel %package devel
Summary: Development files for building add-on libraries Summary: Development files for building add-on libraries
Group: Development/Languages Group: Development/Languages
Requires: pygtk2 = %{version} Requires: %{name} = %{version}-%{release}
Requires: pygtk2-codegen = %{version}-%{release} Requires: %{name}-codegen = %{version}-%{release}
Requires: %{name}-doc = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
Requires: pygobject2-devel
Requires: pycairo-devel Requires: pycairo-devel
Requires: pygobject2-devel
%description devel %description devel
This package contains files required to build wrappers for GTK+ add-on This package contains files required to build wrappers for GTK+ add-on
libraries so that they interoperate with pygtk. libraries so that they interoperate with pygtk.
%package doc
Summary: Documentation files for %{name}
Group: Development/Languages
%description doc
This package contains documentation files for %{name}.
%prep %prep
%setup -q -n pygtk-%{version} %setup -q -n pygtk-%{version}
%patch0 -p1 %patch0 -p1
@ -145,9 +153,15 @@ rm -fr $RPM_BUILD_ROOT
%dir %{_prefix}/share/pygtk/2.0/defs %dir %{_prefix}/share/pygtk/2.0/defs
%{_prefix}/share/pygtk/2.0/defs/*.defs %{_prefix}/share/pygtk/2.0/defs/*.defs
%{_prefix}/share/pygtk/2.0/defs/pangocairo.override %{_prefix}/share/pygtk/2.0/defs/pangocairo.override
%files doc
%defattr(644, root, root, 755)
%{_datadir}/gtk-doc/html/pygtk %{_datadir}/gtk-doc/html/pygtk
%changelog %changelog
* Fri Oct 26 2007 Matthew Barnes <mbarnes@redhat.com> - 2.12.0-3.fc8
- Add subpackage pygtk2-doc to avoid multilib conflicts.
* Fri Sep 21 2007 Jeremy Katz <katzj@redhat.com> - 2.12.0-2.fc8 * Fri Sep 21 2007 Jeremy Katz <katzj@redhat.com> - 2.12.0-2.fc8
- fix crash using TreeView.convert_widget_to_bin_window_coords - fix crash using TreeView.convert_widget_to_bin_window_coords