xine-lib-vl.spec 32 KB

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