gstreamer1-plugins-base-vl.spec 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define major 1.0
  3. %define _gst_ver 1.16.0
  4. %define _glib2_ver 2.55.0
  5. %define _gtk3_ver 3.20.6
  6. %define _gtk_doc_ver 1.3
  7. %define _qt5_ver 5.6
  8. %define _check_ver 0.9.2
  9. %define _python_ver 2.7
  10. %define _alsa_lib_ver 0.9.1
  11. %define _libogg_ver 1.0
  12. %define _libvorbis_ver 1.0
  13. %define _freetype2_ver 2.0.9
  14. %define _orc_ver 0.4.22
  15. %define po_package gst-plugins-base-%{major}
  16. Summary: GStreamer Streaming-media framework base plugins
  17. Summary(ja): GStreamer ストリーミングメディアフレームワーク用基本プラグイン
  18. Name: gstreamer1-plugins-base
  19. Version: 1.16.0
  20. Release: 1%{?_dist_release}
  21. License: LGPL
  22. Group: System Environment/Libraries
  23. URL: http://gstreamer.freedesktop.org/
  24. Source: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. Requires: gstreamer1 >= %{_gst_ver}
  27. BuildRequires: gstreamer1-devel >= %{_gst_ver}
  28. BuildRequires: gtk-doc >= %{_gtk_doc_ver}
  29. BuildRequires: python >= %{_python_ver}, python-pyxml
  30. BuildRequires: glib2-devel >= %{_glib2_ver}
  31. BuildRequires: check >= %{_check_ver}
  32. BuildRequires: gtk3-devel >= %{_gtk3_ver}
  33. BuildRequires: qt5-qtbase-devel >= %{_qt5_ver}
  34. BuildRequires: alsa-lib-devel >= %{_alsa_lib_ver}
  35. BuildRequires: cdparanoia-devel
  36. BuildRequires: libogg-devel >= %{_libogg_ver}
  37. BuildRequires: libtheora-devel, libvorbis-devel >= %{_libvorbis_ver}
  38. BuildRequires: opus-devel
  39. BuildRequires: pango-devel
  40. BuildRequires: freetype2-devel >= %{_freetype2_ver}
  41. BuildRequires: fontconfig-devel
  42. BuildRequires: libX11-devel
  43. BuildRequires: libXv-devel
  44. BuildRequires: libvisual-devel
  45. BuildRequires: orc-devel >= %{_orc_ver}
  46. BuildRequires: gobject-introspection-devel
  47. Vendor: Project Vine
  48. Distribution: Vine Linux
  49. %description
  50. GStreamer is a streaming-media framework, based on graphs of filters which
  51. operate on media data. Applications using this library can do anything
  52. from real-time sound processing to playing videos, and just about anything
  53. else media-related. Its plugin-based architecture means that new data
  54. types or processing capabilities can be added simply by installing new
  55. plugins.
  56. This package contains a set of well-maintained base plugins.
  57. %package devel
  58. Summary: Libraries/include files for GStreamer base plugins
  59. Summary(ja): GStreamer 基本プラグインの開発用ライブラリ
  60. Group: Development/Libraries
  61. Requires: %{name} = %{version}-%{release}
  62. Requires: gstreamer1-devel >= %{_gst_ver}
  63. %description devel
  64. GStreamer is a streaming-media framework, based on graphs of filters which
  65. operate on media data. Applications using this library can do anything
  66. from real-time sound processing to playing videos, and just about anything
  67. else media-related. Its plugin-based architecture means that new data
  68. types or processing capabilities can be added simply by installing new
  69. plugins.
  70. This package contains GStreamer base plugins library depvelopment and header
  71. files.
  72. # compat32
  73. %package -n compat32-%{name}
  74. Summary: GStreamer Streaming-media framework base plugins
  75. Summary(ja): GStreamer ストリーミングメディアフレームワーク用基本プラグイン
  76. Group: System Environment/Libraries
  77. Requires: %{name} = %{version}-%{release}
  78. %description -n compat32-%{name}
  79. GStreamer is a streaming-media framework, based on graphs of filters which
  80. operate on media data. Applications using this library can do anything
  81. from real-time sound processing to playing videos, and just about anything
  82. else media-related. Its plugin-based architecture means that new data
  83. types or processing capabilities can be added simply by installing new
  84. plugins.
  85. This package contains a set of well-maintained base plugins.
  86. %package -n compat32-%{name}-devel
  87. Summary: Libraries/include files for GStreamer base plugins
  88. Summary(ja): GStreamer 基本プラグインの開発用ライブラリ
  89. Group: Development/Libraries
  90. Requires: compat32-%{name} = %{version}-%{release}
  91. Requires: %{name}-devel = %{version}-%{release}
  92. Requires: compat32-gstreamer1-devel >= %{_gst_ver}
  93. %description -n compat32-%{name}-devel
  94. GStreamer is a streaming-media framework, based on graphs of filters which
  95. operate on media data. Applications using this library can do anything
  96. from real-time sound processing to playing videos, and just about anything
  97. else media-related. Its plugin-based architecture means that new data
  98. types or processing capabilities can be added simply by installing new
  99. plugins.
  100. This package contains GStreamer base plugins library depvelopment and header
  101. files.
  102. %prep
  103. %setup -q -n gst-plugins-base-%{version}
  104. %build
  105. %ifarch alpha
  106. %define optflags -O2 -mieee -fPIC
  107. %endif
  108. %configure \
  109. --with-package-name='Vine Linux gstreamer-plugins-base package' \
  110. --disable-static \
  111. --disable-debug \
  112. --enable-orc \
  113. --enable-introspection=yes \
  114. --enable-wayland=no
  115. make %{?_smp_mflags}
  116. %install
  117. [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
  118. make install DESTDIR=$RPM_BUILD_ROOT
  119. # Clean out files that should not be part of the rpm.
  120. rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{major}/*.{a,la}
  121. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  122. %find_lang %{po_package}
  123. %clean
  124. [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
  125. %post -p /sbin/ldconfig
  126. %postun -p /sbin/ldconfig
  127. %post -n compat32-%{name} -p /sbin/ldconfig
  128. %postun -n compat32-%{name} -p /sbin/ldconfig
  129. %files -f %{po_package}.lang
  130. %defattr(-,root,root)
  131. %license COPYING*
  132. %doc AUTHORS ChangeLog NEWS README RELEASE REQUIREMENTS
  133. # helper programs
  134. %{_bindir}/gst-*
  135. %{_mandir}/man1/gst-*
  136. %{_datadir}/gst-plugins-base/1.0/license-translations.dict
  137. # libraries
  138. %{_libdir}/libgst*-%{major}.so.*
  139. %{_libdir}/girepository-1.0/*.typelib
  140. %{_libdir}/gstreamer-%{major}/libgst*.so
  141. %files devel
  142. %defattr(-,root,root)
  143. %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{major}
  144. %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{major}
  145. %{_datadir}/gir-1.0/*.gir
  146. %dir %{_includedir}/gstreamer-%{major}
  147. %dir %{_includedir}/gstreamer-%{major}/gst
  148. %{_includedir}/gstreamer-%{major}/gst/*
  149. %dir %{_libdir}/gstreamer-%{major}
  150. %{_libdir}/gstreamer-%{major}/*
  151. %{_libdir}/pkgconfig/*.pc
  152. %{_libdir}/libgst*-%{major}.so
  153. # compat32
  154. %if %{build_compat32}
  155. %files -n compat32-%{name}
  156. %defattr(-,root,root)
  157. %{_libdir}/libgst*-%{major}.so.*
  158. %{_libdir}/gstreamer-%{major}/*.so
  159. %files -n compat32-%{name}-devel
  160. %defattr(-,root,root)
  161. %{_libdir}/libgst*-%{major}.so
  162. %endif
  163. %changelog
  164. * Sat Jun 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-1
  165. - new upstream release.
  166. - disabled to build docs.
  167. * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12.4-1
  168. - new upstream release.
  169. * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  170. - new upstream release
  171. * Wed May 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1
  172. - new upstream release
  173. * Sun Jan 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1
  174. - new upstream release
  175. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  176. - new upstream release
  177. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  178. - new upstream release
  179. * Sun Mar 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.5-1
  180. - new upstream release
  181. * Mon Nov 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.4-1
  182. - new upstream release
  183. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1
  184. - new upstream release
  185. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1
  186. - new upstream release
  187. * Sun Mar 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  188. - new upstream release
  189. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  190. - new upstream release
  191. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  192. - new upstream release
  193. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  194. - new upstream release
  195. * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1
  196. - new upstream release
  197. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
  198. - new upstream release
  199. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  200. - new upstream release
  201. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  202. - new upstream release
  203. * Sat Mar 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  204. - new upstream release
  205. * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  206. - new upstream release
  207. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
  208. - new upstream release
  209. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  210. - new upstream release
  211. * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  212. - new upstream release
  213. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
  214. - initial build