xine-lib-vl.spec 32 KB

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