SPECS: libgsf.spec - added apidocs subpackage - release 2

megabajt megabajt at pld-linux.org
Fri Apr 27 20:00:39 CEST 2007


Author: megabajt                     Date: Fri Apr 27 18:00:39 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added apidocs subpackage
- release 2

---- Files affected:
SPECS:
   libgsf.spec (1.52 -> 1.53) 

---- Diffs:

================================================================
Index: SPECS/libgsf.spec
diff -u SPECS/libgsf.spec:1.52 SPECS/libgsf.spec:1.53
--- SPECS/libgsf.spec:1.52	Fri Apr 27 10:21:02 2007
+++ SPECS/libgsf.spec	Fri Apr 27 20:00:31 2007
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	Biblioteka plików strukturalnych dla GNOME
 Name:		libgsf
 Version:	1.14.3
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/gnome/sources/libgsf/1.14/%{name}-%{version}.tar.bz2
@@ -51,7 +51,6 @@
 Requires:	%{name} = %{version}-%{release}
 Requires:	bzip2-devel
 Requires:	glib2-devel >= 1:2.12.4
-Requires:	gtk-doc-common >= 1.7
 Requires:	libxml2-devel >= 1:2.6.26
 
 %description devel
@@ -74,6 +73,18 @@
 %description static -l pl.UTF-8
 Statyczne biblioteki libgsf.
 
+%package apidocs
+Summary:	libgsf API documentation
+Summary(pl.UTF-8):	Dokumentacja API libgsf
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+libgsf API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API libgsf.
+
 %package gnome
 Summary:	GNOME specific extensions to libgsf
 Summary(pl.UTF-8):	Rozszerzenia GNOME do biblioteki libgsf
@@ -164,7 +175,7 @@
 %{__automake}
 %configure \
 	%{?with_apidocs:--enable-gtk-doc} \
-	--with-html-dir=%{_gtkdocdir}/%{name} \
+	--with-html-dir=%{_gtkdocdir} \
 	%{!?with_gnome:--without-gnome}
 %{__make}
 
@@ -209,12 +220,17 @@
 %dir %{_includedir}/libgsf-1
 %{_includedir}/libgsf-1/gsf
 %{_pkgconfigdir}/libgsf-?.pc
-%{_gtkdocdir}/%{name}
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libgsf-?.a
 
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/gsf
+%endif
+
 %if %{with gnome}
 %files gnome
 %defattr(644,root,root,755)
@@ -257,6 +273,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.53  2007/04/27 18:00:31  megabajt
+- added apidocs subpackage
+- release 2
+
 Revision 1.52  2007/04/27 08:21:02  qboosh
 - CVE reference for 1.14.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libgsf.spec?r1=1.52&r2=1.53&f=u



More information about the pld-cvs-commit mailing list