xine-lib-extras-vl.spec 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. %define source_name xine-lib
  2. %define libname libxine1
  3. %define plugindir %{_libdir}/xine/plugins
  4. %define pluginver 1.28
  5. Name: xine-lib-extras
  6. Version: 1.1.18.1
  7. Release: 1%{?_dist_release}
  8. Summary: addtional plugins for xine
  9. Summary(ja): xine 用の追加プラグイン
  10. License: GPL
  11. Group: System Environment/Libraries
  12. URL: http://www.xine-project.org/
  13. Source0: http://prdownloads.sourceforge.net/xine/%{source_name}-%{version}.tar.bz2
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. %if %{?_dist_release} == "vl4"
  16. BuildRequires: XOrg-devel XOrg-gl-devel
  17. %else
  18. BuildRequires: libX11-devel
  19. BuildRequires: libXv-devel
  20. BuildRequires: libXinerama-devel
  21. BuildRequires: libXvMC-devel
  22. BuildRequires: libGLU-devel
  23. BuildRequires: libxcb-devel
  24. %endif
  25. # Video
  26. # Audio
  27. #BuildRequires: faad2-devel
  28. # Other
  29. BuildRequires: pkgconfig libtool-ltdl-devel
  30. BuildRequires: vine-release >= 4.2-1vl4
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. %description
  34. This package contains addtional plugins for xine:
  35. decoder
  36. - dts
  37. - dvaudio
  38. - ffmpeg
  39. - libmpeg2
  40. - nsf
  41. demuxer
  42. - asf
  43. input
  44. - DVD, Video-CD
  45. %description -l ja
  46. このパッケージには xine 向けの追加プラグインが含まれています。
  47. %package -n xine-lib-mad
  48. Summary: MAD audio decode plugin for xine
  49. Summary(ja): xine 用 MP3 オーディオデコードプラグイン
  50. Group: System Environment/Libraries
  51. %description -n xine-lib-mad
  52. MAD audio decode plugin for xine
  53. %description -n xine-lib-mad -l ja
  54. このパッケージには MP3 オーディオデコードプラグインが含まれています。
  55. %package -n xine-lib-faad
  56. Summary: FAAD audio decode plugin for xine
  57. Summary(ja): xine 用 AAC オーディオデコードプラグイン
  58. Group: System Environment/Libraries
  59. %description -n xine-lib-faad
  60. FAAD audio decode plugin for xine
  61. %description -n xine-lib-faad -l ja
  62. このパッケージには AAC オーディオデコードプラグインが含まれています。
  63. %package -n xine-lib-a52dec
  64. Summary: ATSC A-52 stream decode plugin for xine
  65. Summary(ja): xine 用 ATSC A-52 ストリームデコードプラグイン
  66. Group: System Environment/Libraries
  67. %description -n xine-lib-a52dec
  68. ATSC A-52 stream decode plugin for xine
  69. %description -n xine-lib-a52dec -l ja
  70. このパッケージには ATSC A-52 ストリームデコードプラグインが含まれています。
  71. %prep
  72. %setup -q -n %{source_name}-%{version}
  73. # Avoid standard rpaths on lib64 archs:
  74. sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure
  75. %build
  76. %configure \
  77. %if %{?_dist_release} == "vl4"
  78. --with-xv-path=%{_prefix}/X11R6/%{_lib} \
  79. %else
  80. --with-xv-path=%{_libdir} \
  81. %endif
  82. --enable-faad \
  83. --with-external-libfaad \
  84. --with-libflac \
  85. --disable-opengl \
  86. --disable-syncfb \
  87. --disable-v4l --disable-libv4l \
  88. --disable-xvmc \
  89. --disable-xinerama \
  90. --disable-aalib \
  91. --disable-fb \
  92. --disable-dxr3 \
  93. --disable-vidix \
  94. --disable-aalib \
  95. --disable-musepack \
  96. --disable-mng \
  97. --disable-gnomevfs \
  98. --disable-gdkpixbuf \
  99. --disable-samba \
  100. --without-sdl \
  101. --without-pulseaudio \
  102. --without-vorbis \
  103. --without-theora \
  104. --without-speex \
  105. --without-imagemagick \
  106. --without-alsa \
  107. --without-esound \
  108. --without-jack
  109. %{__make} %{?_smp_mflags}
  110. %install
  111. %{__rm} -rf $RPM_BUILD_ROOT
  112. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  113. ## Clean out files that should not be part of the rpm.
  114. %{__rm} -rf $RPM_BUILD_ROOT%{_bindir}
  115. %{__rm} -rf $RPM_BUILD_ROOT%{_datadir}
  116. %{__rm} -rf $RPM_BUILD_ROOT%{_includedir}
  117. %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/libxine.{a,so*,la}
  118. %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
  119. %{__rm} -rf $RPM_BUILD_ROOT%{_mandir}
  120. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/mime.types
  121. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_bitplane.so
  122. #{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_d*.so
  123. #{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_ff.so
  124. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_image.so
  125. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_lpcm.so
  126. #{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_nsf.so
  127. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_qt.so
  128. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_r*.so
  129. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_yuv.so
  130. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_g*.so
  131. #{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_m*.so
  132. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_s*.so
  133. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_vorbis.so
  134. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_theora.so
  135. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_w32dll.so
  136. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_ao*.so
  137. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_vo*.so
  138. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_audio.so
  139. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_avi.so
  140. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_f*.so
  141. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_games.so
  142. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_iff.so
  143. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_m*.so
  144. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_nsv*.so
  145. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_pva.so
  146. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_qt.so
  147. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_r*.so
  148. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_s*.so
  149. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_y*.so
  150. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_cdda.so
  151. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_dvb.so
  152. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_file.so
  153. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_http.so
  154. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_net.so
  155. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_p*.so
  156. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_r*.so
  157. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_stdin_fifo.so
  158. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_v4l.so
  159. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_flac.so
  160. #%___rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_a52.so
  161. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/vidix
  162. %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/post
  163. #%find_lang %{libname}
  164. %clean
  165. %{__rm} -rf $RPM_BUILD_ROOT
  166. %post -p /sbin/ldconfig
  167. %postun -p /sbin/ldconfig
  168. %post -n xine-lib-mad -p /sbin/ldconfig
  169. %postun -n xine-lib-mad -p /sbin/ldconfig
  170. %post -n xine-lib-faad -p /sbin/ldconfig
  171. %postun -n xine-lib-faad -p /sbin/ldconfig
  172. %post -n xine-lib-a52dec -p /sbin/ldconfig
  173. %postun -n xine-lib-a52dec -p /sbin/ldconfig
  174. %files
  175. %defattr(-,root,root)
  176. %{plugindir}/%{pluginver}/xineplug_decode_dts.so
  177. %{plugindir}/%{pluginver}/xineplug_decode_dvaudio.so
  178. %{plugindir}/%{pluginver}/xineplug_decode_ff.so
  179. %{plugindir}/%{pluginver}/xineplug_decode_mpeg2.so
  180. %{plugindir}/%{pluginver}/xineplug_decode_nsf.so
  181. %{plugindir}/%{pluginver}/xineplug_dmx_asf.so
  182. %{plugindir}/%{pluginver}/xineplug_inp_dvd.so
  183. %{plugindir}/%{pluginver}/xineplug_inp_mms.so
  184. %{plugindir}/%{pluginver}/xineplug_inp_vcd.so
  185. %{plugindir}/%{pluginver}/xineplug_inp_vcdo.so
  186. %files -n xine-lib-mad
  187. %defattr(-,root,root)
  188. %{plugindir}/%{pluginver}/xineplug_decode_mad.so
  189. %files -n xine-lib-faad
  190. %defattr(-,root,root)
  191. %{plugindir}/%{pluginver}/xineplug_decode_faad.so
  192. %files -n xine-lib-a52dec
  193. %defattr(-,root,root)
  194. %{plugindir}/%{pluginver}/xineplug_decode_a52.so
  195. %changelog
  196. * Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.18.1-1
  197. - new upstream release
  198. - built with new toolchain
  199. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.16.3-2
  200. - change release to sync with self-build-xine-lib-extras
  201. * Sat Apr 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.3-1
  202. - new upstream release with security fix
  203. - Fix another possible int overflow in the 4XM demuxer.
  204. (ref. TKADV2009-004, CVE-2009-0385)
  205. - Fix an integer overflow in the Quicktime demuxer.
  206. * Sun Mar 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-3
  207. - removed BuildRequires: faad2-devel
  208. - updated URL
  209. * Wed Feb 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-2
  210. - fixed Provides and Obsoletes in self-build-xine-lib-extras.spec
  211. * Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-1
  212. - new upstream release
  213. * Wed Feb 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.1-1
  214. - new upstream release
  215. - added more plugins
  216. * Sun Feb 8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.15-7
  217. - changed package name xine-lib-extras
  218. * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.15-6
  219. - spec in utf8
  220. - add the list of all PreReq: packages in self-build-xine-lib-faad.spec
  221. to BuildRequires: in xine-lib-faad.spec
  222. * Sun Sep 28 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-5
  223. - Typo Fixes(%changelog)
  224. * Sun Sep 28 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-4
  225. - drop self-build-faac(PreReq)
  226. * Tue Sep 16 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-2
  227. - devel package to add prereq > self-build-xine-lib-faad.spec.
  228. - Drop BuildRequires > xine-lib-faad.spec
  229. * Sun Aug 24 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-1
  230. - 1st Release.
  231. # end of file