From 9fd4432e466c8cf20a2f9f48506150de5484a227 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 26 Mar 2006 22:43:45 +0000 Subject: [PATCH] - merged from DEVEL Changed files: glib2.spec -> 1.122 --- glib2.spec | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/glib2.spec b/glib2.spec index 1bc530b..285803e 100644 --- a/glib2.spec +++ b/glib2.spec @@ -16,13 +16,13 @@ Summary(pt_BR): Conjunto de fun Summary(tr): Yararlý ufak yordamlar kitaplýðý Summary(zh_CN): ʵÓù¤¾ßº¯Êý¿â Name: glib2 -Version: 2.8.6 +Version: 2.10.1 Release: 1 Epoch: 1 License: LGPL Group: Libraries -Source0: ftp://ftp.gtk.org/pub/gtk/v2.8/glib-%{version}.tar.bz2 -# Source0-md5: fce6835fd8c99ab4c3e5213bc5bcd0ed +Source0: ftp://ftp.gtk.org/pub/gtk/v2.10/glib-%{version}.tar.bz2 +# Source0-md5: 51df7932da118f7f27bbda82b65f0f91 Patch0: %{name}-makefile.patch Patch1: %{name}-SEGV.patch URL: http://www.gtk.org/ @@ -96,7 +96,6 @@ Summary(pl): Pliki nag Summary(pt_BR): Conjunto de ferramentas e biblioteca do kit de desenho do GIMP Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: gtk-doc-common %description devel Header files for the support library for the GIMP's X libraries, which @@ -139,6 +138,18 @@ Biblioteki statyczne glib. %description static -l pt_BR Bibliotecas estáticas para desenvolvimento com glib. +%package apidocs +Summary: Glib API documetation +Summary(pl): Dokumentacja API Glib +Group: Documentation +Requires: gtk-doc-common + +%description apidocs +Glib API documetation. + +%description apidocs -l pl +Dokumentacja API Glib. + %prep %setup -q -n glib-%{version} %patch0 -p1 @@ -197,7 +208,6 @@ rm -rf $RPM_BUILD_ROOT %{_pkgconfigdir}/* %{_libdir}/glib-2.0 %{_includedir}/* -%{?with_apidocs:%{_gtkdocdir}/*} %{_aclocaldir}/* %{_mandir}/man?/* @@ -206,3 +216,9 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{_libdir}/lib*.a %endif + +%if %{with apidocs} +%files apidocs +%defattr(644,root,root,755) +%{_gtkdocdir}/* +%endif -- 2.44.0