[packages/gstreamer-docs] - up to 1.20.1

qboosh qboosh at pld-linux.org
Sun Apr 17 09:40:52 CEST 2022


commit 857eab1ebb73cd2a1edd169067c3550a0cc91c39
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 17 09:41:02 2022 +0200

    - up to 1.20.1

 gstreamer-docs.spec | 33 ++++++++++++++-------------------
 1 file changed, 14 insertions(+), 19 deletions(-)
---
diff --git a/gstreamer-docs.spec b/gstreamer-docs.spec
index 5a2b1b8..c31adb3 100644
--- a/gstreamer-docs.spec
+++ b/gstreamer-docs.spec
@@ -1,21 +1,16 @@
+# NOTE: currently we are packaging individual parts as gstreamer-*-apidocs
 Summary:	GStreamer design documents collection
 Summary(pl.UTF-8):	Zbiór dokumentów projektowych GStreamera
 Name:		gstreamer-docs
-Version:	1.10
-%define	gitref	4c04cfda9f8c70b11eabce6b3ba2b187267a30c5
-%define	snap	20170429
-Release:	0.%{snap}.1
-License:	unknown
+Version:	1.20.1
+Release:	0.1
+License:	OPL v1.0, LGPL v2.1+, BSD, MIT, CC-BY-SA 4.0
 Group:		Documentation
-# git://anongit.freedesktop.org/gstreamer/gst-docs
-Source0:	https://github.com/GStreamer/gst-docs/archive/%{gitref}/gst-docs-%{snap}.tar.gz
-# Source0-md5:	13223c01c50c1f929f00962e71e4883e
-# submodule for HTML:
-#   path = theme/hotdoc_bootstrap_theme
-#   url = git at github.com:hotdoc/hotdoc_bootstrap_theme.git
+Source0:	https://gstreamer.freedesktop.org/src/gstreamer-docs/gstreamer-docs-%{version}.tar.xz
+# Source0-md5:	dbb54e36e0f882879fbfc94176734d27
 URL:		https://gstreamer.freedesktop.org/
-# for HTML
-#BuildRequires:	hotdoc
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,18 +24,18 @@ utrzymywanych w różnych miejscach i formatach, a teraz pogrupowanych i
 przekonwertowanych do formatu commonmark.
 
 %prep
-%setup -q -n gst-docs-%{gitref}
-
-%build
-# for HTML
-#%{__make}
+%setup -q
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/devhelp/books
+
+cp -pr devhelp/books/GStreamer $RPM_BUILD_ROOT%{_datadir}/devhelp/books
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README TODO.md examples images markdown plugins-introspection
+%doc COPYING LICENSE.BSD LICENSE.CC-BY-SA-4.0 LICENSE.MIT LICENSE.OPL README.md examples images markdown plugins-introspection
+%{_datadir}/devhelp/books/GStreamer
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-docs.git/commitdiff/857eab1ebb73cd2a1edd169067c3550a0cc91c39



More information about the pld-cvs-commit mailing list