libqt-gstreamer/libqt-gstreamer.spec

95 lines
2.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: libqt-gstreamer
Version: 0.10.3
Release: 1mamba
Summary: C++ bindings for GStreamer with a Qt-style API
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://gstreamer.freedesktop.org/wiki/QtGStreamer
Source: http://gstreamer.freedesktop.org/src/qt-gstreamer/qt-gstreamer-%{version}.tar.bz2
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-0.10.so.*
%{_libdir}/libQtGStreamerUi-0.10.so.*
%{_libdir}/libQtGStreamerUtils-0.10.so.*
%{_libdir}/gstreamer-0.10/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-0.10.so
%{_libdir}/libQtGStreamerUi-0.10.so
%{_libdir}/libQtGStreamerUtils-0.10.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
#%doc README
%changelog
* Fri Oct 18 2013 Automatic Build System <autodist@mambasoft.it> 0.10.3-1mamba
- automatic update by autodist
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
- automatic version update by autodist
* Fri Mar 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1-1mamba
- package created by autospec