SPECS: gtk+2.spec - apidocs, examples subpkgs, rel.2 for rebuild w...

freetz freetz at pld-linux.org
Wed Jan 18 16:52:49 CET 2006


Author: freetz                       Date: Wed Jan 18 15:52:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- apidocs, examples subpkgs, rel.2 for rebuild with glib 2.9.3

---- Files affected:
SPECS:
   gtk+2.spec (1.196 -> 1.197) 

---- Diffs:

================================================================
Index: SPECS/gtk+2.spec
diff -u SPECS/gtk+2.spec:1.196 SPECS/gtk+2.spec:1.197
--- SPECS/gtk+2.spec:1.196	Sun Jan 15 10:31:41 2006
+++ SPECS/gtk+2.spec	Wed Jan 18 16:52:44 2006
@@ -15,7 +15,7 @@
 Summary(tr):	Gimp ToolKit arayüz kitaplýđý
 Name:		gtk+2
 Version:	2.8.10
-Release:	1
+Release:	2
 Epoch:		2
 License:	LGPL
 Group:		X11/Libraries
@@ -144,6 +144,30 @@
 %description static -l pl
 Biblioteki statyczne GTK+
 
+%package apidocs
+Summary:	GTK+ API documentation
+Summary(pl):	Dokumentacja API GTK+
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+GTK+ API documentation.
+
+%description apidocs -l pl
+Dokumentacja API GTK+.
+
+%package examples
+Summary:	GTK+ - example programs                                                                                  
+Summary(pl):	GTK+ - programy przykładowe                                                                              
+Group:		X11/Development/Libraries                                                                               
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description examples
+GTK+ - example programs.
+
+%description examples -l pl
+GTK+ - przykładowe programy.
+
 %prep
 %setup -q -n gtk+-%{version}
 %patch0 -p1
@@ -166,7 +190,7 @@
 	--%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
 	--with-gdktarget=x11 \
 	%{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
-	--with-xinput=yes 
+	--with-xinput=yes
 %{__make}
 
 %install
@@ -264,8 +288,6 @@
 %{_libdir}/gtk-*/include
 %{_pkgconfigdir}/*.pc
 %{_mandir}/man1/*
-%{?with_apidocs:%{_gtkdocdir}/*}
-%{_examplesdir}/%{name}-%{version}
 
 %if %{with static_libs}
 %files static
@@ -273,12 +295,25 @@
 %{_libdir}/lib*.a
 %endif
 
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/*
+%endif
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.197  2006/01/18 15:52:44  freetz
+- apidocs, examples subpkgs, rel.2 for rebuild with glib 2.9.3
+
 Revision 1.196  2006/01/15 09:31:41  freetz
 - 2.8.10, BR/R glib-2.8.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gtk+2.spec?r1=1.196&r2=1.197&f=u



More information about the pld-cvs-commit mailing list