source: projects/specs/trunk/q/qt-gstreamer/qt-gstreamer-vl.spec @ 9322

Revision 9322, 4.4 KB checked in by inagaki, 7 years ago (diff)

2015-02-01 Ryoichi INAGAKI <ryo1@…>

  • qt-gstreamer: new
  • qt4: added patches and removed gstreamer-0.10 dependency


Line 
1Name:           qt-gstreamer
2Version:        1.2.0
3Release:        3%{?_dist_release}
4Summary:        C++ bindings for GStreamer with a Qt-style API
5Summary(ja):    Qt スタイルの API を備えた Gstreamer の C++ バインディング
6
7License:        LGPLv2+
8Group:          System Environment/Libraries
9URL:            http://gstreamer.freedesktop.org/modules/qt-gstreamer.html
10
11Source0:        http://gstreamer.freedesktop.org/src/%{name}/%{name}-%{version}.tar.xz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  automoc4
15BuildRequires:  cmake
16BuildRequires:  libboost-devel
17BuildRequires:  gstreamer1-plugins-base-devel
18BuildRequires:  qt4-devel
19#BuildRequires:  qt5-qtdeclarative-devel
20#BuildRequires:  qt5-qtquick1-devel
21
22%{?_qt4_version:Requires: qt4 >= %{_qt4_version}}
23
24%description
25QtGStreamer provides C++ bindings for GStreamer with a Qt-style
26API, plus some helper classes for integrating GStreamer better
27in Qt4 applications.
28
29
30%package devel
31Summary:        Header files and development adocumentation for %{name}
32Summary(ja):    %{name} の開発用ファイル
33Group:          Development/Libraries
34Requires:       %{name} = %{version}-%{release}
35Requires:       libboost-devel
36
37%description devel
38This package contains the header files and development documentation
39for %{name}.
40
41%prep
42%setup -q
43
44%build
45mkdir -p %{_target_platform}
46pushd %{_target_platform}
47%cmake -DQT_VERSION=4 ..
48popd
49
50make %{?_smp_mflags} -C %{_target_platform}
51
52
53%install
54rm -rf %{buildroot}
55make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
56
57%clean
58rm -rf %{buildroot}
59
60%post -p /sbin/ldconfig
61
62%postun -p /sbin/ldconfig
63
64%files
65%defattr(-,root,root,-)
66%doc COPYING README
67%{_libdir}/gstreamer-1.0/libgstqtvideosink.so
68%{_libdir}/libQtGLib-2.0.so.0
69%{_libdir}/libQtGLib-2.0.so.1*
70%{_libdir}/libQtGStreamer-1.0.so.0
71%{_libdir}/libQtGStreamer-1.0.so.1*
72%{_libdir}/libQtGStreamerUi-1.0.so.0
73%{_libdir}/libQtGStreamerUi-1.0.so.1*
74%{_libdir}/libQtGStreamerUtils-1.0.so.0
75%{_libdir}/libQtGStreamerUtils-1.0.so.1*
76%{_libdir}/qt4/imports/QtGStreamer/
77
78%files devel
79%defattr(-,root,root,-)
80%doc HACKING
81%{_includedir}/QtGStreamer
82%{_libdir}/cmake/QtGStreamer
83%{_libdir}/libQtGLib-2.0.so
84%{_libdir}/libQtGStreamer-1.0.so
85%{_libdir}/libQtGStreamerUi-1.0.so
86%{_libdir}/libQtGStreamerUtils-1.0.so
87%{_libdir}/pkgconfig/QtGLib-2.0.pc
88%{_libdir}/pkgconfig/QtGStreamer-1.0.pc
89%{_libdir}/pkgconfig/QtGStreamerUi-1.0.pc
90%{_libdir}/pkgconfig/QtGStreamerUtils-1.0.pc
91
92
93%changelog
94* Sun Feb  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.2.0-3
95- Initial build for Vine Linux
96
97* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
98- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
99
100* Wed Jul  9 2014 Alexey Kurov <nucleo@fedoraproject.org> - 1.2.0-1
101- qt-gstreamer-1.2.0
102- switch to gstreamer1
103
104* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-4
105- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
106
107* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.10.3-3
108- Rebuild for boost 1.55.0
109
110* Fri Nov 15 2013 Alexey Kurov <nucleo@fedoraproject.org> - 0.10.3-2
111- rebuilt for arm switch qreal double
112
113* Wed Oct 16 2013 Alexey Kurov <nucleo@fedoraproject.org> - 0.10.3-1
114- qt-gstreamer-0.10.3
115- BR: qt5-qtbase-devel qt5-qtquick1-devel
116- added qt5-gstreamer and qt5-gstreamer-devel subpackages
117- remove Requires pulled in via automatic pkgconfig deps
118
119* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.2-6
120- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
121
122* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.10.2-5
123- Rebuild for boost 1.54.0
124
125* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.10.2-4
126- Rebuild for Boost-1.53.0
127
128* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.10.2-3
129- Rebuild for Boost-1.53.0
130
131* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.2-2
132- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
133
134* Sun Apr 15 2012 Alexey Kurov <nucleo@fedoraproject.org> - 0.10.2-1
135- qt-gstreamer-0.10.2
136
137* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-3
138- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
139
140* Wed Aug 31 2011 Alexey Kurov <nucleo@fedoraproject.org> - 0.10.1-2
141- Fix compilation with glib 2.29 (FTBFS #716209)
142
143* Thu Feb  3 2011 Alexey Kurov <nucleo@fedoraproject.org> - 0.10.1-1
144- Initial RPM release
Note: See TracBrowser for help on using the repository browser.