File qt-gstreamer.spec of Package qt-gstreamer
#
# spec file for package qt-gstreamer
#
# Copyright (c) 2011 SUSE LINUX Products 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: qt-gstreamer
Url: http://gstreamer.freedesktop.org/wiki/QtGStreamer
BuildRequires: fdupes
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: libkde4-devel
BuildRequires: doxygen
BuildRequires: boost-devel
BuildRequires: bison
BuildRequires: flex
License: LGPLv2.1+
Group: System/Libraries
Summary: C++/Qt bindings for GStreamer
Version: 0.10.1
Release: 3
Source: %{name}-%{version}.tar.bz2
Patch0: fix-install-path.diff
# PATCH-FIX-UPSTREAM qt-gstreamer-glib2.patch bgo#653266 idoenmez@suse.de -- Fix compilation with new glib2
Patch1: qt-gstreamer-glib2.patch
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.
This package contains C++/Qt Bindings for GStreamer.
Authors:
--------
George Kiagiadakis
%package -n libQtGStreamer-0_10-devel
License: LGPLv2.1+
Group: Development/Libraries/C and C++
Summary: Include files and libraries mandatory for development
Requires: libQtGStreamer-0_10-0 = %version
Requires: gstreamer-0_10-plugins-base-devel
%description -n libQtGStreamer-0_10-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 C++/Qt Bindings for GStreamer.
Authors:
--------
George Kiagiadakis
%package -n libQtGLib-2_0-0
License: LGPLv2.1+
Group: System/Libraries
Summary: C++/Qt bindings for GLib
%description -n libQtGLib-2_0-0
GLib is a general-purpose utility library, which provides many useful
data types, macros, type conversions, string utilities, file utilities,
a main loop abstraction, and so on.
This package contains C++/Qt bindings for GLib.
Authors:
--------
George Kiagiadakis
%package -n libQtGStreamer-0_10-0
License: LGPLv2.1+
Group: System/Libraries
Summary: C++/Qt bindings for GStreamer
%description -n libQtGStreamer-0_10-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 contains C++/Qt Bindings for GStreamer.
Authors:
--------
George Kiagiadakis
%prep
%setup -q -n qt-gstreamer-%{version}
%patch0
%patch1
%build
%cmake_kde4 -d build -- -DQTGSTREAMER_STATIC=OFF
%make_jobs
%install
cd build
%makeinstall
%fdupes -s %{buildroot}%{_includedir}
%post -n libQtGLib-2_0-0 -p /sbin/ldconfig
%postun -n libQtGLib-2_0-0 -p /sbin/ldconfig
%post -n libQtGStreamer-0_10-0 -p /sbin/ldconfig
%postun -n libQtGStreamer-0_10-0 -p /sbin/ldconfig
%files -n libQtGLib-2_0-0
%defattr(-,root,root)
%{_libdir}/libQtGLib-2.0.so.*
%files -n libQtGStreamer-0_10-0
%defattr(-,root,root)
%{_libdir}/libQtGStreamer-0.10.so.*
%{_libdir}/libQtGStreamerUi-0.10.so.*
%{_libdir}/libQtGStreamerUtils-0.10.so.*
%{_libdir}/gstreamer-0.10/libgstqwidgetvideosink.so
%files -n libQtGStreamer-0_10-devel
%defattr(-,root,root)
/usr/include/QtGStreamer/
%{_libdir}/QtGStreamer/
%{_libdir}/libQtGStreamer-0.10.so
%{_libdir}/libQtGStreamerUi-0.10.so
%{_libdir}/libQtGStreamerUtils-0.10.so
%{_libdir}/libQtGLib-2.0.so
%{_libdir}/pkgconfig/QtGLib-2.0.pc
%{_libdir}/pkgconfig/QtGStreamer-0.10.pc
%{_libdir}/pkgconfig/QtGStreamerUi-0.10.pc
%{_libdir}/pkgconfig/QtGStreamerUtils-0.10.pc
%changelog