xine-lib-vl.spec 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924
  1. %define libname libxine1
  2. %define plugindir %{_libdir}/xine/plugins
  3. %define pluginver 1.28
  4. %define build_alsa 1
  5. %define build_arts 0
  6. %define build_pulseaudio 1
  7. %define build_jack 1
  8. %if %{?_dist_release} == "vl4"
  9. %define build_pulseaudio 0
  10. %endif
  11. %define build_dxr3 0
  12. %define build_mpc 0
  13. Summary: A Free Multimedia Player (Libraries)
  14. Summary(ja): フリーのメディアプレイヤー (ライブラリ)
  15. Name: xine-lib
  16. Version: 1.1.18.1
  17. Release: 3%{?_dist_release}
  18. License: GPL
  19. Group: System Environment/Libraries
  20. URL: http://xinehq.de/
  21. Source: http://prdownloads.sourceforge.net/xine/%{name}-%{version}.tar.bz2
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: inagaki, daisuke
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. %if %{?_dist_release} == "vl4"
  27. BuildRequires: XOrg-devel XOrg-gl-devel
  28. %else
  29. BuildRequires: libX11-devel
  30. BuildRequires: libXv-devel
  31. BuildRequires: libXinerama-devel
  32. BuildRequires: libXvMC-devel
  33. BuildRequires: libGLU-devel
  34. BuildRequires: libv4l-devel
  35. BuildRequires: libxcb-devel
  36. %endif
  37. # Video
  38. BuildRequires: SDL-devel >= 1.2.11
  39. BuildRequires: libtheora-devel
  40. BuildRequires: libmng-devel
  41. BuildRequires: aalib-devel >= 1.4
  42. BuildRequires: ImageMagick-devel
  43. %if %{?_dist_release} != "vl4"
  44. BuildRequires: fontconfig-devel
  45. %endif
  46. BuildRequires: freetype2-devel
  47. # Audio
  48. BuildRequires: alsa-lib-devel >= 0.9.0
  49. BuildRequires: esound-devel >= 0.2.8
  50. BuildRequires: flac-devel
  51. %if %{build_jack}
  52. BuildRequires: jack-audio-connection-kit-devel
  53. %endif
  54. BuildRequires: libvorbis-devel
  55. %if %{build_pulseaudio}
  56. BuildRequires: pulseaudio-lib-devel
  57. %endif
  58. BuildRequires: speex-devel
  59. %if %{build_arts}
  60. BuildRequires: arts-devel >= 0.9.5
  61. %endif
  62. # CDs
  63. BuildRequires: libcdio-devel
  64. # Other
  65. BuildRequires: pkgconfig libtool-ltdl-devel
  66. BuildRequires: gnome-vfs2-devel
  67. BuildRequires: gtk2-devel
  68. %if %{?_dist_release} == "vl4"
  69. BuildRequires: samba-libsmbclient-devel
  70. %else
  71. BuildRequires: libsmbclient-devel
  72. %endif
  73. BuildRequires: vine-release >= 4.2-1vl4
  74. %description
  75. xine-lib is a free multimedia player library.
  76. This package contains a library and essential plguins for xine.
  77. %description -l ja
  78. xine-lib はフリーのメディアプレイヤーライブラリです。
  79. このパッケージには、xine のライブラリと基本的なプラグインが
  80. 含まれています。
  81. %package devel
  82. Summary: Development files for xine-lib
  83. Summary(ja): xine-lib の開発用ファイル
  84. Group: Development/Libraries
  85. Requires: %{name} = %{version}-%{release}
  86. Requires: zlib-devel
  87. %description devel
  88. This package contains header files and documentation required
  89. to develope programs with xine-lib.
  90. %description -l ja devel
  91. このパッケージには、xine-lib を用いたプログラムの開発に必要なヘッダ
  92. ファイルやドキュメントが含まれています。
  93. ##### audio output plugins #################################
  94. %package esd
  95. Summary: EsounD audio output plugin for xine
  96. Summary(ja): xine - EsounD オーディオ出力プラグイン
  97. Group: System Environment/Libraries
  98. Requires: %{name} = %{version}-%{release}
  99. %description esd
  100. This package contains EsounD audio output plugin.
  101. %description -l ja esd
  102. このパッケージには EsounD オーディオ出力プラグインが含まれています。
  103. %if %{build_arts}
  104. %package arts
  105. Summary: aRts audio output plugin for xine
  106. Summary(ja): xine - aRts オーディオ出力プラグイン
  107. Group: System Environment/Libraries
  108. Requires: %{name} = %{version}-%{release}
  109. %description arts
  110. This package contains aRts audio output plugin.
  111. %description -l ja arts
  112. このパッケージには aRts オーディオ出力プラグインが含まれています。
  113. %endif
  114. %if %{build_alsa}
  115. %package alsa
  116. Summary: ALSA audio output plugin for xine
  117. Summary(ja): xine - ALSA オーディオ出力プラグイン
  118. Group: System Environment/Libraries
  119. Requires: %{name} = %{version}-%{release}
  120. %description alsa
  121. This package contains ALSA audio output plugin.
  122. %description -l ja alsa
  123. このパッケージには ALSA オーディオ出力プラグインが含まれています。
  124. %endif
  125. %if %{build_pulseaudio}
  126. %package pulseaudio
  127. Summary: Pulseaudio output plugin for xine
  128. Summary(ja): xine - Pulseaudio 出力プラグイン
  129. Group: System Environment/Libraries
  130. Requires: %{name} = %{version}-%{release}
  131. %description pulseaudio
  132. This package contains Pulseaudio output plugin.
  133. %description -l ja pulseaudio
  134. このパッケージには Pulseaudio 出力プラグインが含まれています。
  135. %endif
  136. %if %{build_jack}
  137. %package jack
  138. Summary: jack output plugin for xine
  139. Summary(ja): xine - jack 出力プラグイン
  140. Group: System Environment/Libraries
  141. Requires: %{name} = %{version}-%{release}
  142. %description jack
  143. This package contains jack output plugin.
  144. %description -l ja jack
  145. このパッケージには jack 出力プラグインが含まれています。
  146. %endif
  147. ##### video output plugins #################################
  148. %package sdl
  149. Summary: SDL video output plugin for xine
  150. Summary(ja): xine - SDL ビデオ出力プラグイン
  151. Group: System Environment/Libraries
  152. Requires: %{name} = %{version}-%{release}
  153. %description sdl
  154. This package contains SDL video output plugin.
  155. %description -l ja sdl
  156. このパッケージには SDL ビデオ出力プラグインが含まれています。
  157. %package opengl
  158. Summary: OpenGL video output plugin for xine
  159. Summary(ja): xine - OpenGL ビデオ出力プラグイン
  160. Group: System Environment/Libraries
  161. Requires: %{name} = %{version}-%{release}
  162. %description opengl
  163. This package contains OpenGL video output plugin.
  164. %description -l ja opengl
  165. このパッケージには OpenGL ビデオ出力プラグインが含まれています。
  166. %package aa
  167. Summary: Ascii ART video output plugin for xine
  168. Summary(ja): xine - アスキーアートビデオ出力プラグイン
  169. Group: System Environment/Libraries
  170. Requires: %{name} = %{version}-%{release}
  171. %description aa
  172. This package contains Ascii ART video output plugin.
  173. %description -l ja aa
  174. このパッケージにはアスキーアートビデオ出力プラグインが含まれています。
  175. %if %{build_dxr3}
  176. %package dxr3
  177. Summary: DXR3 video output plugin for xine
  178. Summary(ja): xine - DXR3 ビデオ出力プラグイン
  179. Group: System Environment/Libraries
  180. Requires: %{name} = %{version}-%{release}
  181. %description dxr3
  182. This package contains DXR3, a MPEG2 hardware decoder, video output
  183. plugin.
  184. %description -l ja dxr3
  185. このパッケージには DXR3 (MPEG2 ハードウェアデコーダ) ビデオ出力
  186. プラグインが含まれています。
  187. %endif
  188. ##### input plugins ########################################
  189. %package gnomevfs
  190. Summary: GNOME vfs input plugin for xine
  191. Summary(ja): xine - GNOME vfs 入力プラグイン
  192. Group: System Environment/Libraries
  193. Requires: %{name} = %{version}-%{release}
  194. %description gnomevfs
  195. This package contains GNOME vfs input plugin.
  196. %description -l ja gnomevfs
  197. このパッケージには GNOME vfs 入力プラグインが含まれています。
  198. %package smb
  199. Summary: Samba input plugin for xine
  200. Summary(ja): xine - Samba 入力プラグイン
  201. Group: System Environment/Libraries
  202. Requires: %{name} = %{version}-%{release}
  203. %description smb
  204. This package contains Samba input plugin.
  205. %description -l ja smb
  206. このパッケージには Samba 入力プラグインが含まれています。
  207. ##### ogg files demux & decode plugins #####################
  208. %package ogg
  209. Summary: Ogg/Ogm audio/video input plugin for xine
  210. Summary(ja): xine - Ogg/Ogm オーディオ/ビデオ入力プラグイン
  211. Group: System Environment/Libraries
  212. Requires: %{name} = %{version}-%{release}
  213. Provides: %{name}-oggvorbis
  214. Provides: %{name}-oggspeex
  215. Provides: %{name}-oggtheora
  216. %description ogg
  217. This package contains Ogg/Ogm audio/video input plugin.
  218. %description -l ja ogg
  219. このパッケージには Ogg/Ogm オーディオ/ビデオ入力プラグインが
  220. 含まれています。
  221. ##### decode plugins #######################################
  222. %package flac
  223. Summary: FLAC audio decode plugin for xine
  224. Summary(ja): xine - FLAC オーディオデコードプラグイン
  225. Group: System Environment/Libraries
  226. Requires: %{name} = %{version}-%{release}
  227. %description flac
  228. This package contains FLAC audio decode plugin.
  229. %description -l ja flac
  230. このパッケージには FLAC オーディオデコードプラグインが含まれています。
  231. %if %{build_mpc}
  232. %package musepack
  233. Summary: Musepack audio decode plugin for xine
  234. Summary(ja): xine - Musepack オーディオデコードプラグイン
  235. Group: System Environment/Libraries
  236. Requires: %{name} = %{version}-%{release}
  237. %description musepack
  238. This package contains Musepack audio decode plugin.
  239. %description -l ja musepack
  240. このパッケージには Musepack オーディオデコードプラグインが
  241. 含まれています。
  242. %endif
  243. %ifarch %{ix86}
  244. %package w32dll
  245. Summary: Decode plugin using Win32 DLLs for xine
  246. Summary(ja): xine - Win32 DLL を利用するデコードプラグイン
  247. Group: System Environment/Libraries
  248. Requires: %{name} = %{version}-%{release}
  249. %description w32dll
  250. This package contains decode plugin using Win32 DLLs.
  251. %description -l ja w32dll
  252. このパッケージには Win32 DLL を利用してデコードするプラグインが
  253. 含まれています。
  254. %endif
  255. %prep
  256. %setup -q
  257. # Avoid standard rpaths on lib64 archs:
  258. sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure
  259. %build
  260. export FFMPEG_CFLAGS=" " FFMPEG_LIBS=" "
  261. export FFMPEG_POSTPROC_CFLAGS=" " FFMPEG_POSTPROC_LIBS=" "
  262. export FFMPEG_UTIL_CFLAGS=" " FFMPEG_UTIL_LIBS=" "
  263. export SDL_CFLAGS="$(sdl-config --cflags)" SDL_LIBS="$(sdl-config --libs)"
  264. %configure \
  265. %if %{?_dist_release} == "vl4"
  266. --with-xv-path=%{_prefix}/X11R6/%{_lib} \
  267. %else
  268. --with-xv-path=%{_libdir} \
  269. %endif
  270. --disable-a52dec \
  271. --disable-mad \
  272. --disable-vcd \
  273. --disable-asf \
  274. --disable-nosefart \
  275. --disable-faad \
  276. --disable-dts \
  277. --with-libflac \
  278. --without-external-ffmpeg \
  279. %if !%{build_alsa}
  280. --without-alsa \
  281. %endif
  282. %if %{build_arts}
  283. --with-arts \
  284. %endif
  285. %if !%{build_pulseaudio}
  286. --without-pulseaudio \
  287. %endif
  288. %if !%{build_jack}
  289. --without-jack \
  290. %endif
  291. %if %{build_dxr3}
  292. --enable-dxr3 \
  293. %else
  294. --disable-dxr3 \
  295. %endif
  296. --with-freetype \
  297. --with-fontconfig \
  298. %ifarch %{ix86}
  299. --with-w32-path=%{_libdir}/codecs
  300. %endif
  301. make %{?_smp_mflags}
  302. %install
  303. rm -rf $RPM_BUILD_ROOT
  304. make DESTDIR=%{buildroot} LIBRARY_PATH=%{buildroot}%{_libdir} install
  305. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  306. # IMPORTANT: remove all stuffs which may cause patent violation
  307. pushd $RPM_BUILD_ROOT%{plugindir}/%{pluginver}
  308. PLUGINS_TO_REMOVE="xineplug_inp_dvd.so xineplug_inp_mms.so \
  309. xineplug_inp_vcdo.so xineplug_decode_dts.so \
  310. xineplug_decode_dvaudio.so xineplug_decode_ff.so \
  311. xineplug_decode_mpeg2.so post/xineplug_post_planar.so "
  312. for i in $PLUGINS_TO_REMOVE
  313. do
  314. rm -f $i
  315. done
  316. popd
  317. cp -pr %{buildroot}%{_docdir}/xine-lib installed-doc
  318. rm -rf %{buildroot}%{_docdir}/xine-lib
  319. # Removing useless files
  320. rm -Rf installed-doc/README \
  321. installed-doc/README.{freebsd,irix,solaris,MINGWCROSS,WIN32} \
  322. installed-doc/README.{dxr3,network_dvd}
  323. %if ! %{build_mpc}
  324. %__rm -f %{buildroot}%{plugindir}/%{pluginver}/xineplug_decode_mpc.so
  325. %endif
  326. %ifarch %{ix86}
  327. %__mkdir_p %{buildroot}%{_libdir}/codecs
  328. %endif
  329. %find_lang %{libname}
  330. %clean
  331. rm -rf $RPM_BUILD_ROOT
  332. %post -p /sbin/ldconfig
  333. %postun -p /sbin/ldconfig
  334. %files -f %{libname}.lang
  335. %defattr(-,root,root)
  336. %doc AUTHORS COPYING CREDITS ChangeLog NEWS README TODO
  337. %{_bindir}/xine-list-1.1
  338. %{_libdir}/*.so.*
  339. %{_datadir}/xine
  340. %dir %{_libdir}/xine
  341. %{_mandir}/man1/xine-list-1.1.*
  342. %{_mandir}/man5/*
  343. %dir %{plugindir}
  344. %dir %{plugindir}/%{pluginver}
  345. %{plugindir}/%{pluginver}/post
  346. %{plugindir}/%{pluginver}/mime.types
  347. # audio output
  348. %{plugindir}/%{pluginver}/xineplug_ao_out_none.so
  349. %{plugindir}/%{pluginver}/xineplug_ao_out_file.so
  350. %{plugindir}/%{pluginver}/xineplug_ao_out_oss.so
  351. # video output
  352. %{plugindir}/%{pluginver}/vidix
  353. %{plugindir}/%{pluginver}/xineplug_vo_out_none.so
  354. %{plugindir}/%{pluginver}/xineplug_vo_out_fb.so
  355. %if %{?_dist_release} == "vl5"
  356. %{plugindir}/%{pluginver}/xineplug_vo_out_xcbshm.so
  357. %{plugindir}/%{pluginver}/xineplug_vo_out_xcbxv.so
  358. %endif
  359. %{plugindir}/%{pluginver}/xineplug_vo_out_xv.so
  360. %{plugindir}/%{pluginver}/xineplug_vo_out_xshm.so
  361. %{plugindir}/%{pluginver}/xineplug_vo_out_xvmc.so
  362. %{plugindir}/%{pluginver}/xineplug_vo_out_xxmc.so
  363. %{plugindir}/%{pluginver}/xineplug_vo_out_syncfb.so
  364. %{plugindir}/%{pluginver}/xineplug_vo_out_raw.so
  365. %ifarch %{ix86}
  366. %{plugindir}/%{pluginver}/xineplug_vo_out_vidix.so
  367. %endif
  368. %{plugindir}/%{pluginver}/xineplug_vo_out_xcbshm.so
  369. %{plugindir}/%{pluginver}/xineplug_vo_out_xcbxv.so
  370. # demux
  371. ##{plugindir}/%{pluginver}/xineplug_dmx_asf.so
  372. %{plugindir}/%{pluginver}/xineplug_dmx_audio.so
  373. %{plugindir}/%{pluginver}/xineplug_dmx_avi.so
  374. %{plugindir}/%{pluginver}/xineplug_dmx_fli.so
  375. %{plugindir}/%{pluginver}/xineplug_dmx_flv.so
  376. %{plugindir}/%{pluginver}/xineplug_dmx_games.so
  377. %{plugindir}/%{pluginver}/xineplug_dmx_iff.so
  378. %{plugindir}/%{pluginver}/xineplug_dmx_image.so
  379. %{plugindir}/%{pluginver}/xineplug_dmx_matroska.so
  380. %{plugindir}/%{pluginver}/xineplug_dmx_mng.so
  381. %{plugindir}/%{pluginver}/xineplug_dmx_mpeg.so
  382. %{plugindir}/%{pluginver}/xineplug_dmx_mpeg_block.so
  383. %{plugindir}/%{pluginver}/xineplug_dmx_mpeg_elem.so
  384. %{plugindir}/%{pluginver}/xineplug_dmx_mpeg_pes.so
  385. %{plugindir}/%{pluginver}/xineplug_dmx_mpeg_ts.so
  386. %{plugindir}/%{pluginver}/xineplug_dmx_nsv.so
  387. %{plugindir}/%{pluginver}/xineplug_dmx_pva.so
  388. %{plugindir}/%{pluginver}/xineplug_dmx_qt.so
  389. %{plugindir}/%{pluginver}/xineplug_dmx_rawdv.so
  390. %{plugindir}/%{pluginver}/xineplug_dmx_real.so
  391. %{plugindir}/%{pluginver}/xineplug_dmx_slave.so
  392. %{plugindir}/%{pluginver}/xineplug_dmx_sputext.so
  393. %{plugindir}/%{pluginver}/xineplug_dmx_yuv4mpeg2.so
  394. %{plugindir}/%{pluginver}/xineplug_dmx_yuv_frames.so
  395. # input
  396. %{plugindir}/%{pluginver}/xineplug_inp_cdda.so
  397. %{plugindir}/%{pluginver}/xineplug_inp_dvb.so
  398. ##{plugindir}/%{pluginver}/xineplug_inp_dvd.so
  399. %{plugindir}/%{pluginver}/xineplug_inp_file.so
  400. %{plugindir}/%{pluginver}/xineplug_inp_http.so
  401. ##{plugindir}/%{pluginver}/xineplug_inp_mms.so
  402. %{plugindir}/%{pluginver}/xineplug_inp_net.so
  403. %{plugindir}/%{pluginver}/xineplug_inp_pnm.so
  404. %{plugindir}/%{pluginver}/xineplug_inp_pvr.so
  405. %{plugindir}/%{pluginver}/xineplug_inp_rtp.so
  406. %{plugindir}/%{pluginver}/xineplug_inp_rtsp.so
  407. %{plugindir}/%{pluginver}/xineplug_inp_stdin_fifo.so
  408. %{plugindir}/%{pluginver}/xineplug_inp_v4l.so
  409. %{plugindir}/%{pluginver}/xineplug_inp_v4l2.so
  410. ##{plugindir}/%{pluginver}/xineplug_inp_vcd.so
  411. ##{plugindir}/%{pluginver}/xineplug_inp_vcdo.so
  412. # decode
  413. ##{plugindir}/%{pluginver}/xineplug_decode_a52.so
  414. %{plugindir}/%{pluginver}/xineplug_decode_bitplane.so
  415. ##{plugindir}/%{pluginver}/xineplug_decode_dts.so
  416. ##{plugindir}/%{pluginver}/xineplug_decode_dvaudio.so
  417. ##{plugindir}/%{pluginver}/xineplug_decode_ff.so
  418. %{plugindir}/%{pluginver}/xineplug_decode_gdk_pixbuf.so
  419. %{plugindir}/%{pluginver}/xineplug_decode_gsm610.so
  420. %{plugindir}/%{pluginver}/xineplug_decode_image.so
  421. %{plugindir}/%{pluginver}/xineplug_decode_lpcm.so
  422. ##{plugindir}/%{pluginver}/xineplug_decode_mad.so
  423. ##{plugindir}/%{pluginver}/xineplug_decode_mpeg2.so
  424. ##{plugindir}/%{pluginver}/xineplug_decode_nsf.so
  425. %ifarch %{ix86}
  426. %{plugindir}/%{pluginver}/xineplug_decode_qt.so
  427. %endif
  428. %{plugindir}/%{pluginver}/xineplug_decode_real.so
  429. %{plugindir}/%{pluginver}/xineplug_decode_rgb.so
  430. %{plugindir}/%{pluginver}/xineplug_decode_spu.so
  431. %{plugindir}/%{pluginver}/xineplug_decode_spucc.so
  432. %{plugindir}/%{pluginver}/xineplug_decode_spucmml.so
  433. %{plugindir}/%{pluginver}/xineplug_decode_spudvb.so
  434. %{plugindir}/%{pluginver}/xineplug_decode_spuhdmv.so
  435. %{plugindir}/%{pluginver}/xineplug_decode_sputext.so
  436. %{plugindir}/%{pluginver}/xineplug_decode_yuv.so
  437. %files devel
  438. %defattr(-,root,root)
  439. %doc installed-doc/*
  440. %{_bindir}/xine-config
  441. #%{_libdir}/*.la
  442. %{_libdir}/*.so
  443. %{_libdir}/pkgconfig/*.pc
  444. %{_includedir}/*.h
  445. %{_includedir}/xine
  446. %{_datadir}/aclocal/*.m4
  447. %{_mandir}/man1/xine-config.*
  448. ##### audio output plugins #################################
  449. %files esd
  450. %defattr(-,root,root)
  451. %{plugindir}/%{pluginver}/xineplug_ao_out_esd.so
  452. %if %{build_arts}
  453. %files arts
  454. %defattr(-,root,root)
  455. %{plugindir}/%{pluginver}/xineplug_ao_out_arts.so
  456. %endif
  457. %if %{build_alsa}
  458. %files alsa
  459. %defattr(-,root,root)
  460. %{plugindir}/%{pluginver}/xineplug_ao_out_alsa.so
  461. %endif
  462. %if %{build_pulseaudio}
  463. %files pulseaudio
  464. %defattr(-,root,root)
  465. %{plugindir}/%{pluginver}/xineplug_ao_out_pulseaudio.so
  466. %endif
  467. %if %{build_jack}
  468. %files jack
  469. %defattr(-,root,root)
  470. %{plugindir}/%{pluginver}/xineplug_ao_out_jack.so
  471. %endif
  472. ##### video output plugins #################################
  473. %files sdl
  474. %defattr(-,root,root)
  475. %{plugindir}/%{pluginver}/xineplug_vo_out_sdl.so
  476. %files opengl
  477. %defattr(-,root,root)
  478. %{plugindir}/%{pluginver}/xineplug_vo_out_opengl.so
  479. %files aa
  480. %defattr(-,root,root)
  481. %{plugindir}/%{pluginver}/xineplug_vo_out_aa.so
  482. %if %{build_dxr3}
  483. %files dxr3
  484. %defattr(-,root,root)
  485. %{plugindir}/%{pluginver}/xineplug_*dxr3*.so
  486. %endif
  487. ##### input plugins ########################################
  488. %files gnomevfs
  489. %defattr(-,root,root)
  490. %{plugindir}/%{pluginver}/xineplug_inp_gnome_vfs.so
  491. %files smb
  492. %defattr(-,root,root)
  493. %{plugindir}/%{pluginver}/xineplug_inp_smb.so
  494. ##### ogg files demux & decode plugins #####################
  495. %files ogg
  496. %defattr(-,root,root)
  497. %{plugindir}/%{pluginver}/xineplug_dmx_ogg.so
  498. %{plugindir}/%{pluginver}/xineplug_decode_vorbis.so
  499. %{plugindir}/%{pluginver}/xineplug_decode_speex.so
  500. %{plugindir}/%{pluginver}/xineplug_decode_theora.so
  501. ##### decode plugins #######################################
  502. %files flac
  503. %defattr(-,root,root)
  504. %{plugindir}/%{pluginver}/xineplug_flac.so
  505. %if %{build_mpc}
  506. %files musepack
  507. %defattr(-,root,root)
  508. %{plugindir}/%{pluginver}/xineplug_decode_mpc.so
  509. %endif
  510. %ifarch %{ix86}
  511. %files w32dll
  512. %defattr(-,root,root)
  513. %{plugindir}/%{pluginver}/xineplug_decode_w32dll.so
  514. %dir %{_libdir}/codecs
  515. %endif
  516. %changelog
  517. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.18.1-3
  518. - rebuilt with rpm-4.8.1 for pkg-config
  519. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.18.1-2
  520. - rebuilt with ImageMagick-6.6.1.5
  521. * Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.18.1-1
  522. - new upstream release
  523. - built with new toolchain
  524. * Fri May 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.16.3-3
  525. - add --without-external-ffmpeg to configure option
  526. - add post/xineplug_post_planar.so (ffmpeg postprocess) to remove list.
  527. * Wed May 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.16.3-2
  528. - build without gpm
  529. * Sat Apr 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.3-1
  530. - new upstream release with security fix
  531. - Fix another possible int overflow in the 4XM demuxer.
  532. (ref. TKADV2009-004, CVE-2009-0385)
  533. - Fix an integer overflow in the Quicktime demuxer.
  534. * Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-1
  535. - new upstream release with security fix
  536. - Heap overflow in Quicktime atom parsing. (CVE-2008-5234)
  537. - Multiple buffer overflows. (CVE-2008-5236)
  538. - Multiple integer overflows. (CVE-2008-5237)
  539. - Unchecked or incompletely-checked read function results. (CVE-2008-5239)
  540. - Unchecked malloc using untrusted values. (CVE-2008-5240, CVE-2008-5242)
  541. - Integer underflow in qt compressed atom handling. (CVE-2008-5241)
  542. - Buffer indexing using untrusted or unchecked values. (CVE-2008-5243)
  543. - Fix broken size checks in various input plugins (ref. CVE-2008-5239)
  544. - IMPORTANT: removed all plugins which may cause patent violation
  545. - these plugins will be provided self-build-xine-lib-extras package
  546. - added jack plugin subpackage
  547. * Sun Feb 8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.15-4
  548. - updated --with-xv-path
  549. - used more dist_release macros
  550. - rebuilt with ImageMagick 6.4.9-2 (only VineSeed)
  551. * Tue Oct 14 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.15-3
  552. - update Patch101 (changeset b3822572afa5)
  553. * Mon Oct 13 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.15-2
  554. - add Patch101 (changeset b3822572afa5)
  555. * Sun Aug 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.15-1vl5
  556. - new upstream release with a security fix (CVE-2008-3231)
  557. - dropped Patch100 (was included into upstream)
  558. - Requires: libX11 instead of XOrg-libs
  559. - added pulseaudio subpackage
  560. * Sun May 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.12-2
  561. - now BuildRequires xorg-x11-devel and libGLU-devel, not XOrg*-devel
  562. - spec in UTF-8
  563. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.12-1
  564. - new upstream release with a security fix (CVE-2008-1686)
  565. - added Patch100 for CVE-2008-1878
  566. - added --disable-a52dec
  567. * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.11.1-1vl5
  568. - new upstream release with a security fix (CVE-2008-1482)
  569. * Mon Mar 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.11-1vl5
  570. - rebuilt for VineSeed
  571. - new upstream release with a security fix (CVE-2008-0073)
  572. - rebuilt with ImageMagick 6.3.9-10
  573. * Mon Mar 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.11-1vl4
  574. - new upstream release with a security fix (CVE-2008-0073)
  575. * Tue Mar 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.10.1-0vl1
  576. - new upstream release
  577. - using %%ver instead of %%version at %%files section
  578. * Tue Sep 04 2007 KAZUKI SHIMURA <ksh753@y5.don.ne.jp> 1.1.7-0vl5
  579. - use %%{_prefix}/X11R6/%%{_lib} for --with-xv-path to support x86_64
  580. * Tue Sep 04 2007 KAZUKI SHIMURA <ksh753@y5.don.ne.jp> 1.1.7-0vl4
  581. - update build dependencies
  582. - SDL-devel >= 1.2.11 (sdl.pc is required by xine-lib >= 1.1.3)
  583. - alsa-lib >= 0.9.0
  584. - flac-devel >= 1.2.0
  585. * Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.7-0vl3
  586. - rebuilt with flac 1.2.0
  587. * Mon Aug 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.7-0vl2
  588. - pass exclusively --with-xv-path=/usr/X11R6/lib to configure
  589. (libXv.* detection on configure seems somewhat corrupted at least on ppc)
  590. * Sat Aug 11 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.1.7-0vl1
  591. - new upstream release
  592. - disable arts plugin
  593. - add new file: mime.types
  594. * Fri May 11 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.6-0vl2
  595. - rebuilt with new toolchain
  596. - execute autoconf before doin' %%configure
  597. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.6-0vl1
  598. - new upstream release
  599. - drop Patch100,101,102 and 500 which are now merged in upstream
  600. * Sat Dec 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl4
  601. - [SECURITY FIX]
  602. - add patch101 to fix buffer overflow in Real Media plugin (CVE-2006-6172)
  603. - add patch102 to fix heap overflow in mms plugin (related to CVE-2006-2200)
  604. - add %%{_libdir}/codecs to -w32dll package
  605. * Sat Oct 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl3
  606. - [SECURITY FIX]
  607. - import patch100 to fix multiple buffer overflows (CVE-2006-4800)
  608. * Wed Sep 27 2006 Stew Benedict <sbenedict@mandriva.com> 1.1.2-3.1mdv2007.0
  609. - P2: security fix for CVE-2006-4800
  610. * Sun Aug 6 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.2-0vl2
  611. - added patch500 for ppc
  612. * Sun Jul 16 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  613. - [SECURITY] new upstream release
  614. - possible buffer overflow in libavcodec; crafted PNGs (CVE-2005-4048)
  615. - possible buffer overflow in the HTTP plugin (CVE-2006-2802)
  616. - possible buffer overflow via bad indexes in specially-crafted AVI files
  617. - drop unneeded patch100
  618. - add BuildRequires: samba-libsmbclient-devel instead of samba-libsmbclient
  619. - add %%{plugindir}/%%{version}/xineplug_decode_gdk_pixbuf.so
  620. - add BuildRequires: gtk2-devel
  621. - add Requires: gtk2
  622. * Mon Mar 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.1-0vl4
  623. - rebuild with ImageMagick-6.2.6.3-0vl1
  624. * Sat Jan 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl3
  625. - add sub-package: xine-lib-aa
  626. - remove mpc decode plugin at %%install if builc-mpc disabled
  627. - [SECURITY FIX]
  628. - import patch100 to fix heap-based buffer overflow (CVE-2005-4048)
  629. * Wed Dec 14 2005 Glbz Waschk <waschk@mandriva.org> 1.1.1-2mdk
  630. - security update for CVE-2005-4048 (P2, embedded ffmpeg)
  631. * Sun Dec 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.1-0vl2
  632. - rebuilt with new ImageMagick
  633. - changed Group
  634. - added %%{plugindir}/%%{version}/xineplug_vo_out_{xvmc,xxmc}.so
  635. * Thu Nov 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  636. - upstream release
  637. - drop patch100
  638. * Mon Oct 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl3
  639. - [SECURITY]
  640. - add patch100 to fix format string vulnerability (CAN-2005-2967)
  641. - cf. http://xinehq.de/index.php/security/XSA-2005-1
  642. * Fri Oct 14 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.0-0vl2
  643. - two plugins (xineplug_decode_qt.so and xineplug_vo_out_vidix.so)
  644. are only built on ix86 archtecture.
  645. * Sat Oct 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  646. - upstream release
  647. - add BuildRequires:
  648. ImageMagick-devel, bzip2-devel, libjpeg-devel, libtiff-devel,
  649. libtool-ltdl-devel
  650. - addRequires:
  651. ImageMagick, bzip2, libjpeg, libtiff
  652. * Sat Jul 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.2-0vl1
  653. - upstream release
  654. * Thu Jun 23 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl2
  655. - rebuild with alsa-lib-devel
  656. - add build_{gvfs,smb} macros
  657. * Sun May 08 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl1
  658. - initial build for Vine Linux
  659. * Thu Jan 06 2005 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  660. - enabled defining build or not to build subpackages at runtime
  661. using '--define "BUILD_XYZ 1"', you can find possible BUILD_
  662. defines at the top of the spec-file
  663. * Tue Dec 07 2004 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  664. - included xxmc video out plugin into xvmc sub-rpm
  665. * Sat Sep 11 2004 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  666. - added missing Requires-Statements in the subpackages
  667. * Fri Sep 03 2004 Franti邸ek Dvořák <valtri@users.sourceforge.net>
  668. - Czech translation update
  669. * Thu Sep 02 2004 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  670. - konverted to UTF8
  671. - some fixes for non IA32 systems (especialy Athlon64/Opteron)
  672. * Sat May 01 2004 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  673. - activated opengl plugin
  674. * Tue Apr 06 2004 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  675. - removed xvid modules from -devel package and put it back
  676. to main package.
  677. * Fri Feb 13 2004 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  678. - added new sub-rpm for stk videoout plugin
  679. * Fri Nov 21 2003 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  680. - use internal vcdlibs to keep dependencies low
  681. * Sun Oct 19 2003 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  682. - added separate directfb-package to solve dependendies
  683. * Tue Oct 07 2003 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  684. - activated separte xvmc package, when this is wanted.
  685. * Sun Jul 20 2003 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  686. - made ogg-package out of oggvorbis, oggtheora and the new
  687. oggspeex xine-plugins
  688. * Sat May 24 2003 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  689. - complete rework of the specfile
  690. * Wed May 14 2003 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  691. - Update for > 1-beta13
  692. * Sat Mar 08 2003 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  693. - added missing doc-files
  694. * Wed Jan 15 2003 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  695. - removed man3 manpages in devel-filelist
  696. * Tue Dec 24 2002 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  697. - Update for libxine 1.0beta1 added pkgconfig-directory
  698. * Wed Dec 11 2002 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  699. - Update for libxine 1.0beta0, fonts-directory has been changed
  700. * Sat Dec 07 2002 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  701. - added translation for finnish by Tuukka Pasanen <illuusio@mailcity.com>
  702. - some updates to german and english descriptions
  703. - added post-directory to file-list
  704. * Sat Nov 09 2002 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  705. - Final changes for libxine 1.0alpha1
  706. * Mon Nov 04 2002 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  707. - another change to make it run with next version
  708. * Sat Nov 02 2002 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  709. - Changes for next xine version
  710. * Sun Oct 27 2002 Manfred Tremmel <Manfred.Tremmel@iiv.de>
  711. - Update of the german descriptions.
  712. * Thu Jun 06 2002 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  713. - ability to pass args to configure. Fix vidix/dhahelper inclusion.
  714. * Mon May 27 2002 Matthias Dahl <matthew2k@web.de>
  715. - added passing of build parameter to configure
  716. * Sun May 26 2002 Matthias Dahl <matthew2k@web.de>
  717. - added german translations by Manfred Tremmel <Manfred.Tremmel@iiv.de>
  718. - added fixes (missing -l cs) by Manfred Tremmel <Manfred.Tremmel@iiv.de>
  719. * Sat May 18 2002 Matthias Dahl <matthew2k@web.de>
  720. - added czech translations by valtri@atlas.cz
  721. * Thu May 16 2002 Matthias Dahl <matthew2k@web.de>
  722. - replaced %configure because it was causing trouble on certain configurations
  723. * Sat May 11 2002 Matthias Dahl <matthew2k@web.de>
  724. - reworked/revamped spec file, still needs some tuning (BuildPreReq, ...)
  725. * Thu May 2 2002 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  726. - sync with new logo stuff.
  727. * Wed May 1 2002 Matthias Dahl <matthew2k@web.de>
  728. - added cinepak, cyuv and msvc decode plugins
  729. - commented out sdl related parts because this is currently broken in xine-lib
  730. - added 'cs,pl_PL' translation catalogs
  731. * Sun Mar 31 2002 Matthias Dahl <matthew2k@web.de>
  732. - added mms input plugin, spucc decoder and missing xine_logo.zyuy2.
  733. - commented out video fill decoder for now as it seems to be no longer built
  734. * Wed Feb 6 2002 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  735. - added 'de,fr,pt_BR' translation catalogs.
  736. * Sat Dec 26 2001 Matthias Dahl <matthew2k@web.de>
  737. - added sputext decode plugin and fonts.
  738. * Sat Dec 8 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  739. - ASF plugin is optional.
  740. * Thu Dec 6 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  741. - Add cda plugins.
  742. * Wed Nov 14 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  743. - fixed dxr3 header files inclusion, aalib deps: thanks to Andrew Meredith <andrew@anvil.org>.
  744. * Mon Oct 29 2001 Matthias Dahl <matthew2k@web.de>
  745. - added http input plugin
  746. * Thu Oct 18 2001 Matthias Dahl <matthew2k@web.de>
  747. - added asf demuxer plugin
  748. * Sun Oct 14 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  749. - move vorbis in separate package. Add DivX4 decoder plugin.
  750. * Wed Oct 10 2001 Matthias Dahl <matthew2k@web.de>
  751. - added vorbis files and missing man pages to filelist.
  752. * Thu Sep 27 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  753. - Add desktop stuff from patches by Miguel Freitas <miguel@cetuc.puc-rio.br>
  754. - Fixed xine.m4 installation from Andrew Meredith <andrew@anvil.org>
  755. * Fri Sep 21 2001 Matthias Dahl <matthew2k@web.de>
  756. - added two missing files (xine-config man page and xine.m4)
  757. * Sun Sep 16 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  758. - Merge patch from JosスCarlos Monteiro <jcm@netcabo.pt>:
  759. - Filelist and other minor updates,
  760. - Fixed some SuSE compatibility issues,
  761. - Added Portuguese summary.
  762. * Sun Sep 16 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  763. - Add missing files.
  764. * Sun Aug 19 2001 Matthias Dahl <matthew2k@web.de>
  765. - The usual update to the filelist :)
  766. - temporarily removed mpg123 decoder plugin from filelist cause it is not
  767. built with the recent CVS tree
  768. * Thu Jul 26 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  769. - Made oss, aa, xv, esd, w32dll, documentation as separate packages.
  770. * Thu Jul 26 2001 Matthias Dahl <matthew2k@web.de>
  771. - added seperate arts package and one missing demuxer plugin to filelist
  772. * Wed Jul 18 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  773. - list all plugins to avoid *strange* inclusion ;-).
  774. * Sun Jun 10 2001 Matthias Dahl <matthew2k@web.de>
  775. - updated filelist
  776. - re-activated execution of /sbin/ldconfig as post install script
  777. * Thu Mar 28 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  778. - add korean summary, patch from Louis JANG <louis@ns.mizi.com>
  779. * Thu Jan 11 2001 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  780. - patch from Sung-Hyun Nam <namsh@lgic.co.kr> applied.
  781. * Fri Oct 17 2000 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
  782. - first spec file.