qt-gstreamer-vl.spec 4.4 KB

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