gstreamer1-plugins-base-vl.spec 8.3 KB

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