Accepting request 424305 from GNOME:Next
Stable update, stop building gstreamer-doc as "own package" - boo#996937 OBS-URL: https://build.opensuse.org/request/show/424305 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=87
This commit is contained in:
parent
374f112187
commit
4065600194
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9dbebe079c2ab2004ef7f2649fa317cabea1feb4fb5605c24d40744b90918341
|
||||
size 3609500
|
3
gstreamer-1.8.3.tar.xz
Normal file
3
gstreamer-1.8.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66b37762d4fdcd63bce5a2bec57e055f92420e95037361609900278c0db7c53f
|
||||
size 3711068
|
@ -1,302 +0,0 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 09:20:25 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 19 10:36:47 UTC 2016 - alarrosa@suse.com
|
||||
|
||||
- Update to GNOME 3.20.2 (Fate#318572)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 21 08:55:53 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 09:51:00 UTC 2016 - idonmez@suse.com
|
||||
|
||||
- Update to GNOME 3.20 Fate#318572
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 26 19:04:04 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 31 02:21:50 UTC 2015 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
- Add gstreamer-revert-bogus-automake-version.patch, needed to
|
||||
lower automake version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 27 10:19:02 UTC 2015 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 1 14:56:54 UTC 2015 - dap.darkness@gmail.com
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 26 10:22:31 UTC 2014 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 9 22:08:10 UTC 2014 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 31 10:20:32 UTC 2013 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 15 09:02:23 UTC 2013 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 23 12:57:54 UTC 2013 - zaitor@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 22 11:33:49 UTC 2012 - dimstar@opensuse.org
|
||||
|
||||
- Run pre_checkin.sh to get in sync with gstreamer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 16 14:21:19 UTC 2011 - aj@suse.de
|
||||
|
||||
- Remove buildrequire on pyxml and add python instead for doc
|
||||
package only, changelog of package with date 2008-03-21 contains:
|
||||
"Don't depend on PyXML and use only XML modules that are shipped
|
||||
with python."
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 11 18:18:02 UTC 2010 - dimstar@opensuse.org
|
||||
|
||||
- Add gstreamer-0_10-make382.patch: Fix build with make 3.82.
|
||||
Generally, the -doc package is affected.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 7 23:16:34 CEST 2010 - vuntz@opensuse.org
|
||||
|
||||
- Fix build: remove the macros.gstreamer and gstreamer-provides
|
||||
from the doc package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 13 19:20:30 UTC 2010 - dimstar@opensuse.org
|
||||
|
||||
- Fix build: remove gst-plugin-scanner from the doc-package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 6 13:37:39 CET 2009 - vuntz@opensuse.org
|
||||
|
||||
- Fix build: the introspection files need to be removed for the doc
|
||||
package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 26 16:59:30 CET 2009 - sbrabec@suse.cz
|
||||
|
||||
- Added support for translation-update-upstream (FATE#301344).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 13:22:08 CEST 2009 - vuntz@novell.com
|
||||
|
||||
- Update to version 0.10.24:
|
||||
+ Changes:
|
||||
- Fully support nested structures in caps
|
||||
- Support frame-by-frame stepping in sinks
|
||||
- Add support for buffer-lists to pass around groups of buffers
|
||||
- Use TaskPools for managing worker threads
|
||||
- New stream-status API for finer thread control
|
||||
- Code optimisations
|
||||
- Many other bug-fixes and enhancements
|
||||
+ Bugs fixed: bgo#580579, bgo#527488, bgo#570233, bgo#584389,
|
||||
bgo#534208, bgo#545787, bgo#554460, bgo#559643, bgo#560345,
|
||||
bgo#560442, bgo#572285, bgo#577926, bgo#578908, bgo#580177,
|
||||
bgo#580716, bgo#581198, bgo#581281, bgo#582010, bgo#582564,
|
||||
bgo#582588, bgo#582878, bgo#583187, bgo#583419, bgo#583456,
|
||||
bgo#583554, bgo#584835, bgo#584838, bgo#585039, bgo#585075,
|
||||
bgo#585137, bgo#585592, bgo#585733, bgo#585748, bgo#586566,
|
||||
bgo#586568, bgo#587973, bgo#587976, bgo#588744, bgo#588745,
|
||||
bgo#589127, bgo#590056, bgo#590622, bgo#579177, bgo#581321,
|
||||
bgo#584118, bgo#585433, bgo#585569, bgo#585834, bgo#585960,
|
||||
bgo#587052
|
||||
+ API additions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 18 00:54:01 CEST 2009 - vuntz@novell.com
|
||||
|
||||
- Update to version 0.10.23:
|
||||
+ Support files > 4GB on Windows
|
||||
+ Controller interpolation fixes
|
||||
+ Add timer support to GstPoll and use it for clocking
|
||||
+ Attempt to typefind contents from the file extension if all
|
||||
else fails
|
||||
+ GStreamer revision control switched to Git
|
||||
+ Many other bug fixes and improvements
|
||||
+ Bugs fixed: bgo#579177, bgo#163577, bgo#574160, bgo#575598,
|
||||
bgo#575922, bgo#576842, bgo#555978, bgo#565607, bgo#566936,
|
||||
bgo#567692, bgo#567725, bgo#568289, bgo#568438, bgo#568481,
|
||||
bgo#568632, bgo#568678, bgo#570910, bgo#571227, bgo#571559,
|
||||
bgo#572480, bgo#573623, bgo#574024, bgo#574211, bgo#574213,
|
||||
bgo#574241, bgo#574484, bgo#574623, bgo#574805, bgo#575695,
|
||||
bgo#575814, bgo#576381, bgo#576563, bgo#576582, bgo#577887,
|
||||
bgo#577891, bgo#578114, bgo#578201, bgo#579127, bgo#580121,
|
||||
bgo#361155, bgo#517231, bgo#572591, bgo#573823, bgo#574163,
|
||||
bgo#575682, bgo#575988
|
||||
+ API additions:
|
||||
- New FIXME and MEMDUMP debug levels
|
||||
- gst_tag_list_get_buffer() and gst_tag_list_get_buffer_index()
|
||||
- New tags: GST_TAG_SUBTITLE_CODEC, GST_TAG_HOMEPAGE
|
||||
- gst_util_array_binary_search()
|
||||
- gst_message_new_request_state(),
|
||||
gst_message_parse_request_state(), GST_MESSAGE_REQUEST_STATE
|
||||
- GstPoll::gst_poll_new_timer()
|
||||
- GstPoll::gst_poll_write_control()
|
||||
- GstPoll::gst_poll_read_control()
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 23 17:18:34 CEST 2009 - sbrabec@suse.cz
|
||||
|
||||
- Don't call autogen in older products.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 21 17:42:51 CDT 2008 - maw@suse.de
|
||||
|
||||
- Update to version 0.10.21:
|
||||
+ Basetransform rework
|
||||
+ Basesink synchronisation extensions
|
||||
+ New documentation
|
||||
+ Bugs fixed: bgo#481169, bgo#520694, bgo#538201, bgo#544855,
|
||||
bgo#339795, bgo#348114, bgo#361718, bgo#533856, bgo#536978,
|
||||
bgo#537804, bgo#537812, bgo#538568, bgo#539772, bgo#542175,
|
||||
bgo#543444, bgo#543853, bgo#544174, bgo#544776, bgo#545352,
|
||||
bgo#545603, bgo#545605, bgo#545607, bgo#545853, bgo#546328,
|
||||
bgo#546822, bgo#547277, bgo#547728, bgo#548394, bgo#548652,
|
||||
bgo#549504, bgo#551952, bgo#551978, bgo#547835, bgo#538628,
|
||||
bgo#546883, and bgo#551509
|
||||
+ API added:
|
||||
* Add GST_TAG_ATTACHMENT for generic file attachments to streams.
|
||||
* Add gst_base_sink_set_render_delay()
|
||||
* Add gst_base_sink_get_render_delay()
|
||||
* Add gst_check_setup_src_pad_by_name
|
||||
* Add gst_check_setup_sink_pad_by_name
|
||||
* Add gst_check_teardown_pad_by_name
|
||||
* Add GstBaseTransform::gst_base_transform_suggest()
|
||||
* GstBaseTransform::gst_base_transform_reconfigure()
|
||||
* GstPad::gst_pad_set_iterate_internal_links_function()
|
||||
* GstPad::GstPadIterIntLinkFunction
|
||||
* GstPad::gst_pad_iterate_internal_links()
|
||||
* GstPad::gst_pad_iterate_internal_links_default()
|
||||
+ API deprecated:
|
||||
* gst_pad_get_internal_links()
|
||||
* gst_pad_set_internal_link_function()
|
||||
* gst_pad_get_internal_links_default()
|
||||
- Add gstreamer-0_10-no-gtk-doc-for-reals.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 04 15:49:43 CEST 2008 - mboman@novell.com
|
||||
|
||||
- Update to version 0.10.20:
|
||||
+ Add the Presets interface
|
||||
+ Use the binary registry by default
|
||||
+ Deprecate gst_element_get_pad and don't use it anywhere any more.
|
||||
+ Reverse playback fixes
|
||||
+ API to get missing element messages from parse_launch parsing.
|
||||
+ Fixes in latency calculations
|
||||
+ BaseTransform negotiation fixes
|
||||
+ New Buffering query and messages
|
||||
+ Fix multiqueue deadlocks when changing limits
|
||||
+ Remove pre-generated parser hacks and require newer flex/bison
|
||||
+ Use GSlice in more places
|
||||
+ Use static strings in property declarations everywhere to save memory
|
||||
allocations
|
||||
+ Fix unaligned memory accesses with the binary registry and add CRC
|
||||
checks
|
||||
+ Lots of other bug fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 14:14:41 CEST 2008 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 0.10.19:
|
||||
* Fix a regression in raw fd handling
|
||||
* Fixed: bgo#524041
|
||||
- Fixed Obsoletes (bnc#357153).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 2 17:17:19 CEST 2008 - maw@suse.de
|
||||
|
||||
- Update to version 0.10.18:
|
||||
+ New GstPoll abstraction simplifies operations on multiple
|
||||
file descriptors
|
||||
+ Bugs fixed: bgo#516187, bgo#516395, bgo#520756, bgo#498222,
|
||||
bgo#499127, bgo#505417, bgo#509559, bgo#510194, bgo#511783,
|
||||
bgo#513964, bgo#515469, bgo#519584, bgo#519698, bgo#520152,
|
||||
bgo#520671, bgo#520808, bgo#520877, bgo#521740, and bgo#522741.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 22 15:20:12 CET 2008 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 0.10.15:
|
||||
* Changes for asynchronous sink management
|
||||
* New ts-offset property on basesink for adjusting clock synchronisation
|
||||
* New GstController LFO feature
|
||||
* Fixes and improvements in latency measurement for live pipelines
|
||||
* Additional documentation and docs fixes
|
||||
* Faster typefinding
|
||||
* More tag types added
|
||||
* Improvements in various core elements and parent classes
|
||||
* New unit tests
|
||||
* Allow dumping pipelines as dot graphs
|
||||
* GstStructures now support nesting
|
||||
* URIHandler interface can now be implemented in bindings
|
||||
* Many other bug-fixes and improvements
|
||||
* API additions
|
||||
- Split package according to shared library packaging policy
|
||||
(#223286).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 17 15:04:01 CEST 2007 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 0.10.14:
|
||||
* State change handling improvements
|
||||
* New improved GstController API
|
||||
* Multi-queue fixes and enhancements
|
||||
* Fewer dynamic library relocations
|
||||
* Various other fixes and improvements
|
||||
* Parallel installability with 0.8.x series
|
||||
* Threadsafe design and API
|
||||
* Add GstParamSpecFraction, so elements can have fraction
|
||||
properties without lots of painful string parsing.
|
||||
* Add fail_unless_equals_float() and assert_equals_float()
|
||||
* Add gst_type_register_static_full
|
||||
* Add gst_element_class_set_details_simple
|
||||
* Refactor GstController into the core controller which can take
|
||||
a GstControlSource for providing actual values for timestamps.
|
||||
* add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI
|
||||
* gst_element_factory_has_interface()
|
||||
* Many bugs fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 15 09:27:52 CEST 2007 - coolo@suse.de
|
||||
|
||||
- fix requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 21 22:10:15 CEST 2007 - aj@suse.de
|
||||
|
||||
- Fix duplicate subpackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 21 07:56:22 CEST 2007 - aj@suse.de
|
||||
|
||||
- Separate spec file for just doc package.
|
||||
|
@ -1,307 +0,0 @@
|
||||
#
|
||||
# spec file for package gstreamer-doc
|
||||
#
|
||||
# Copyright (c) 2016 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-doc
|
||||
%define _name gstreamer
|
||||
%define build_doc 1
|
||||
Version: 1.8.2
|
||||
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-FIX-OPENSUSE gstreamer-no-gtk-doc-for-reals.patch maw@novell.com -- to build without gtk-doc, like totally for reals
|
||||
Patch0: gstreamer-no-gtk-doc-for-reals.patch
|
||||
# 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-OPENSUSE gstreamer-revert-bogus-automake-version.patch bgo#747624 zaitor@opensuse.org -- Upstream needed feature in automake 1.12, so for good measure they bumped to 1.14 - revert that commit as we have at least 1.13.4...
|
||||
Patch2: gstreamer-revert-bogus-automake-version.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flex
|
||||
BuildRequires: glib2-devel >= 2.40.0
|
||||
BuildRequires: gnome-patch-translation
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: translation-update-upstream
|
||||
BuildRequires: pkgconfig(bash-completion)
|
||||
%ifarch %ix86 ppc x86_64
|
||||
BuildRequires: valgrind-devel
|
||||
%endif
|
||||
%if %suse_version >= 1120
|
||||
BuildRequires: gobject-introspection-devel >= 1.31.1
|
||||
%endif
|
||||
%if %build_doc
|
||||
BuildRequires: docbook-toys
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: gtk-doc >= 1.12
|
||||
BuildRequires: python
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: texlive-latex-doc
|
||||
BuildRequires: transfig
|
||||
# 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}
|
||||
%else
|
||||
# Core modules may depend on new enough libraries:
|
||||
Requires: libgstreamer-1_0-0 >= %{version}
|
||||
Recommends: %{name}-lang = %{version}
|
||||
%endif
|
||||
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.
|
||||
|
||||
%if !%build_doc
|
||||
|
||||
%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.
|
||||
|
||||
%if %suse_version >= 1120
|
||||
%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.
|
||||
%endif
|
||||
|
||||
%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}
|
||||
%if %suse_version >= 1120
|
||||
Requires: typelib-1_0-Gst-1_0 = %{version}
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
to develop applications that require these.
|
||||
|
||||
%endif
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q -n gstreamer-%{version}
|
||||
translation-update-upstream po gstreamer-%{gst_branch}
|
||||
gnome-patch-translation-prepare po gstreamer-%{gst_branch}
|
||||
%if ! %build_doc
|
||||
%patch0 -p1
|
||||
%endif
|
||||
%patch1 -p1
|
||||
%patch2 -p1 -R
|
||||
gnome-patch-translation-update po gstreamer-%{gst_branch}
|
||||
|
||||
%build
|
||||
# FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS:
|
||||
# Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS.
|
||||
export V=1
|
||||
%if %suse_version >= 1110
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
%endif
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIE"
|
||||
export LDFLAGS="-pie"
|
||||
%configure\
|
||||
--with-ptp-helper-permissions=capabilities \
|
||||
%if %build_doc
|
||||
--enable-gtk-doc\
|
||||
--enable-docbook\
|
||||
%endif
|
||||
%if %suse_version >= 1120
|
||||
--enable-introspection\
|
||||
%endif
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
%if %build_doc
|
||||
mv %{buildroot}%{_datadir}/doc/gstreamer-*/* %{buildroot}%{_docdir}/%{name}
|
||||
rmdir %{buildroot}%{_datadir}/doc/gstreamer-*
|
||||
%else
|
||||
# TODO is empty
|
||||
cp AUTHORS COPYING ChangeLog NEWS README RELEASE %{buildroot}%{_docdir}/%{name}
|
||||
%find_lang %{name}-%{gst_branch}
|
||||
rm %{buildroot}%{_libdir}/gstreamer-*/*.*a
|
||||
%endif
|
||||
%if %build_doc
|
||||
rm -rf %{buildroot}%{_bindir}/*
|
||||
rm -rf %{buildroot}%{_libdir}
|
||||
rm -rf %{buildroot}%{_datadir}/aclocal
|
||||
rm -rf %{buildroot}%{_includedir}/*
|
||||
rm -rf %{buildroot}%{_datadir}/locale
|
||||
rm -rf %{buildroot}%{_mandir}
|
||||
rm -rf %{buildroot}%{_datadir}/gir-1.0/
|
||||
rm -rf %{buildroot}%{_datadir}/gstreamer-%{gst_branch}
|
||||
rm -rf %{buildroot}%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugin-scanner
|
||||
rm -rf %{buildroot}%{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
|
||||
rm -rf %{buildroot}%{_datadir}/bash-completion/completions/
|
||||
rm -rf %{buildroot}%{_datadir}/bash-completion/helpers/
|
||||
%else
|
||||
rm -rf %{buildroot}%{_datadir}/gtk-doc
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}/manual
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}/pwg
|
||||
mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
# Install the rpm macros
|
||||
%if 0%?suse_version >= 1210
|
||||
%__install -m644 -D %{S:1} %{buildroot}%{_libexecdir}/rpm/fileattrs/gstreamer.attr
|
||||
%else
|
||||
%__install -m644 -D %{S:1} %{buildroot}%{_sysconfdir}/rpm/macros.gstreamer
|
||||
%endif
|
||||
%__install -m755 -D %{S:2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides
|
||||
%endif
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%verifyscript
|
||||
%verify_permissions -e %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
|
||||
|
||||
%post
|
||||
%set_permissions %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
|
||||
|
||||
%if ! %build_doc
|
||||
|
||||
%post -n libgstreamer-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgstreamer-1_0-0 -p /sbin/ldconfig
|
||||
%endif
|
||||
%if %build_doc
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %dir %{_docdir}/%{name}
|
||||
%{_datadir}/gtk-doc/html/*
|
||||
%doc %{_docdir}/%{name}/manual
|
||||
%doc %{_docdir}/%{name}/pwg
|
||||
%doc %{_docdir}/%{name}/faq
|
||||
%else
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%dir %{_datadir}/gstreamer-%{gst_branch}
|
||||
%dir %{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
%doc %dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/AUTHORS
|
||||
%doc %{_docdir}/%{name}/COPYING
|
||||
%doc %{_docdir}/%{name}/ChangeLog
|
||||
%doc %{_docdir}/%{name}/NEWS
|
||||
%doc %{_docdir}/%{name}/README
|
||||
%doc %{_docdir}/%{name}/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.*
|
||||
|
||||
%if %suse_version >= 1120
|
||||
%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
|
||||
%endif
|
||||
|
||||
%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
|
||||
%if 0%?suse_version >= 1210
|
||||
%{_libexecdir}/rpm/fileattrs/gstreamer.attr
|
||||
%else
|
||||
%{_sysconfdir}/rpm/macros.gstreamer
|
||||
%endif
|
||||
%if %suse_version >= 1120
|
||||
%{_datadir}/gir-1.0/*.gir
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%changelog
|
@ -1,48 +0,0 @@
|
||||
Index: gstreamer-0.10.29/docs/gst/Makefile.am
|
||||
===================================================================
|
||||
--- gstreamer-0.10.29.orig/docs/gst/Makefile.am
|
||||
+++ gstreamer-0.10.29/docs/gst/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
-
|
||||
+if ENABLE_GTK_DOC
|
||||
# The name of the module, e.g. 'glib'.
|
||||
# DOC_MODULE=gstreamer-@GST_API_VERSION@
|
||||
DOC_MODULE=gstreamer
|
||||
@@ -106,4 +106,5 @@ include $(top_srcdir)/common/gtk-doc.mak
|
||||
|
||||
# gtk-doc.mak defines CLEANFILES
|
||||
CLEANFILES += gst-universe.svg
|
||||
+endif
|
||||
|
||||
Index: gstreamer-0.10.29/docs/libs/Makefile.am
|
||||
===================================================================
|
||||
--- gstreamer-0.10.29.orig/docs/libs/Makefile.am
|
||||
+++ gstreamer-0.10.29/docs/libs/Makefile.am
|
||||
@@ -1,3 +1,4 @@
|
||||
+if ENABLE_GTK_DOC
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
# The name of the module, e.g. 'glib'.
|
||||
@@ -103,3 +104,5 @@ GTKDOC_EXTRA_ENVIRONMENT= \
|
||||
DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
|
||||
|
||||
include $(top_srcdir)/common/gtk-doc.mak
|
||||
+
|
||||
+endif
|
||||
\ No newline at end of file
|
||||
Index: gstreamer-0.10.29/docs/plugins/Makefile.am
|
||||
===================================================================
|
||||
--- gstreamer-0.10.29.orig/docs/plugins/Makefile.am
|
||||
+++ gstreamer-0.10.29/docs/plugins/Makefile.am
|
||||
@@ -1,3 +1,4 @@
|
||||
+if ENABLE_GTK_DOC
|
||||
GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
|
||||
|
||||
## Process this file with automake to produce Makefile.in
|
||||
@@ -115,3 +116,4 @@ GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=lin
|
||||
DOC_OVERRIDES =
|
||||
|
||||
include $(top_srcdir)/common/gtk-doc-plugins.mak
|
||||
+endif
|
||||
\ No newline at end of file
|
@ -1,32 +0,0 @@
|
||||
From 307dce442a70a91d7075afef0408f7f7b3491072 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com>
|
||||
Date: Wed, 22 Apr 2015 09:47:39 +0100
|
||||
Subject: configure: bump automake requirement to 1.14 and autoconf to 2.69
|
||||
|
||||
This is only required for builds from git, people can still
|
||||
build tarballs if they only have older autotools.
|
||||
|
||||
https://bugzilla.gnome.org//show_bug.cgi?id=747624
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 8013c96..a4b9680 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,4 +1,4 @@
|
||||
-AC_PREREQ([2.68])
|
||||
+AC_PREREQ([2.69])
|
||||
|
||||
dnl initialize autoconf
|
||||
dnl when going to/from release please set the nano (fourth number) right !
|
||||
@@ -8,7 +8,7 @@ AC_INIT([GStreamer],[1.5.0.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=G
|
||||
AG_GST_INIT
|
||||
|
||||
dnl initialize automake (we require GNU make)
|
||||
-AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
|
||||
+AM_INIT_AUTOMAKE([-Wno-portability 1.14 no-dist-gzip dist-xz tar-ustar subdir-objects])
|
||||
|
||||
dnl define PACKAGE_VERSION_* variables
|
||||
AS_VERSION
|
||||
--
|
||||
cgit v0.10.2
|
||||
|
@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 18:28:03 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Update to version 1.8.3 (boo#996937):
|
||||
+ Fix stepping in PAUSED state in certain circumstances.
|
||||
+ Fix jackaudiosink hang when exiting.
|
||||
+ Fix udpsrc receiving multicast packets not only from the
|
||||
selected multicast group.
|
||||
+ Fix unnecessary decoding of unselected streams in GES.
|
||||
+ Fix (multi)udpsink randomly not sending to clients.
|
||||
+ Fix ALL\_BOTH probes not considering EVENT\_FLUSH.
|
||||
+ Fix average input rate calculations in queue2.
|
||||
+ Fix various locking issues causing deadlock in adaptivedemux.
|
||||
+ Fix gst-libav encoders to correctly produce codec\_data in
|
||||
caps.
|
||||
+ Add Wayland, Windows and Rasberry Pi support to the QML GL
|
||||
video sink.
|
||||
+ Add support for building with OpenH264 1.6.
|
||||
+ Add support for controlling deinterlacing in GES video sources.
|
||||
+ Bugs fixed: bgo#769802, bgo#768649, bgo#766970, bgo#768141,
|
||||
bgo#767688, bgo#763770, bgo#767413, bgo#739289, bgo#762330.
|
||||
+ Updated translations.
|
||||
- Drop separate spec file for gstreamer-doc. Due to this drop all
|
||||
conditionals for splitting out doc build. Also drop docbook-toys,
|
||||
docbook-utils, texlive-latex, texlive-latex-doc and transfig
|
||||
BuildRequires. Add doc subpackage to gstreamer spec and pass
|
||||
enable gtk-doc to configure. Note that we are building a much
|
||||
leaner doc package now.
|
||||
- Following the above, drop pre_checkin script,
|
||||
gstreamer-no-gtk-doc-for-reals.patch and
|
||||
gstreamer-revert-bogus-automake-version.patch and stop passing
|
||||
NOCONFIGURE, no longer needed.
|
||||
- Conditionally apply translations-update-upstream and
|
||||
gnome-patch-translation BuildRequires and macro for non-openSUSE
|
||||
only.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 09:17:01 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
|
127
gstreamer.spec
127
gstreamer.spec
@ -18,8 +18,7 @@
|
||||
|
||||
Name: gstreamer
|
||||
%define _name gstreamer
|
||||
%define build_doc 0
|
||||
Version: 1.8.2
|
||||
Version: 1.8.3
|
||||
Release: 0
|
||||
%define gst_branch 1.0
|
||||
Summary: Streaming-Media Framework Runtime
|
||||
@ -30,46 +29,36 @@ Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{_name}-%{versio
|
||||
Source1: gstreamer.macros
|
||||
Source2: gstreamer.prov
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-OPENSUSE gstreamer-no-gtk-doc-for-reals.patch maw@novell.com -- to build without gtk-doc, like totally for reals
|
||||
Patch0: gstreamer-no-gtk-doc-for-reals.patch
|
||||
# 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-OPENSUSE gstreamer-revert-bogus-automake-version.patch bgo#747624 zaitor@opensuse.org -- Upstream needed feature in automake 1.12, so for good measure they bumped to 1.14 - revert that commit as we have at least 1.13.4...
|
||||
Patch2: gstreamer-revert-bogus-automake-version.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
|
||||
%if %suse_version >= 1120
|
||||
BuildRequires: gobject-introspection-devel >= 1.31.1
|
||||
%endif
|
||||
%if %build_doc
|
||||
BuildRequires: docbook-toys
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: gtk-doc >= 1.12
|
||||
BuildRequires: python
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: texlive-latex-doc
|
||||
BuildRequires: transfig
|
||||
# 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}
|
||||
%else
|
||||
# Core modules may depend on new enough libraries:
|
||||
Requires: libgstreamer-1_0-0 >= %{version}
|
||||
Recommends: %{name}-lang = %{version}
|
||||
%endif
|
||||
Requires(pre): permissions
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -81,8 +70,6 @@ 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.
|
||||
|
||||
%if !%build_doc
|
||||
|
||||
%package -n libgstreamer-1_0-0
|
||||
Summary: Streaming-Media Framework Runtime
|
||||
Group: System/Libraries
|
||||
@ -97,7 +84,6 @@ 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.
|
||||
|
||||
%if %suse_version >= 1120
|
||||
%package -n typelib-1_0-Gst-1_0
|
||||
Summary: Streaming-Media Framework Runtime -- Introspection bindings
|
||||
Group: System/Libraries
|
||||
@ -111,7 +97,19 @@ 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.
|
||||
%endif
|
||||
|
||||
%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
|
||||
@ -136,88 +134,43 @@ Requires: %{name} = %{version}
|
||||
# gstreamer-utils is required for the gstreamer-provides rpm magic.
|
||||
Requires: gstreamer-utils = %{version}
|
||||
Requires: libgstreamer-1_0-0 = %{version}
|
||||
%if %suse_version >= 1120
|
||||
Requires: typelib-1_0-Gst-1_0 = %{version}
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
to develop applications that require these.
|
||||
|
||||
%endif
|
||||
%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}
|
||||
%if ! %build_doc
|
||||
%patch0 -p1
|
||||
%endif
|
||||
%patch1 -p1
|
||||
%patch2 -p1 -R
|
||||
%if !0%{?is_opensuse}
|
||||
gnome-patch-translation-update po gstreamer-%{gst_branch}
|
||||
%endif
|
||||
|
||||
%build
|
||||
# FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS:
|
||||
# Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS.
|
||||
export V=1
|
||||
%if %suse_version >= 1110
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
%endif
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIE"
|
||||
export LDFLAGS="-pie"
|
||||
%configure\
|
||||
--with-ptp-helper-permissions=capabilities \
|
||||
%if %build_doc
|
||||
--enable-gtk-doc\
|
||||
--enable-docbook\
|
||||
%endif
|
||||
%if %suse_version >= 1120
|
||||
--enable-gtk-doc\
|
||||
--enable-introspection\
|
||||
%endif
|
||||
--disable-static
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
%if %build_doc
|
||||
mv %{buildroot}%{_datadir}/doc/gstreamer-*/* %{buildroot}%{_docdir}/%{name}
|
||||
rmdir %{buildroot}%{_datadir}/doc/gstreamer-*
|
||||
%else
|
||||
# TODO is empty
|
||||
cp AUTHORS COPYING ChangeLog NEWS README RELEASE %{buildroot}%{_docdir}/%{name}
|
||||
%find_lang %{name}-%{gst_branch}
|
||||
rm %{buildroot}%{_libdir}/gstreamer-*/*.*a
|
||||
%endif
|
||||
%if %build_doc
|
||||
rm -rf %{buildroot}%{_bindir}/*
|
||||
rm -rf %{buildroot}%{_libdir}
|
||||
rm -rf %{buildroot}%{_datadir}/aclocal
|
||||
rm -rf %{buildroot}%{_includedir}/*
|
||||
rm -rf %{buildroot}%{_datadir}/locale
|
||||
rm -rf %{buildroot}%{_mandir}
|
||||
rm -rf %{buildroot}%{_datadir}/gir-1.0/
|
||||
rm -rf %{buildroot}%{_datadir}/gstreamer-%{gst_branch}
|
||||
rm -rf %{buildroot}%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugin-scanner
|
||||
rm -rf %{buildroot}%{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
|
||||
rm -rf %{buildroot}%{_datadir}/bash-completion/completions/
|
||||
rm -rf %{buildroot}%{_datadir}/bash-completion/helpers/
|
||||
%else
|
||||
rm -rf %{buildroot}%{_datadir}/gtk-doc
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}/manual
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}/pwg
|
||||
mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
# Install the rpm macros
|
||||
%if 0%?suse_version >= 1210
|
||||
%__install -m644 -D %{S:1} %{buildroot}%{_libexecdir}/rpm/fileattrs/gstreamer.attr
|
||||
%else
|
||||
%__install -m644 -D %{S:1} %{buildroot}%{_sysconfdir}/rpm/macros.gstreamer
|
||||
%endif
|
||||
%__install -m755 -D %{S:2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides
|
||||
%endif
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%verifyscript
|
||||
@ -226,34 +179,15 @@ mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
%post
|
||||
%set_permissions %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
|
||||
|
||||
%if ! %build_doc
|
||||
|
||||
%post -n libgstreamer-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgstreamer-1_0-0 -p /sbin/ldconfig
|
||||
%endif
|
||||
%if %build_doc
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %dir %{_docdir}/%{name}
|
||||
%{_datadir}/gtk-doc/html/*
|
||||
%doc %{_docdir}/%{name}/manual
|
||||
%doc %{_docdir}/%{name}/pwg
|
||||
%doc %{_docdir}/%{name}/faq
|
||||
%else
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%dir %{_datadir}/gstreamer-%{gst_branch}
|
||||
%dir %{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
%doc %dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/AUTHORS
|
||||
%doc %{_docdir}/%{name}/COPYING
|
||||
%doc %{_docdir}/%{name}/ChangeLog
|
||||
%doc %{_docdir}/%{name}/NEWS
|
||||
%doc %{_docdir}/%{name}/README
|
||||
%doc %{_docdir}/%{name}/RELEASE
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README RELEASE
|
||||
%dir %{_libdir}/gstreamer-%{gst_branch}
|
||||
%{_libdir}/gstreamer-%{gst_branch}/*.so
|
||||
%dir %{_libexecdir}/gstreamer-%{gst_branch}
|
||||
@ -268,7 +202,6 @@ mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%if %suse_version >= 1120
|
||||
%files -n typelib-1_0-Gst-1_0
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/girepository-1.0/Gst-1.0.typelib
|
||||
@ -276,7 +209,6 @@ mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
%{_libdir}/girepository-1.0/GstCheck-1.0.typelib
|
||||
%{_libdir}/girepository-1.0/GstController-1.0.typelib
|
||||
%{_libdir}/girepository-1.0/GstNet-1.0.typelib
|
||||
%endif
|
||||
|
||||
%files utils
|
||||
%defattr(-, root, root)
|
||||
@ -294,14 +226,11 @@ mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
|
||||
%{_libdir}/*.*a
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libexecdir}/rpm/gstreamer-provides
|
||||
%if 0%?suse_version >= 1210
|
||||
%{_libexecdir}/rpm/fileattrs/gstreamer.attr
|
||||
%else
|
||||
%{_sysconfdir}/rpm/macros.gstreamer
|
||||
%endif
|
||||
%if %suse_version >= 1120
|
||||
%{_datadir}/gir-1.0/*.gir
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/gtk-doc/html/*
|
||||
|
||||
%changelog
|
||||
|
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
function fail {
|
||||
echo Something failed. Too bad.
|
||||
exit 1
|
||||
}
|
||||
|
||||
rm -f gstreamer-doc.spec.tmp
|
||||
|
||||
cat gstreamer.spec \
|
||||
| sed 's/^Name: *gstreamer*/Name: gstreamer-doc/g' \
|
||||
| sed 's/^%define *build_doc 0/%define build_doc 1/g' \
|
||||
> gstreamer-doc.spec.tmp || fail
|
||||
|
||||
mv gstreamer-doc.spec.tmp gstreamer-doc.spec || fail
|
||||
|
||||
echo Fixed up gstreamer-doc.spec.
|
||||
|
Loading…
Reference in New Issue
Block a user