gstreamer1-plugins-base-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define major 1.0
  3. %define _gst_ver 1.2.0
  4. %define _glib2_ver 2.38.0
  5. %define _gtk3_ver 3.10.0
  6. %define _gtk_doc_ver 1.3
  7. %define _qt4_ver 4.6
  8. %define _check_ver 0.9.2
  9. %define _python_ver 2.6
  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.18
  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.2.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: qt4-devel >= %{_qt4_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: pango-devel
  39. BuildRequires: freetype2-devel >= %{_freetype2_ver}
  40. BuildRequires: fontconfig-devel
  41. BuildRequires: libX11-devel
  42. BuildRequires: libXv-devel
  43. BuildRequires: libvisual-devel
  44. BuildRequires: orc-devel >= %{_orc_ver}
  45. BuildRequires: gobject-introspection-devel
  46. Vendor: Project Vine
  47. Distribution: Vine Linux
  48. Packager: Takemikaduchi
  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. --enable-gtk-doc \
  111. --disable-static \
  112. --disable-debug \
  113. --enable-orc \
  114. --enable-introspection=yes
  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. %doc AUTHORS ChangeLog COPYING* NEWS README RELEASE REQUIREMENTS
  132. # helper programs
  133. %{_bindir}/gst-*
  134. %{_mandir}/man1/gst-*
  135. %{_datadir}/gst-plugins-base/1.0/license-translations.dict
  136. # libraries
  137. %{_libdir}/libgst*-%{major}.so.*
  138. %{_libdir}/girepository-1.0/*.typelib
  139. # base plugins without external dependencies
  140. %{_libdir}/gstreamer-%{major}/libgstadder.so
  141. %{_libdir}/gstreamer-%{major}/libgstaudioconvert.so
  142. %{_libdir}/gstreamer-%{major}/libgstaudiorate.so
  143. %{_libdir}/gstreamer-%{major}/libgstaudioresample.so
  144. %{_libdir}/gstreamer-%{major}/libgstaudiotestsrc.so
  145. %{_libdir}/gstreamer-%{major}/libgstapp.so
  146. %{_libdir}/gstreamer-%{major}/libgstcdparanoia.so
  147. %{_libdir}/gstreamer-%{major}/libgstencodebin.so
  148. %{_libdir}/gstreamer-%{major}/libgstgio.so
  149. %{_libdir}/gstreamer-%{major}/libgstplayback.so
  150. %{_libdir}/gstreamer-%{major}/libgstsubparse.so
  151. %{_libdir}/gstreamer-%{major}/libgsttcp.so
  152. %{_libdir}/gstreamer-%{major}/libgsttypefindfunctions.so
  153. %{_libdir}/gstreamer-%{major}/libgstvideoconvert.so
  154. %{_libdir}/gstreamer-%{major}/libgstvideorate.so
  155. %{_libdir}/gstreamer-%{major}/libgstvideoscale.so
  156. %{_libdir}/gstreamer-%{major}/libgstvideotestsrc.so
  157. %{_libdir}/gstreamer-%{major}/libgstvolume.so
  158. %{_libdir}/gstreamer-%{major}/libgstximagesink.so
  159. %{_libdir}/gstreamer-%{major}/libgstxvimagesink.so
  160. # base plugins with external dependencies, but in the main package
  161. %{_libdir}/gstreamer-%{major}/libgstalsa.so
  162. %{_libdir}/gstreamer-%{major}/libgstpango.so
  163. %{_libdir}/gstreamer-%{major}/libgstlibvisual.so
  164. %{_libdir}/gstreamer-%{major}/libgstogg.so
  165. %{_libdir}/gstreamer-%{major}/libgsttheora.so
  166. %{_libdir}/gstreamer-%{major}/libgstvorbis.so
  167. %files devel
  168. %defattr(-,root,root)
  169. %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{major}
  170. %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{major}
  171. %{_datadir}/gir-1.0/*.gir
  172. %{_includedir}/gstreamer-%{major}/gst/*
  173. %{_libdir}/pkgconfig/*.pc
  174. %{_libdir}/libgst*-%{major}.so
  175. # compat32
  176. %if %{build_compat32}
  177. %files -n compat32-%{name}
  178. %defattr(-,root,root)
  179. %{_libdir}/libgst*-%{major}.so.*
  180. %{_libdir}/gstreamer-%{major}/*.so
  181. %files -n compat32-%{name}-devel
  182. %defattr(-,root,root)
  183. %{_libdir}/libgst*-%{major}.so
  184. %endif
  185. %changelog
  186. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  187. - new upstream release
  188. * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1
  189. - new upstream release
  190. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
  191. - new upstream release
  192. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  193. - new upstream release
  194. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  195. - new upstream release
  196. * Sat Mar 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  197. - new upstream release
  198. * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  199. - new upstream release
  200. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
  201. - new upstream release
  202. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  203. - new upstream release
  204. * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  205. - new upstream release
  206. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
  207. - initial build