SPECS: gstreamer-gnonlin.spec - updated to 0.10.10 - added apidoc subpackage

wiget wiget at pld-linux.org
Tue Nov 11 12:18:40 CET 2008


Author: wiget                        Date: Tue Nov 11 11:18:40 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.10.10
- added apidoc subpackage

---- Files affected:
SPECS:
   gstreamer-gnonlin.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/gstreamer-gnonlin.spec
diff -u SPECS/gstreamer-gnonlin.spec:1.7 SPECS/gstreamer-gnonlin.spec:1.8
--- SPECS/gstreamer-gnonlin.spec:1.7	Thu Aug 30 21:35:03 2007
+++ SPECS/gstreamer-gnonlin.spec	Tue Nov 11 12:18:34 2008
@@ -2,18 +2,22 @@
 %define		gst_major_ver	0.10
 %define		gst_req_ver	0.10.9
 %define		gstpb_req_ver	0.10.4
+# Conditional build:
+%bcond_without	apidocs		# disable gtk-doc
+#
 Summary:	GStreamer extension library for non-linear editing
 Summary(pl.UTF-8):	Biblioteka rozszerzenia GStreamera do edycji nieliniowej
 Name:		gstreamer-gnonlin
-Version:	0.10.9
+Version:	0.10.10
 Release:	1
 License:	LGPL v2+
 Group:		Applications/Multimedia
 Source0:	http://gstreamer.freedesktop.org/src/gnonlin/gnonlin-%{version}.tar.bz2
-# Source0-md5:	533499036be6a8e57db2bcf830d87923
+# Source0-md5:	6478f6f1f99a734d2ee61eab2c77e3e1
 URL:		http://gnonlin.sourceforge.net/
 BuildRequires:	gstreamer-devel >= %{gst_req_ver}
 BuildRequires:	gstreamer-plugins-base-devel >= %{gstpb_req_ver}
+%{?with_apidocs:BuildRequires:	gtk-doc >= 1.8}
 Requires:	gstreamer >= %{gst_req_ver}
 Requires:	gstreamer-plugins-base >= %{gstpb_req_ver}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,12 +31,26 @@
 Gnonlin to wtyczka dla GStreamera pozwalająca na pisanie aplikacji do
 nieliniowej edycji dźwięku i obrazu. Wprowadza pojęcia "linii czasu".
 
+%package apidocs
+Summary:	Gnonlin API documentation
+Summary(pl.UTF-8):	Dokumentacja API Gnonlin
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+Gnonlin API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API Gnonlin.
+
 %prep
 %setup -q -n gnonlin-%{version}
 
 %build
 %configure \
-	--disable-static
+	--disable-static \
+	--%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
+	--with-html-dir=%{_gtkdocdir}
 
 %{__make}
 
@@ -52,12 +70,21 @@
 %doc AUTHORS ChangeLog NEWS README RELEASE
 %attr(755,root,root) %{_libdir}/gstreamer-%{gst_major_ver}/libgnl.so
 
+%if %{with apidocs}
+%files apidocs
+%{_gtkdocdir}/gnonlin-0.10
+%endif
+
 %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.8  2008/11/11 11:18:34  wiget
+- updated to 0.10.10
+- added apidoc subpackage
+
 Revision 1.7  2007/08/30 19:35:03  qboosh
 - updated to 0.10.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gstreamer-gnonlin.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list