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
This commit is contained in:
Tomáš Chvátal 2018-03-01 11:36:51 +00:00 committed by Git OBS Bridge
parent 1da9c19504
commit d9303ece46
2 changed files with 10 additions and 18 deletions

View File

@ -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 Sat Dec 23 01:11:56 UTC 2017 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package gstreamer-plugins-base # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,21 +18,19 @@
%define _name gst-plugins-base %define _name gst-plugins-base
%define gst_branch 1.0 %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 Name: gstreamer-plugins-base
Version: 1.12.4 Version: 1.12.4
Release: 0 Release: 0
Summary: GStreamer Streaming-Media Framework Plug-Ins Summary: GStreamer Streaming-Media Framework Plug-Ins
License: LGPL-2.1+ AND GPL-2.0+ License: LGPL-2.1+ AND GPL-2.0+
Group: Productivity/Multimedia/Other 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 Source0: https://gstreamer.freedesktop.org/src/gst-plugins-base/%{_name}-%{version}.tar.xz
Source1: gstreamer-plugins-base.appdata.xml Source1: gstreamer-plugins-base.appdata.xml
Source2: baselibs.conf 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 # 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 Patch0: gst-pb-playbin3-fix-accessing-invalid-index.patch
BuildRequires: cdparanoia-devel BuildRequires: cdparanoia-devel
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: glib2-devel >= 2.40.0 BuildRequires: glib2-devel >= 2.40.0
@ -65,8 +63,6 @@ BuildRequires: pkgconfig(theoraenc) >= 1.1
BuildRequires: pkgconfig(vorbis) >= 1.0 BuildRequires: pkgconfig(vorbis) >= 1.0
BuildRequires: pkgconfig(vorbisenc) >= 1.0 BuildRequires: pkgconfig(vorbisenc) >= 1.0
BuildRequires: pkgconfig(zlib) 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} Requires: %{gstreamer_plugins_base_req}
Recommends: %{name}-lang Recommends: %{name}-lang
Recommends: PackageKit-gstreamer-plugin 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 %post -n libgstallocators-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgstapp-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgstaudio-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgstfft-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgstpbutils-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgstriff-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgstrtp-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgstrtsp-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgstsdp-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgsttag-1_0-0 -p /sbin/ldconfig
%postun -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 %post -n libgstvideo-1_0-0 -p /sbin/ldconfig
%postun -n libgstvideo-1_0-0 -p /sbin/ldconfig %postun -n libgstvideo-1_0-0 -p /sbin/ldconfig
%files %files
%doc COPYING COPYING.LIB %license COPYING
%{_mandir}/man1/gst-device-monitor-* %{_mandir}/man1/gst-device-monitor-*
%{_mandir}/man1/gst-discoverer-* %{_mandir}/man1/gst-discoverer-*
%{_mandir}/man1/gst-play-* %{_mandir}/man1/gst-play-*