]> git.pld-linux.org Git - packages/qt-gstreamer.git/blame - qt-gstreamer.spec
- updated to 0.10.1
[packages/qt-gstreamer.git] / qt-gstreamer.spec
CommitLineData
3b311080
JB
1Summary: QtGStreamer - libraries integrating Qt with GStreamer
2Summary(pl.UTF-8): QtGStreamer - biblioteki integrujące Qt z GStreamerem
3Name: qt-gstreamer
f6eae54a 4Version: 0.10.1
3b311080
JB
5Release: 1
6License: LGPL v2+
7Group: Libraries
f6eae54a
JB
8Source0: http://gstreamer.freedesktop.org/src/qt-gstreamer/%{name}-%{version}.tar.bz2
9# Source0-md5: d2507a8084973fa9956d792c20013977
3b311080
JB
10URL: http://gstreamer.net/
11BuildRequires: QtCore-devel >= 4.5
12BuildRequires: QtGui-devel >= 4.5
13BuildRequires: QtTest-devel >= 4.5
14BuildRequires: automoc4 >= 0.9.88
15BuildRequires: bison
f6eae54a 16BuildRequires: boost-devel >= 1.39
3b311080
JB
17BuildRequires: cmake >= 2.8
18BuildRequires: flex
19BuildRequires: gstreamer-devel >= 0.10.31
20BuildRequires: gstreamer-plugins-base-devel >= 0.10.31
21BuildRequires: libstdc++-devel >= 6:4.5
22BuildRequires: pkgconfig
23BuildRequires: qt4-qmake >= 4.5
24Requires: QtCore >= 4.5
25Requires: QtGui >= 4.5
26Requires: gstreamer >= 0.10.31
27Requires: gstreamer-plugins-base >= 0.10.31
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31QtGStreamer is a set of libraries and plugins providing C++ bindings
32for GStreamer with a Qt-style API plus some helper classes for
33integrating GStreamer better in Qt applications.
34
35Currently, it consists of the following parts:
36 * QtGLib - library providing C++/Qt bindings for parts of the GLib
37 and GObject APIs, a base on which QtGStreamer is built.
38 * QtGStreamer - library providing C++/Qt bindings for GStreamer
39 * QtGStreamerUi - library providing integration with QtGui;
40 currently, it only provides a video widget that embeds GStreamer's
41 video sinks.
f6eae54a
JB
42 * QtGStreamerUtils - library providing some high level utility
43 classes.
3b311080
JB
44
45In addition, it provides a "qwidgetvideosink" GStreamer element, an
46video sink element that can draw directly on QWidgets using QPainter.
47
48%description -l pl.UTF-8
49QtGStreamer to zestaw bibliotek i wtyczek z wiązaniami C++ do
50GStreamera o API w stylu Qt oraz klasami pomocniczymi dla lepszej
51integracji GStreamera w aplikacjach Qt.
52
53Obecnie zawiera następujące części:
54 - QtGLib - biblioteka z wiązaniami C++/Qt dla części API bibliotek
55 GLib i GObject; w oparciu o nią zbudowany jest QtGStreamer
56 - QtGStreamer - biblioteka z wiązaniami C++/Qt do GStreamera
57 - QtGStreamerUi - biblioteka integrująca z QtGui; obecnie zawiera
58 tylko widget wideo osadzający wyjście obrazu (videosink) GStremera.
f6eae54a
JB
59 - QtGStreamerUtils - biblioteka udostępniająca klasy narzędziowe
60 wysokiego poziomu.
3b311080
JB
61
62Ponadto pakiet udostępnia element GStreamera "qwidgetvideosink" -
63element wyjściowy obrazu rysujący bezpośrednio na QWidgetach przy
64użyciu QPaintera.
65
66%description -l pl.UTF-8
67GstRTSP to serwer RTSP zbudowany w oparciu o GStreamera.
68
69%package devel
70Summary: Header files for QtGStreamer libraries
71Summary(pl.UTF-8): Pliki nagłówkowe bibliotek QtGStreamer
72Group: Development/Libraries
73Requires: %{name} = %{version}-%{release}
74Requires: QtCore-devel >= 4.5
75Requires: QtGui-devel >= 4.5
76Requires: gstreamer-devel >= 0.10.31
77Requires: gstreamer-plugins-base-devel >= 0.10.31
78
79%description devel
80Header files for QtGStreamer libraries.
81
82%description devel -l pl.UTF-8
83Pliki nagłówkowe bibliotek QtGStreamer.
84
85%prep
86%setup -q
87
88%build
89install -d build
90cd build
91%cmake .. \
92 -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
93 -DQTGSTREAMER_EXAMPLES=OFF \
94 -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
95
96%{__make}
97
98%install
99rm -rf $RPM_BUILD_ROOT
100
101%{__make} -C build install \
102 DESTDIR=$RPM_BUILD_ROOT
103
104%clean
105rm -rf $RPM_BUILD_ROOT
106
107%post -p /sbin/ldconfig
108%postun -p /sbin/ldconfig
109
110%files
111%defattr(644,root,root,755)
112%doc README
113%attr(755,root,root) %{_libdir}/libQtGLib-2.0.so.*.*.*
114%attr(755,root,root) %ghost %{_libdir}/libQtGLib-2.0.so.0
115%attr(755,root,root) %{_libdir}/libQtGStreamer-0.10.so.*.*.*
116%attr(755,root,root) %ghost %{_libdir}/libQtGStreamer-0.10.so.0
117%attr(755,root,root) %{_libdir}/libQtGStreamerUi-0.10.so.*.*.*
118%attr(755,root,root) %ghost %{_libdir}/libQtGStreamerUi-0.10.so.0
f6eae54a
JB
119%attr(755,root,root) %{_libdir}/libQtGStreamerUtils-0.10.so.*.*.*
120%attr(755,root,root) %ghost %{_libdir}/libQtGStreamerUtils-0.10.so.0
3b311080
JB
121%attr(755,root,root) %{_libdir}/gstreamer-0.10/libgstqwidgetvideosink.so
122
123%files devel
124%defattr(644,root,root,755)
125%attr(755,root,root) %{_libdir}/libQtGLib-2.0.so
126%attr(755,root,root) %{_libdir}/libQtGStreamer-0.10.so
127%attr(755,root,root) %{_libdir}/libQtGStreamerUi-0.10.so
f6eae54a 128%attr(755,root,root) %{_libdir}/libQtGStreamerUtils-0.10.so
3b311080
JB
129%{_includedir}/QtGStreamer
130%{_pkgconfigdir}/QtGLib-2.0.pc
131%{_pkgconfigdir}/QtGStreamer-0.10.pc
132%{_pkgconfigdir}/QtGStreamerUi-0.10.pc
f6eae54a 133%{_pkgconfigdir}/QtGStreamerUtils-0.10.pc
3b311080
JB
134%dir %{_libdir}/QtGStreamer
135%{_libdir}/QtGStreamer/QtGStreamer*.cmake
This page took 0.046638 seconds and 4 git commands to generate.