Update to 1.17.1

Update to meson build
Disable docs because it needs Hotdoc, which is not in Fedora yet
remove BuildRequires: for gtk-doc and autoconf related things
This commit is contained in:
Wim Taymans 2020-06-22 11:22:34 +02:00
parent 6c6c2eba08
commit b4c0175387
3 changed files with 26 additions and 44 deletions

1
.gitignore vendored
View File

@ -68,3 +68,4 @@
/gstreamer-1.16.0.tar.xz /gstreamer-1.16.0.tar.xz
/gstreamer-1.16.1.tar.xz /gstreamer-1.16.1.tar.xz
/gstreamer-1.16.2.tar.xz /gstreamer-1.16.2.tar.xz
/gstreamer-1.17.1.tar.xz

View File

@ -10,8 +10,8 @@
%global __python %{__python3} %global __python %{__python3}
Name: gstreamer1 Name: gstreamer1
Version: 1.16.2 Version: 1.17.1
Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist} Release: 1%{?gitcommit:.git%{shortcommit}}%{?dist}
Summary: GStreamer streaming media framework runtime Summary: GStreamer streaming media framework runtime
License: LGPLv2+ License: LGPLv2+
@ -28,35 +28,18 @@ Patch0: gstreamer-inspect-rpm-format.patch
Source1: gstreamer1.prov Source1: gstreamer1.prov
Source2: gstreamer1.attr Source2: gstreamer1.attr
BuildRequires: meson >= 0.48.0
BuildRequires: gcc
BuildRequires: glib2-devel >= %{_glib2} BuildRequires: glib2-devel >= %{_glib2}
BuildRequires: libxml2-devel >= %{_libxml2} BuildRequires: libxml2-devel >= %{_libxml2}
BuildRequires: gobject-introspection-devel >= %{_gobject_introspection} BuildRequires: gobject-introspection-devel >= %{_gobject_introspection}
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: m4
BuildRequires: check-devel BuildRequires: check-devel
BuildRequires: gtk-doc >= 1.3
BuildRequires: gettext BuildRequires: gettext
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: libcap-devel BuildRequires: libcap-devel
# ./autogen.sh deps
BuildRequires: automake gettext-devel libtool
BuildRequires: chrpath
### documentation requirements
BuildRequires: python3
BuildRequires: openjade
BuildRequires: texlive-jadetex
BuildRequires: libxslt
BuildRequires: docbook-style-dsssl
BuildRequires: docbook-style-xsl
BuildRequires: docbook-utils
BuildRequires: transfig
BuildRequires: netpbm-progs
BuildRequires: texlive-dvips
BuildRequires: ghostscript
%description %description
GStreamer is a streaming media framework, based on graphs of filters which GStreamer is a streaming media framework, based on graphs of filters which
operate on media data. Applications using this library can do anything operate on media data. Applications using this library can do anything
@ -79,7 +62,7 @@ Conflicts: gstreamer1-plugins-bad-free-devel < 1.13
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%if 0
%package devel-docs %package devel-docs
Summary: Developer documentation for GStreamer streaming media framework Summary: Developer documentation for GStreamer streaming media framework
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -88,6 +71,7 @@ BuildArch: noarch
%description devel-docs %description devel-docs
This %{name}-devel-docs contains developer documentation for the This %{name}-devel-docs contains developer documentation for the
GStreamer streaming media framework. GStreamer streaming media framework.
%endif
%prep %prep
@ -95,36 +79,25 @@ GStreamer streaming media framework.
%patch0 -p1 -b .rpm-provides %patch0 -p1 -b .rpm-provides
%build %build
NOCONFIGURE=1 \ %meson \
./autogen.sh -D package-name='Fedora GStreamer package' \
-D package-origin='http://download.fedoraproject.org' \
%configure \ -D gtk_doc=disabled \
--with-package-name='Fedora GStreamer package' \ -D gst_debug=false \
--with-package-origin='http://download.fedoraproject.org' \ -D tests=disabled -D examples=disabled \
--enable-gtk-doc \ -D ptp-helper-permissions=capabilities \
--enable-debug \ -D dbghelp=disabled \
--disable-fatal-warnings \ -D doc=disabled
--disable-silent-rules \
--disable-tests --disable-examples \
--with-ptp-helper-permissions=capabilities
%make_build V=1
%install %install
%make_install %meson_install
%find_lang gstreamer-%{majorminor} %find_lang gstreamer-%{majorminor}
# Clean out files that should not be part of the rpm.
find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
find $RPM_BUILD_ROOT -name '*.a' -exec rm -fv {} ';'
# Add the provides script # Add the provides script
install -m0755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/gstreamer1.prov install -m0755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/gstreamer1.prov
# Add the gstreamer plugin file attribute entry (rpm >= 4.9.0) # Add the gstreamer plugin file attribute entry (rpm >= 4.9.0)
install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer1.attr install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer1.attr
%ldconfig_scriptlets %ldconfig_scriptlets
%files -f gstreamer-%{majorminor}.lang %files -f gstreamer-%{majorminor}.lang
@ -202,13 +175,21 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
%{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc %{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc %{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc
%if 0
%files devel-docs %files devel-docs
%doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor} %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}
%doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor} %doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}
%doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor} %doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}
%endif
%changelog %changelog
* Mon Jun 22 2020 Wim Taymans <wtaymans@redhat.com> - 1.17.1-1
- Update to 1.17.1
- Update to meson build
- Disable docs because it needs Hotdoc, which is not in Fedora yet
- remove BuildRequires: for gtk-doc and autoconf related things
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-2 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (gstreamer-1.16.2.tar.xz) = a8dcdb452a88f411676e54016fcf83149068b2f0b60422bebdbc81220078c61c415512006010ba0299df81ffb59853695c3ce00580f8fc46a079f6aaaa42609f SHA512 (gstreamer-1.17.1.tar.xz) = a44eebefe434eac8b51283a5ac039290736cf5ac49ba738d6ab4dbbf6e29adf1e0ddee7b2623924bdf6899965a2480fba502826483e04632aff67bc7f33d25f6