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

megabajt megabajt at pld-linux.org
Thu May 24 21:38:59 CEST 2007


Author: megabajt                     Date: Thu May 24 19:38:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added apidocs bcond and subpackage
- release 2

---- Files affected:
SPECS:
   gstreamer-plugins-good.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/gstreamer-plugins-good.spec
diff -u SPECS/gstreamer-plugins-good.spec:1.20 SPECS/gstreamer-plugins-good.spec:1.21
--- SPECS/gstreamer-plugins-good.spec:1.20	Tue Feb 13 08:16:47 2007
+++ SPECS/gstreamer-plugins-good.spec	Thu May 24 21:38:54 2007
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	aalib		# don't build aa videosink plugin
+%bcond_without	apidocs		# disable gtk-doc
 %bcond_without	caca		# don't build caca videosink plugin
 %bcond_without	cairo		# don't build cairo plugin
 %bcond_without	cdio		# don't build cdio plugin
@@ -18,7 +19,7 @@
 Summary(pl.UTF-8):	Dobre wtyczki do środowiska obróbki strumieni GStreamer
 Name:		gstreamer-plugins-good
 Version:	0.10.5
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 Source0:	http://gstreamer.freedesktop.org/src/gst-plugins-good/%{gstname}-%{version}.tar.bz2
@@ -32,7 +33,7 @@
 BuildRequires:	glib2-devel >= 1:2.12.1
 BuildRequires:	gstreamer-devel >= %{gst_req_ver}
 BuildRequires:	gstreamer-plugins-base-devel >= %{gstpb_req_ver}
-BuildRequires:	gtk-doc >= 1.7
+%{?with_apidocs:BuildRequires:	gtk-doc >= 1.7}
 BuildRequires:	gtk+2-devel >= 2:2.10.1
 BuildRequires:	liboil-devel >= 0.3.6
 BuildRequires:	libtool >= 1.4
@@ -101,6 +102,19 @@
 mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie
 nowych typów danych lub możliwości obróbki.
 
+%package apidocs
+Summary:	Good GStreamer streaming-media framework plugins API documentation
+Summary(pl.UTF-8):	Dokumentacja API dobrych wtyczek środowiska obróbki strumieni GStreamer
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+Good GStreamer streaming-media framework plugins API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API dobrych wtyczek środowiska obróbki strumieni
+GStreamer.
+
 %package -n gstreamer-GConf
 Summary:	GStreamer GConf schemas
 Summary(pl.UTF-8):	Schematy GConf GStreamera
@@ -423,7 +437,7 @@
 	%{?with_ladspa:--enable-ladspa} \
 	%{!?with_speex:--disable-speex} \
 	--disable-static \
-	--enable-gtk-doc \
+	--%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
 	--with-html-dir=%{_gtkdocdir}
 
 %{__make}
@@ -473,7 +487,12 @@
 %attr(755,root,root) %{gstlibdir}/libgstvideobalance.so
 %attr(755,root,root) %{gstlibdir}/libgstvideobox.so
 %attr(755,root,root) %{gstlibdir}/libgstvideomixer.so
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
 %{_gtkdocdir}/gst-plugins-good-plugins-*
+%endif
 
 %if %{with gconf}
 %files -n gstreamer-GConf
@@ -597,6 +616,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2007/05/24 19:38:54  megabajt
+- added apidocs bcond and subpackage
+- release 2
+
 Revision 1.20  2007/02/13 07:16:47  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gstreamer-plugins-good.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list