%define apiver 1.0 Name: libqt-gstreamer Version: 1.2.0 Release: 1mamba Summary: C++ bindings for GStreamer with a Qt-style API Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://gstreamer.freedesktop.org/wiki/QtGStreamer Source: http://gstreamer.freedesktop.org/src/qt-gstreamer/qt-gstreamer-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel BuildRequires: pkg-config ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %debug_package %description QtGStreamer provides C++ bindings for GStreamer with a Qt-style API, plus some helper classes for integrating GStreamer better in Qt applications. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} ## note: you can add this requirement if .pc files are provided by this package #Requires: pkgconfig %description devel This package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n qt-gstreamer-%{version} %build %cmake -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libQtGLib-2.0.so.* %{_libdir}/libQtGStreamer-%{apiver}.so.* %{_libdir}/libQtGStreamerUi-%{apiver}.so.* %{_libdir}/libQtGStreamerUtils-%{apiver}.so.* %{_libdir}/gstreamer-%{apiver}/libgstqtvideosink.so %{_libdir}/qt4/imports/QtGStreamer/libQtGStreamerQuick1.so %{_libdir}/qt4/imports/QtGStreamer/qmldir %doc COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/QtGStreamer %dir %{_includedir}/QtGStreamer/QGlib %{_includedir}/QtGStreamer/QGlib/* %dir %{_includedir}/QtGStreamer/QGst %{_includedir}/QtGStreamer/QGst/* %{_libdir}/cmake/QtGStreamer/QtGStreamerConfig*.cmake %{_libdir}/cmake/QtGStreamer/QtGStreamerTargets*.cmake %{_libdir}/libQtGLib-2.0.so %{_libdir}/libQtGStreamer-%{apiver}.so %{_libdir}/libQtGStreamerUi-%{apiver}.so %{_libdir}/libQtGStreamerUtils-%{apiver}.so %{_libdir}/pkgconfig/QtGLib-2.0.pc %{_libdir}/pkgconfig/QtGStreamer-%{apiver}.pc %{_libdir}/pkgconfig/QtGStreamerUi-%{apiver}.pc %{_libdir}/pkgconfig/QtGStreamerUtils-%{apiver}.pc #%doc README %changelog * Thu Sep 18 2014 Silvan Calarco 1.2.0-1mamba - update to 1.2.0 * Fri Oct 18 2013 Automatic Build System 0.10.3-1mamba - automatic update by autodist * Thu Aug 09 2012 Automatic Build System 0.10.2-1mamba - automatic version update by autodist * Fri Mar 02 2012 Silvan Calarco 0.10.1-1mamba - package created by autospec