split of a devel-docs noarch subpackage

This commit is contained in:
Matthias Clasen 2009-02-15 02:45:00 +00:00
parent 82c2195962
commit 68991c1919
1 changed files with 28 additions and 12 deletions

View File

@ -16,7 +16,7 @@
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
Name: gtk2 Name: gtk2
Version: %{base_version} Version: %{base_version}
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://download.gnome.org/sources/gtk+/2.15/gtk+-%{version}.tar.bz2 Source: http://download.gnome.org/sources/gtk+/2.15/gtk+-%{version}.tar.bz2
@ -110,16 +110,26 @@ Requires: libpng-devel
Requires: pkgconfig Requires: pkgconfig
# for /usr/share/aclocal # for /usr/share/aclocal
Requires: automake Requires: automake
# for /usr/share/gtk-doc/html
Requires: gtk-doc
Provides: gail-devel = %{version}-%{release} Provides: gail-devel = %{version}-%{release}
Obsoletes: gail-devel < 2.13.0-1 Obsoletes: gail-devel < 2.13.0-1
%description devel %description devel
This package contains the libraries, header files and developer This package contains the libraries amd header files that are needed
documentation that are needed for writing applications with the for writing applications with the GTK+ widget toolkit. If you plan
GTK+ widget toolkit. to develop applications with GTK+, consider installing the gtk2-devel-docs
package.
%package devel-docs
Summary: Developer documentation for GTK+
Group: Development/Libraries
Requires: gtk2 = %{version}-%{release}
# for /usr/share/gtk-doc/html
Requires: gtk-doc
BuildArch: noarch
%description devel-docs
This package contains developer documentation for the GTK+ widget toolkit.
%prep %prep
%setup -q -n gtk+-%{version} %setup -q -n gtk+-%{version}
@ -307,23 +317,29 @@ rm -rf $RPM_BUILD_ROOT
%files devel -f gtk20-properties.lang %files devel -f gtk20-properties.lang
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/gtk-2.0/include %{_libdir}/gtk-2.0/include
%{_datadir}/gtk-doc/html/*
%{_mandir}/man1/*
%{_includedir}/* %{_includedir}/*
%{_datadir}/aclocal/* %{_datadir}/aclocal/*
%{_bindir}/gdk-pixbuf-csource %{_bindir}/gdk-pixbuf-csource
%{_bindir}/gtk-builder-convert %{_bindir}/gtk-builder-convert
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%doc tmpdocs/tutorial
%doc tmpdocs/faq
%doc tmpdocs/examples
%{_bindir}/gtk-demo %{_bindir}/gtk-demo
%{_datadir}/gtk-2.0 %{_datadir}/gtk-2.0
%files devel-docs
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/*
%{_mandir}/man1/*
%doc tmpdocs/tutorial
%doc tmpdocs/faq
%doc tmpdocs/examples
%changelog %changelog
* Sat Feb 14 2009 Matthias Clasen <mclasen@redhat.com> - 2.15.3-3
- Split off a noarch devel-docs subpackage
* Fri Feb 6 2009 Matthias Clasen <mclasen@redhat.com> - 2.15.3-2 * Fri Feb 6 2009 Matthias Clasen <mclasen@redhat.com> - 2.15.3-2
- Fix PolicyKit-gnome's use of actions - Fix PolicyKit-gnome's use of actions