From d9303ece46071916ad069428b28592a651aec06b73a2a4678ff9c437f7791731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 1 Mar 2018 11:36:51 +0000 Subject: [PATCH] Accepting request 581656 from GNOME:Next - Modernize spec-file by calling spec-cleaner. - Drop filesystem PreRequires: this is simply nonsense. OBS-URL: https://build.opensuse.org/request/show/581656 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=106 --- gstreamer-plugins-base.changes | 6 ++++++ gstreamer-plugins-base.spec | 22 ++++------------------ 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/gstreamer-plugins-base.changes b/gstreamer-plugins-base.changes index 086727a..b72d2f4 100644 --- a/gstreamer-plugins-base.changes +++ b/gstreamer-plugins-base.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 28 16:31:40 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner. +- Drop filesystem PreRequires: this is simply nonsense. + ------------------------------------------------------------------- Sat Dec 23 01:11:56 UTC 2017 - zaitor@opensuse.org diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec index 9db044b..aa8b4a8 100644 --- a/gstreamer-plugins-base.spec +++ b/gstreamer-plugins-base.spec @@ -1,7 +1,7 @@ # # spec file for package gstreamer-plugins-base # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,21 +18,19 @@ %define _name gst-plugins-base %define gst_branch 1.0 - +%define gstreamer_plugins_base_req %(xzgrep --text "^GST[_A-Z]*_REQ" %{SOURCE0} | sort -u | sed 's/GST_REQ=/gstreamer >= /') Name: gstreamer-plugins-base Version: 1.12.4 Release: 0 Summary: GStreamer Streaming-Media Framework Plug-Ins License: LGPL-2.1+ AND GPL-2.0+ Group: Productivity/Multimedia/Other -Url: http://gstreamer.freedesktop.org/ +URL: http://gstreamer.freedesktop.org/ Source0: https://gstreamer.freedesktop.org/src/gst-plugins-base/%{_name}-%{version}.tar.xz Source1: gstreamer-plugins-base.appdata.xml Source2: baselibs.conf - # PATCH-FIX-UPSTREAM gst-pb-playbin3-fix-accessing-invalid-index.patch bgo#791638 zaitor@opensuse.org -- playbin3: Fix accessing invalid index in GstStream when received select-stream event Patch0: gst-pb-playbin3-fix-accessing-invalid-index.patch - BuildRequires: cdparanoia-devel BuildRequires: fdupes BuildRequires: glib2-devel >= 2.40.0 @@ -65,8 +63,6 @@ BuildRequires: pkgconfig(theoraenc) >= 1.1 BuildRequires: pkgconfig(vorbis) >= 1.0 BuildRequires: pkgconfig(vorbisenc) >= 1.0 BuildRequires: pkgconfig(zlib) -PreReq: filesystem -%define gstreamer_plugins_base_req %(xzgrep --text "^GST[_A-Z]*_REQ" %{SOURCE0} | sort -u | sed 's/GST_REQ=/gstreamer >= /') Requires: %{gstreamer_plugins_base_req} Recommends: %{name}-lang Recommends: PackageKit-gstreamer-plugin @@ -448,39 +444,29 @@ find %{buildroot} -type f -name "*.la" -delete -print %post -n libgstallocators-1_0-0 -p /sbin/ldconfig %postun -n libgstallocators-1_0-0 -p /sbin/ldconfig - %post -n libgstapp-1_0-0 -p /sbin/ldconfig %postun -n libgstapp-1_0-0 -p /sbin/ldconfig - %post -n libgstaudio-1_0-0 -p /sbin/ldconfig %postun -n libgstaudio-1_0-0 -p /sbin/ldconfig - %post -n libgstfft-1_0-0 -p /sbin/ldconfig %postun -n libgstfft-1_0-0 -p /sbin/ldconfig - %post -n libgstpbutils-1_0-0 -p /sbin/ldconfig %postun -n libgstpbutils-1_0-0 -p /sbin/ldconfig - %post -n libgstriff-1_0-0 -p /sbin/ldconfig %postun -n libgstriff-1_0-0 -p /sbin/ldconfig - %post -n libgstrtp-1_0-0 -p /sbin/ldconfig %postun -n libgstrtp-1_0-0 -p /sbin/ldconfig - %post -n libgstrtsp-1_0-0 -p /sbin/ldconfig %postun -n libgstrtsp-1_0-0 -p /sbin/ldconfig - %post -n libgstsdp-1_0-0 -p /sbin/ldconfig %postun -n libgstsdp-1_0-0 -p /sbin/ldconfig - %post -n libgsttag-1_0-0 -p /sbin/ldconfig %postun -n libgsttag-1_0-0 -p /sbin/ldconfig - %post -n libgstvideo-1_0-0 -p /sbin/ldconfig %postun -n libgstvideo-1_0-0 -p /sbin/ldconfig %files -%doc COPYING COPYING.LIB +%license COPYING %{_mandir}/man1/gst-device-monitor-* %{_mandir}/man1/gst-discoverer-* %{_mandir}/man1/gst-play-*