Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
gstreamer.6630
gstreamer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gstreamer.spec of Package gstreamer.6630
# # spec file for package gstreamer # # Copyright (c) 2017 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gstreamer %define _name gstreamer Version: 1.8.3 Release: 0 %define gst_branch 1.0 Summary: Streaming-Media Framework Runtime License: LGPL-2.1+ Group: Productivity/Multimedia/Other Url: http://gstreamer.freedesktop.org/ Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{_name}-%{version}.tar.xz Source1: gstreamer.macros Source2: gstreamer.prov Source99: baselibs.conf # PATCH-FEATURE-UPSTREAM gstreamer-rpm-prov.patch bgo#588783 dimstar@opensuse.org -- Add --rpm parameter to allow creation of rpm provides, patch from fedora Patch1: gstreamer-rpm-prov.patch # PATCH-FIX-UPSTREAM 0001-datetime-fix-potential-out-of-bound-read-on-malformed-datetime-string.patch bsc#1024051 alarrosa@suse.com -- Fix an out of bounds read in gst_date_time_new_from_iso8601_string (CVE-2017-5838) Patch2: 0001-datetime-fix-potential-out-of-bound-read-on-malformed-datetime-string.patch BuildRequires: bison BuildRequires: check-devel BuildRequires: fdupes BuildRequires: flex BuildRequires: glib2-devel >= 2.40.0 %if !0%{?is_opensuse} BuildRequires: gnome-patch-translation %endif BuildRequires: libcap-devel BuildRequires: libtool BuildRequires: libxml2-devel %if !0%{?is_opensuse} BuildRequires: translation-update-upstream %endif BuildRequires: pkgconfig(bash-completion) %ifarch %ix86 ppc x86_64 BuildRequires: valgrind-devel %endif BuildRequires: gobject-introspection-devel >= 1.31.1 BuildRequires: gtk-doc >= 1.12 BuildRequires: python # Ensure that the documentation corresponds with the installed version: Requires: libgstreamer-1_0-0 = %{version} # Generic name, never used in SuSE: Provides: gstreamer-doc = %{version} # Core modules may depend on new enough libraries: Requires: libgstreamer-1_0-0 >= %{version} Recommends: %{name}-lang = %{version} Requires(pre): permissions BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GStreamer is a streaming-media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plug-in-based architecture means that new data types or processing capabilities can be added by installing new plug-ins. %package -n libgstreamer-1_0-0 Summary: Streaming-Media Framework Runtime Group: System/Libraries # We want to have core modules installed: Requires: %{name} %description -n libgstreamer-1_0-0 GStreamer is a streaming-media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plug-in-based architecture means that new data types or processing capabilities can be added by installing new plug-ins. %package -n typelib-1_0-Gst-1_0 Summary: Streaming-Media Framework Runtime -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-Gst-1_0 GStreamer is a streaming-media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plug-in-based architecture means that new data types or processing capabilities can be added by installing new plug-ins. This package provides the GObject Introspection bindings for GStreamer. %package doc Summary: GStreamer Streaming-Media Framework Plug-Ins Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description doc GStreamer is a streaming media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plugin-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins. %package utils Summary: Streaming-Media Framework Runtime Group: Productivity/Multimedia/Other # Generic name, never used in SuSE: Provides: gstreamer:%{_bindir}/gst-launch-%{gst_branch} = %{version} # Symbol for unversioned wrappers: Provides: gstreamer-utils_versioned = %{version} %description utils GStreamer is a streaming-media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plug-in-based architecture means that new data types or processing capabilities can be added by installing new plug-ins. %package devel Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ Requires: %{name} = %{version} # gstreamer-utils is required for the gstreamer-provides rpm magic. Requires: gstreamer-utils = %{version} Requires: libgstreamer-1_0-0 = %{version} Requires: typelib-1_0-Gst-1_0 = %{version} %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %lang_package %prep %setup -q -n gstreamer-%{version} %if !0%{?is_opensuse} translation-update-upstream po gstreamer-%{gst_branch} gnome-patch-translation-prepare po gstreamer-%{gst_branch} %endif %patch1 -p1 %patch2 -p1 %if !0%{?is_opensuse} gnome-patch-translation-update po gstreamer-%{gst_branch} %endif %build export CFLAGS="%{optflags} -fno-strict-aliasing -fPIE" export LDFLAGS="-pie" %configure\ --with-ptp-helper-permissions=capabilities \ --enable-gtk-doc\ --enable-introspection\ --disable-static make %{?_smp_mflags} %install %makeinstall %find_lang %{name}-%{gst_branch} rm %{buildroot}%{_libdir}/gstreamer-*/*.*a mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets # Install the rpm macros %__install -m644 -D %{S:1} %{buildroot}%{_libexecdir}/rpm/fileattrs/gstreamer.attr %__install -m755 -D %{S:2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides %fdupes %{buildroot} %verifyscript %verify_permissions -e %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper %post %set_permissions %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper %post -n libgstreamer-1_0-0 -p /sbin/ldconfig %postun -n libgstreamer-1_0-0 -p /sbin/ldconfig %files %defattr(-, root, root) %dir %{_datadir}/gstreamer-%{gst_branch} %dir %{_datadir}/gstreamer-%{gst_branch}/presets %doc AUTHORS COPYING ChangeLog NEWS README RELEASE %dir %{_libdir}/gstreamer-%{gst_branch} %{_libdir}/gstreamer-%{gst_branch}/*.so %dir %{_libexecdir}/gstreamer-%{gst_branch} %{_libexecdir}/gstreamer-%{gst_branch}/gst-plugin-scanner %verify(not mode caps) %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper %{_datadir}/bash-completion/completions/ %{_datadir}/bash-completion/helpers/ %files lang -f %{name}-%{gst_branch}.lang %files -n libgstreamer-1_0-0 %defattr(-, root, root) %{_libdir}/*.so.* %files -n typelib-1_0-Gst-1_0 %defattr(-, root, root) %{_libdir}/girepository-1.0/Gst-1.0.typelib %{_libdir}/girepository-1.0/GstBase-1.0.typelib %{_libdir}/girepository-1.0/GstCheck-1.0.typelib %{_libdir}/girepository-1.0/GstController-1.0.typelib %{_libdir}/girepository-1.0/GstNet-1.0.typelib %files utils %defattr(-, root, root) %{_bindir}/*-%{gst_branch} %doc %{_mandir}/man?/*-%{gst_branch}.* %files devel %defattr(-, root, root) %{_datadir}/aclocal/*.m4 %{_includedir}/* %dir %{_libdir}/gstreamer-1.0/include/ %dir %{_libdir}/gstreamer-1.0/include/gst %{_libdir}/gstreamer-1.0/include/gst/gstconfig.h %{_libdir}/*.so %{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc %{_libexecdir}/rpm/gstreamer-provides %{_libexecdir}/rpm/fileattrs/gstreamer.attr %{_datadir}/gir-1.0/*.gir %files doc %defattr(-,root,root) %{_datadir}/gtk-doc/html/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor