File mingw64-gstreamer-0_10.spec of Package mingw64-gstreamer-0_10
#
# spec file for package mingw64-gstreamer-0_10
#
# Copyright (c) 2018 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: mingw64-gstreamer-0_10
Version: 0.10.36
Release: 0
Summary: Streaming-Media Framework Runtime
License: LGPL-2.0-or-later
Group: Development/Libraries
Url: http://gstreamer.freedesktop.org/
#http://gstreamer.freedesktop.org/src/gstreamer/
Source0: gstreamer-%{version}.tar.xz
Patch0: gstreamer-0.10.36-warnings.patch
Patch1: gstreamer-0.10.36-bison3.patch
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: glib2-devel
BuildRequires: gtk-doc
BuildRequires: libtool
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem >= 23
BuildRequires: mingw64-glib2-devel >= 2.8.3
BuildRequires: mingw64-libxml2-devel
BuildRequires: python
BuildRequires: xz
%_mingw64_package_header_debug
BuildArch: noarch
%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 devel
Summary: Streaming-Media Framework Runtime (development files)
Group: Development/Libraries
%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 plug-in-based architecture
means that new data types or processing capabilities can be added by
installing new plug-ins.
This package contains all necessary include files and libraries needed
to develop applications that require these.
%package utils
Summary: Streaming-Media Framework Runtime
Group: Development/Libraries
%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 -n mingw64-libgstreamer-0_10
Summary: Shared libraries for gstreamer
Group: Development/Libraries
%description -n mingw64-libgstreamer-0_10
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 contains the shared libraries for gstreamer.
%lang_package
%_mingw64_debug_package
%prep
%setup -q -n gstreamer-%{version}
%patch -P 0
%patch -P 1 -p1
%build
NOCONFIGURE=indeed ./autogen.sh
echo "lt_cv_deplibs_check_method='pass_all'" >> %{_mingw64_cache}
echo "gst_cv_posix_timers=no" >> %{_mingw64_cache}
PATH="%{_mingw64_bindir}:$PATH"; export PATH; \
%{_mingw64_configure} \
--enable-shared --disable-static \
--disable-tests --disable-failing-tests
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}
%install
%{_mingw64_make} DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_mingw64_libdir}/gstreamer-0.10/libgstcoreelements.dll.a
rm -f %{buildroot}%{_mingw64_libdir}/gstreamer-0.10/libgstcoreindexers.dll.a
%find_lang gstreamer-0.10
%files
%defattr(-,root,root)
%{_mingw64_libdir}/gstreamer-0.10/libgstcoreelements.dll
%{_mingw64_libdir}/gstreamer-0.10/libgstcoreindexers.dll
%{_mingw64_libexecdir}/gstreamer-0.10/gst-plugin-scanner.exe
%files lang -f gstreamer-0.10.lang
%defattr(-,root,root)
%files -n mingw64-libgstreamer-0_10
%defattr(-,root,root)
%{_mingw64_bindir}/libgstbase-0.10-0.dll
%{_mingw64_bindir}/libgstcontroller-0.10-0.dll
%{_mingw64_bindir}/libgstdataprotocol-0.10-0.dll
%{_mingw64_bindir}/libgstnet-0.10-0.dll
%{_mingw64_bindir}/libgstreamer-0.10-0.dll
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/gstreamer-0.10/gst
%{_mingw64_libdir}/libgstnet-0.10.dll.a
%{_mingw64_libdir}/libgstreamer-0.10.dll.a
%{_mingw64_libdir}/libgstcontroller-0.10.dll.a
%{_mingw64_libdir}/libgstdataprotocol-0.10.dll.a
%{_mingw64_libdir}/libgstbase-0.10.dll.a
%{_mingw64_libdir}/pkgconfig/gstreamer-0.10.pc
%{_mingw64_libdir}/pkgconfig/gstreamer-controller-0.10.pc
%{_mingw64_libdir}/pkgconfig/gstreamer-base-0.10.pc
%{_mingw64_libdir}/pkgconfig/gstreamer-net-0.10.pc
%{_mingw64_libdir}/pkgconfig/gstreamer-dataprotocol-0.10.pc
%{_mingw64_datadir}/aclocal/gst-element-check-0.10.m4
%{_mingw64_datadir}/gtk-doc/html/gstreamer-0.10
%{_mingw64_datadir}/gtk-doc/html/gstreamer-libs-0.10
%{_mingw64_datadir}/gtk-doc/html/gstreamer-plugins-0.10
%files utils
%defattr(-,root,root)
%{_mingw64_bindir}/gst-feedback-0.10
%{_mingw64_bindir}/gst-feedback.exe
%{_mingw64_bindir}/gst-inspect-0.10.exe
%{_mingw64_bindir}/gst-inspect.exe
%{_mingw64_bindir}/gst-launch-0.10.exe
%{_mingw64_bindir}/gst-launch.exe
%{_mingw64_bindir}/gst-typefind-0.10.exe
%{_mingw64_bindir}/gst-typefind.exe
%{_mingw64_bindir}/gst-xmlinspect-0.10.exe
%{_mingw64_bindir}/gst-xmlinspect.exe
%{_mingw64_bindir}/gst-xmllaunch-0.10.exe
%{_mingw64_bindir}/gst-xmllaunch.exe
%{_mingw64_mandir}/man1/gst-feedback-0.10.1*
%{_mingw64_mandir}/man1/gst-inspect-0.10.1*
%{_mingw64_mandir}/man1/gst-launch-0.10.1*
%{_mingw64_mandir}/man1/gst-typefind-0.10.1*
%{_mingw64_mandir}/man1/gst-xmlinspect-0.10.1*
%{_mingw64_mandir}/man1/gst-xmllaunch-0.10.1*
%changelog