%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} %define major 1.0 %define _gst_ver 1.16.0 %define _glib2_ver 2.55.0 %define _gtk3_ver 3.20.6 %define _gtk_doc_ver 1.3 %define _qt5_ver 5.6 %define _check_ver 0.9.2 %define _python_ver 2.7 %define _alsa_lib_ver 0.9.1 %define _libogg_ver 1.0 %define _libvorbis_ver 1.0 %define _freetype2_ver 2.0.9 %define _orc_ver 0.4.22 %define po_package gst-plugins-base-%{major} Summary: GStreamer Streaming-media framework base plugins Summary(ja): GStreamer ストリーミングメディアフレームワーク用基本プラグイン Name: gstreamer1-plugins-base Version: 1.16.2 Release: 1%{?_dist_release} Group: System Environment/Libraries Vendor: Project Vine Distribution: Vine Linux License: LGPL URL: https://gstreamer.freedesktop.org/ Source: https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: gstreamer1 >= %{_gst_ver} BuildRequires: gstreamer1-devel >= %{_gst_ver} BuildRequires: gtk-doc >= %{_gtk_doc_ver} BuildRequires: python >= %{_python_ver}, python-pyxml BuildRequires: glib2-devel >= %{_glib2_ver} BuildRequires: check >= %{_check_ver} BuildRequires: gtk3-devel >= %{_gtk3_ver} BuildRequires: qt5-qtbase-devel >= %{_qt5_ver} BuildRequires: alsa-lib-devel >= %{_alsa_lib_ver} BuildRequires: cdparanoia-devel BuildRequires: libogg-devel >= %{_libogg_ver} BuildRequires: libtheora-devel, libvorbis-devel >= %{_libvorbis_ver} BuildRequires: opus-devel BuildRequires: pango-devel BuildRequires: freetype2-devel >= %{_freetype2_ver} BuildRequires: fontconfig-devel BuildRequires: libX11-devel BuildRequires: libXv-devel BuildRequires: libvisual-devel BuildRequires: orc-devel >= %{_orc_ver} BuildRequires: gobject-introspection-devel %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 plugin-based architecture means that new data types or processing capabilities can be added simply by installing new plugins. This package contains a set of well-maintained base plugins. %package devel Summary: Libraries/include files for GStreamer base plugins Summary(ja): GStreamer 基本プラグインの開発用ライブラリ Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: gstreamer1-devel >= %{_gst_ver} %description devel 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 plugins. This package contains GStreamer base plugins library depvelopment and header files. # compat32 %package -n compat32-%{name} Summary: GStreamer Streaming-media framework base plugins Summary(ja): GStreamer ストリーミングメディアフレームワーク用基本プラグイン Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description -n compat32-%{name} 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 plugins. This package contains a set of well-maintained base plugins. %package -n compat32-%{name}-devel Summary: Libraries/include files for GStreamer base plugins Summary(ja): GStreamer 基本プラグインの開発用ライブラリ Group: Development/Libraries Requires: compat32-%{name} = %{version}-%{release} Requires: %{name}-devel = %{version}-%{release} Requires: compat32-gstreamer1-devel >= %{_gst_ver} %description -n compat32-%{name}-devel 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 plugins. This package contains GStreamer base plugins library depvelopment and header files. %prep %setup -q -n gst-plugins-base-%{version} %build %ifarch alpha %define optflags -O2 -mieee -fPIC %endif %configure \ --with-package-name='Vine Linux gstreamer-plugins-base package' \ --disable-static \ --disable-debug \ --enable-orc \ --enable-introspection=yes \ --enable-wayland=no make %{?_smp_mflags} %install [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # Clean out files that should not be part of the rpm. rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{major}/*.{a,la} rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} %find_lang %{po_package} %clean [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n compat32-%{name} -p /sbin/ldconfig %postun -n compat32-%{name} -p /sbin/ldconfig %files -f %{po_package}.lang %defattr(-,root,root) %license COPYING* %doc AUTHORS ChangeLog NEWS README RELEASE REQUIREMENTS # helper programs %{_bindir}/gst-* %{_mandir}/man1/gst-* %{_datadir}/gst-plugins-base/1.0/license-translations.dict # libraries %{_libdir}/libgst*-%{major}.so.* %{_libdir}/girepository-1.0/*.typelib %{_libdir}/gstreamer-%{major}/libgst*.so %files devel %defattr(-,root,root) %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{major} %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{major} %{_datadir}/gir-1.0/*.gir %dir %{_includedir}/gstreamer-%{major} %dir %{_includedir}/gstreamer-%{major}/gst %{_includedir}/gstreamer-%{major}/gst/* %dir %{_libdir}/gstreamer-%{major} %{_libdir}/gstreamer-%{major}/* %{_libdir}/pkgconfig/*.pc %{_libdir}/libgst*-%{major}.so # compat32 %if %{build_compat32} %files -n compat32-%{name} %defattr(-,root,root) %{_libdir}/libgst*-%{major}.so.* %{_libdir}/gstreamer-%{major}/*.so %files -n compat32-%{name}-devel %defattr(-,root,root) %{_libdir}/libgst*-%{major}.so %endif %changelog * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO 1.16.2-1 - new upstream release. * Sat Jun 22 2019 Tomohiro "Tomo-p" KATO 1.16.0-1 - new upstream release. - disabled to build docs. * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO 1.12.4-1 - new upstream release. * Fri Jul 15 2016 Yoji TOYODA 1.8.2-1 - new upstream release * Wed May 04 2016 Yoji TOYODA 1.6.4-1 - new upstream release * Sun Jan 24 2016 Yoji TOYODA 1.6.3-1 - new upstream release * Sat Dec 19 2015 Yoji TOYODA 1.6.2-1 - new upstream release * Sat Oct 31 2015 Yoji TOYODA 1.6.1-1 - new upstream release * Sun Mar 01 2015 Yoji TOYODA 1.4.5-1 - new upstream release * Mon Nov 17 2014 Yoji TOYODA 1.4.4-1 - new upstream release * Sun Oct 26 2014 Yoji TOYODA 1.4.3-1 - new upstream release * Sat Apr 19 2014 Yoji TOYODA 1.2.4-1 - new upstream release * Sun Mar 16 2014 Yoji TOYODA 1.2.3-1 - new upstream release * Mon Dec 30 2013 Yoji TOYODA 1.2.2-1 - new upstream release * Sun Nov 24 2013 Yoji TOYODA 1.2.1-1 - new upstream release * Sat Oct 26 2013 Yoji TOYODA 1.2.0-1 - new upstream release * Sat Aug 31 2013 Yoji TOYODA 1.0.10-1 - new upstream release * Sun Aug 11 2013 Yoji TOYODA 1.0.9-1 - new upstream release * Mon Jul 15 2013 Yoji TOYODA 1.0.8-1 - new upstream release * Sun Apr 28 2013 Yoji TOYODA 1.0.7-1 - new upstream release * Sat Mar 23 2013 Yoji TOYODA 1.0.6-1 - new upstream release * Wed Jan 09 2013 Yoji TOYODA 1.0.5-1 - new upstream release * Wed Jan 02 2013 Yoji TOYODA 1.0.4-1 - new upstream release * Fri Oct 26 2012 Yoji TOYODA 1.0.2-1 - new upstream release * Mon Oct 08 2012 Yoji TOYODA 1.0.1-1 - new upstream release * Fri Sep 28 2012 Yoji TOYODA 1.0.0-1 - initial build