SPECS: gstreamer-plugins-base.spec - added apidocs bcond and subpa...

megabajt megabajt at pld-linux.org
Wed May 23 14:03:58 CEST 2007


Author: megabajt                     Date: Wed May 23 12:03:58 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added apidocs bcond and subpackage
- release 2

---- Files affected:
SPECS:
   gstreamer-plugins-base.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/gstreamer-plugins-base.spec
diff -u SPECS/gstreamer-plugins-base.spec:1.38 SPECS/gstreamer-plugins-base.spec:1.39
--- SPECS/gstreamer-plugins-base.spec:1.38	Sun Mar 18 16:13:32 2007
+++ SPECS/gstreamer-plugins-base.spec	Wed May 23 14:03:53 2007
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without	apidocs		# disable gtk-doc
 %bcond_without	gnomevfs	# don't build gnome-vfs plugin
 %bcond_without	libvisual	# don't build libvisual plugin
 #
@@ -12,7 +13,7 @@
 Summary(pl.UTF-8):	Podstawowe wtyczki do środowiska obróbki strumieni GStreamer
 Name:		gstreamer-plugins-base
 Version:	0.10.12
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 Source0:	http://gstreamer.freedesktop.org/src/gst-plugins-base/%{gstname}-%{version}.tar.bz2
@@ -24,7 +25,7 @@
 BuildRequires:	glib2-devel >= 1:2.12.0
 BuildRequires:	gstreamer-devel >= %{gst_req_ver}
 BuildRequires:	gtk+2-devel >= 2:2.10.0
-BuildRequires:	gtk-doc >= 1.6
+%{?with_apidocs:BuildRequires:	gtk-doc >= 1.6}
 BuildRequires:	liboil-devel >= 1:0.3.8
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
@@ -122,6 +123,18 @@
 %description devel -l pl.UTF-8
 Pliki nagłówkowe do wtyczek środowiska obróbki strumieni GStreamer.
 
+%package apidocs
+Summary:	GStreamer streaming-media framework plugins API documentation
+Summary(pl.UTF-8):	Dokumentacja API wtyczek środowiska obróbki strumieni GStreamer
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+GStreamer streaming-media framework plugins API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API wtyczek środowiska obróbki strumieni GStreamer.
+
 ##
 ## Plugins
 ##
@@ -273,7 +286,7 @@
 	%{!?with_gnomevfs:--disable-gnome_vfs} \
 	%{!?with_libvisual:--disable-libvisual} \
 	--disable-static \
-	--enable-gtk-doc \
+	--%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
 	--with-html-dir=%{_gtkdocdir}
 
 %{__make}
@@ -357,8 +370,13 @@
 %{gstincludedir}/gst/tag
 %{gstincludedir}/gst/video
 %{_pkgconfigdir}/gstreamer-plugins-base-*.pc
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
 %{_gtkdocdir}/gst-plugins-base-libs-*
 %{_gtkdocdir}/gst-plugins-base-plugins-*
+%endif
 
 ##
 ## Plugins
@@ -417,6 +435,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2007/05/23 12:03:53  megabajt
+- added apidocs bcond and subpackage
+- release 2
+
 Revision 1.38  2007/03/18 15:13:32  qboosh
 - updated to 0.10.12
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gstreamer-plugins-base.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list