gstreamer1-plugins-bad-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. %define majorminor 1.0
  2. %define gstreamer gstreamer1
  3. %define gst_minver 1.2.4
  4. %define gstpb_minver 1.2.4
  5. Summary: GStreamer streaming media framework "bad" plug-ins
  6. Name: gstreamer1-plugins-bad
  7. Version: 1.2.4
  8. Release: 1%{?_dist_release}
  9. # The freeze and nfs plugins are LGPLv2 (only)
  10. License: LGPLv2+
  11. Group: Applications/Multimedia
  12. URL: http://gstreamer.freedesktop.org/
  13. Source: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. Requires: %{gstreamer} >= %{gst_minver}
  16. BuildRequires: %{gstreamer}-devel >= %{gst_minver}
  17. BuildRequires: %{gstreamer}-plugins-base-devel >= %{gstpb_minver}
  18. BuildRequires: %{gstreamer}-plugins-bad-free-devel >= %{gstpb_minver}
  19. BuildRequires: check
  20. BuildRequires: gettext
  21. BuildRequires: PyXML
  22. BuildRequires: libXt-devel
  23. BuildRequires: bzip2-devel
  24. BuildRequires: celt-devel
  25. BuildRequires: exempi-devel
  26. BuildRequires: jasper-devel
  27. #BuildRequires: ladspa-devel
  28. BuildRequires: libass-devel
  29. BuildRequires: libdc1394-devel
  30. BuildRequires: libdvdnav-devel
  31. BuildRequires: libexif-devel
  32. #BuildRequires: libiptcdata-devel
  33. BuildRequires: kate-devel
  34. BuildRequires: libmodplug-devel
  35. BuildRequires: libmpcdec-devel
  36. #BuildRequires: libofa-devel
  37. BuildRequires: librsvg2-devel
  38. BuildRequires: libsndfile-devel
  39. #BuildRequires: libtimidity-devel
  40. BuildRequires: libvpx-devel
  41. BuildRequires: mesa-libGLU-devel
  42. BuildRequires: openssl-devel
  43. BuildRequires: orc-devel
  44. #BuildRequires: schroedinger-devel
  45. BuildRequires: SDL-devel
  46. #BuildRequires: slv2-devel
  47. BuildRequires: soundtouch-devel
  48. BuildRequires: wavpack-devel
  49. #BuildRequires: wildmidi-devel
  50. #BuildRequires: zbar-devel
  51. BuildRequires: libmms-devel
  52. BuildRequires: twolame-devel
  53. #BuildRequires: libmimic-devel
  54. # self build
  55. #BuildRequires: libdca-devel
  56. #BuildRequires: faad2-devel
  57. #BuildRequires: xvidcore-devel
  58. #BuildRequires: mjpegtools-devel
  59. %description
  60. GStreamer is a streaming media framework, based on graphs of elements which
  61. operate on media data.
  62. This package contains plug-ins that have licensing issues, aren't tested
  63. well enough, or the code is not of good enough quality.
  64. # %package extras
  65. # Summary: Extra GStreamer "bad" plugins (less often used "bad" plugins)
  66. # Group: Applications/Multimedia
  67. # Requires: %{name} = %{version}-%{release}
  68. # %description extras
  69. # GStreamer is a streaming media framework, based on graphs of elements which
  70. # operate on media data.
  71. # gstreamer1-plugins-bad contains plug-ins that have licensing issues, aren't
  72. # tested well enough, or the code is not of good enough quality.
  73. # This package (gstreamer1-plugins-bad-extras) contains extra "bad" plugins for
  74. # sources (mythtv), sinks (jack, nas) and effects (pitch) which are not used
  75. # very much and require additional libraries to be installed.
  76. %prep
  77. %setup -q -n gst-plugins-bad-%{version}
  78. %build
  79. %configure \
  80. --enable-debug --disable-static --disable-gtk-doc --enable-experimental
  81. # Don't use rpath!
  82. %{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  83. %{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  84. %{__make} %{?_smp_mflags}
  85. %install
  86. %{__rm} -rf %{buildroot}
  87. %{__make} install DESTDIR="%{buildroot}"
  88. # Clean out files that should not be part of the rpm.
  89. %{__rm} -f %{buildroot}%{_libdir}/gstreamer-%{majorminor}/*.la
  90. %{__rm} -f %{buildroot}%{_libdir}/*.la
  91. # conflict with gstreamer1-plugins-bad
  92. %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.so*
  93. %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0
  94. %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
  95. %{__rm} -rf $RPM_BUILD_ROOT%{_includedir}
  96. %{__rm} -rf $RPM_BUILD_ROOT%{_datadir}
  97. REMOVE_MODULE_LIST=" \
  98. libgstadpcmdec.so \
  99. libgstadpcmenc.so \
  100. libgstasfmux.so \
  101. libgstaudiovisualizers.so \
  102. libgstautoconvert.so \
  103. libgstbayer.so \
  104. libgstbz2.so \
  105. libgstcamerabin2.so \
  106. libgstcoloreffects.so \
  107. libgstdataurisrc.so \
  108. libgstdebugutilsbad.so \
  109. libgstdtmf.so \
  110. libgstdvb.so \
  111. libgstfestival.so \
  112. libgstfieldanalysis.so \
  113. libgstfragmented.so \
  114. libgstfrei0r.so \
  115. libgstgaudieffects.so \
  116. libgstgdp.so \
  117. libgstgeometrictransform.so \
  118. libgstgsm.so \
  119. libgstid3tag.so \
  120. libgstinter.so \
  121. libgstinterlace.so \
  122. libgstjpegformat.so \
  123. libgstliveadder.so \
  124. libgstmpegpsdemux.so \
  125. libgstmpegtsdemux.so \
  126. libgstmpegpsmux.so \
  127. libgstmpegtsmux.so \
  128. libgstmidi.so \
  129. libgstneonhttpsrc.so \
  130. libgstpcapparse.so \
  131. libgstpnm.so \
  132. libgstrawparse.so \
  133. libgstremovesilence.so \
  134. libgstresindvd.so \
  135. libgstrfbsrc.so \
  136. libgstrtpmux.so \
  137. libgstrtpvp8.so \
  138. libgstscaletempoplugin.so \
  139. libgstsdpelem.so \
  140. libgstsegmentclip.so \
  141. libgstshm.so \
  142. libgstsmooth.so \
  143. libgstsoundtouch.so \
  144. libgstspeed.so \
  145. libgstsubenc.so \
  146. libgstvideoparsersbad.so \
  147. libgsty4mdec.so \
  148. libgstaccurip.so \
  149. libgstaiff.so \
  150. libgstaudiofxbad \
  151. libgstfreeverb.so \
  152. libgstivtc.so \
  153. libgstmfc.so \
  154. libgstmxf.so \
  155. libgstrsvg.so \
  156. libgstvideofiltersbad.so \
  157. libgstaudiofxbad.so \
  158. libgstyadif.so"
  159. for file in $REMOVE_MODULE_LIST; do
  160. rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/$file
  161. done
  162. %clean
  163. %{__rm} -rf %{buildroot}
  164. %post -p /sbin/ldconfig
  165. %postun -p /sbin/ldconfig
  166. %files
  167. %defattr(-,root,root,-)
  168. %doc AUTHORS COPYING README REQUIREMENTS
  169. %{_libdir}/gstreamer-%{majorminor}/libgstassrender.so
  170. %{_libdir}/gstreamer-%{majorminor}/libgstdecklink.so
  171. %{_libdir}/gstreamer-%{majorminor}/libgstdtsdec.so
  172. %{_libdir}/gstreamer-%{majorminor}/libgstdvbsuboverlay.so
  173. %{_libdir}/gstreamer-%{majorminor}/libgstdfbvideosink.so
  174. %{_libdir}/gstreamer-%{majorminor}/libgstdvdspu.so
  175. %{_libdir}/gstreamer-%{majorminor}/libgstfaac.so
  176. %{_libdir}/gstreamer-%{majorminor}/libgstfaad.so
  177. %{_libdir}/gstreamer-%{majorminor}/libgstmms.so
  178. %{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so
  179. %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2enc.so
  180. %{_libdir}/gstreamer-%{majorminor}/libgstmplex.so
  181. %{_libdir}/gstreamer-%{majorminor}/libgstopenal.so
  182. %{_libdir}/gstreamer-%{majorminor}/libgstrtmp.so
  183. %{_libdir}/gstreamer-%{majorminor}/libgstsiren.so
  184. %{_libdir}/gstreamer-%{majorminor}/libgstdashdemux.so
  185. %{_libdir}/gstreamer-%{majorminor}/libgstfbdevsink.so
  186. %{_libdir}/gstreamer-%{majorminor}/libgstsmoothstreaming.so
  187. %{_libdir}/gstreamer-%{majorminor}/libgstvdpau.so
  188. %changelog
  189. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1
  190. - new upstream release
  191. * Sun Mar 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  192. - new upstream release
  193. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  194. - new upstream release
  195. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  196. - new upstream release
  197. * Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  198. - new upstream release
  199. * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1
  200. - new upstream release
  201. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
  202. - new upstream release
  203. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  204. - new upstream release
  205. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  206. - new upstream release
  207. * Sat Mar 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  208. - new upstream release
  209. * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  210. - new upstream release
  211. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
  212. - new upstream release
  213. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2
  214. - new upstream release
  215. - rename package
  216. * Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.22-1
  217. - new upstream release
  218. - added BuildRequires: libvpx-devel
  219. * Wed Nov 2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-2
  220. - s/self-build-libdvdnav/libdvdnav/
  221. * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-1
  222. - new upstream release
  223. - added BuildRequires:
  224. - libmms-devel
  225. - librtmp-devel
  226. * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.20-1
  227. - new upstream release
  228. * Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.19-1
  229. - new upstream release
  230. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.18-1
  231. - new upstream release
  232. - added BuildRequires: libvdpau-devel
  233. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.17-1
  234. - new upstream release
  235. * Wed May 27 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.12-1
  236. - new upstream release
  237. - dropped gstreamer-plugins-bad-0.10.5-sys-modplug.patch,
  238. gst-plugins-bad-0.10.5-mms-seek.patch
  239. * Sun Mar 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.10-1
  240. - new upstream release
  241. - dropped devel and devel-docs subpackages
  242. * Sun Feb 15 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.9-2
  243. - rebuild with twolame-devel, libmpcdec-devel, mjpegtools-devel
  244. - changed to BuildRequires: self-build-faad2 from faad2-devel
  245. * Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.9-1
  246. - initial build based on RPM Fusion package
  247. * Sat Dec 27 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.9-3
  248. - Put devel docs in seperate subpackage to avoid multilib conflict (rf 276)
  249. * Wed Dec 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.9-2
  250. - Rebuild for new x264 (using patch from Rathann)
  251. * Sun Oct 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.9-1
  252. - New upstream release 0.10.9
  253. - Rebuild for new directfb
  254. * Sun Sep 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-4
  255. - Rebuild for new x264 and to generate new magic gstreamer provides
  256. * Sat Aug 16 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-3
  257. - Enable DVD navigation plugin
  258. * Fri Aug 1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-2
  259. - Release bump to keep rpmfusion version higher then livna
  260. * Fri Aug 1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-1
  261. - New upstream release 0.10.8
  262. - Merge changes from latest freshrpms package: enable ofa and dirac plugins
  263. * Fri Jun 27 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.7-2
  264. - Rebuild for new x264
  265. * Thu Apr 24 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.7-1
  266. - New upstream release 0.10.7
  267. - Drop many upstreamed patches
  268. * Sun Mar 9 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-3
  269. - Rebuild for new x264
  270. * Tue Feb 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-2
  271. - Enable dc1394 plugin
  272. * Sun Feb 24 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-1
  273. - New upstream release 0.10.6-1
  274. - Drop many upstreamed patches
  275. - Fixes conflict with the latest gstreamer-plugins-good (livna 1884)
  276. * Tue Feb 5 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-15
  277. - Fix compilation with gcc 4.3
  278. * Tue Feb 5 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-14
  279. - Add flv demuxer from CVS (livna bug 1846)
  280. * Sun Dec 9 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-13
  281. - Add patch fixing compilation with mjpegtools 1.9.0rc3
  282. * Sun Dec 9 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-12
  283. - Add patch from upstream vcs which makes mms honor your connection speed
  284. settings
  285. - Add (painstakingly self written) patch adding support for mms / mmsh seeking!
  286. * Tue Nov 13 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-11
  287. - Rebuild for new faad2
  288. * Sun Nov 4 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-10
  289. - Rebuild for new libdca
  290. * Thu Oct 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-9
  291. - Rebuild for new (old) faad2 (livna bug 1679)
  292. * Sat Sep 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-8
  293. - Update mythtvsrc code to CVS version (livna bug 1660)
  294. * Thu Sep 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-7
  295. - No libgstreal.so on ppc / ppc64
  296. * Thu Sep 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-6
  297. - Fix detection of libdts with current livna libtds, this might need to be
  298. changed back again for rpmfusion, depending on how libdts will look there
  299. * Sat Sep 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-5
  300. - Add mythtvsrc plugin (livna 1646)
  301. - Put some less often used plugins, which bring in also usually not installed
  302. deps in a -extras package
  303. * Sat Sep 15 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-4
  304. - Merge livna spec bugfixes into freshrpms spec for rpmfusion:
  305. - Set release to 4 to be higher as both livna and freshrpms latest release
  306. - Set package name and origin to rpmfusion
  307. - Make mpeg2enc plugin compile with current mjpegtools
  308. - Make the real plugins search for the RealPlayer .so files in various
  309. known possible locations instead of using only one hardcoded path to them
  310. - Make the wildmidi plugin work with the default Fedora timidity patch set
  311. - Add a couple of missing modtracker mimetypes to the modplug plugin
  312. - Use the system version of libmodplug
  313. - Fix building of the neonsrc plugin with the latest (rawhide) neon
  314. - Disable the ladspa plugin as this has been added to Fedora's rawhide
  315. gstreamer-plugins-good
  316. - Don't put an rpath in the .so's on x86_64
  317. - Re-enable gtk-doc now that we have a -devel package again
  318. - Enable libtimidity plugin
  319. - Fix detection of (and linking with) libdca for the dtsdec plugin
  320. * Tue Aug 21 2007 Matthias Saou <http://freshrpms.net/> 0.10.5-1
  321. - Update to 0.10.5.
  322. - Update faad2 patch : Some fixes went in, but faad2.h still produces an error.
  323. - Remove libgstqtdemux, libgstvideocrop and libgstwavpack, all are in good now.
  324. - Enable new nas, x264, wildmidi and libsndfile plugins.
  325. - Re-add devel package now that we have a main shared lib and header files.
  326. - Add check build requirement.
  327. * Fri Mar 30 2007 Matthias Saou <http://freshrpms.net/> 0.10.4-1
  328. - Update to 0.10.4 for F7.
  329. - Disable swfdec... does anything/anyone even use it here? Once it stabilizes
  330. somewhat more, maybe then it'll be worth re-enabling.
  331. - Re-enable wavpack, it works again now.
  332. - Enable libcdaudio support.
  333. - Enable jack support.
  334. - Enable ladspa support.
  335. - Enable mpeg2enc (mjpegtools) support.
  336. - Remove no longer present libgstvideo4linux2.so and add all new plugins.
  337. - Remove all gtk-doc references (all gone...?) and devel package too.
  338. * Tue Jan 9 2007 Matthias Saou <http://freshrpms.net/> 0.10.3-3
  339. - Update faad2 patch to also update the plugin sources, not just configure.
  340. * Mon Dec 18 2006 Matthias Saou <http://freshrpms.net/> 0.10.3-2
  341. - Try to rebuild against new wavpack 4.40 from Extras : Fails.
  342. - Try to update to 0.10.3.2 pre-release : Fails, it needs a more recent gst.
  343. - Try to include patch to update wavpack plugin source from 0.10.3.2
  344. pre-release : Fails to find wavpack/md5.h.
  345. - Give up and disable wavpack support for now, sorry! Patches welcome.
  346. - Include patch to fix faad2 2.5 detection.
  347. - Add soundtouch support.
  348. * Thu Jun 1 2006 Matthias Saou <http://freshrpms.net/> 0.10.3-1
  349. - Update to 0.10.3.
  350. - Add new translations.
  351. - Add libgstmodplug.so, libgstvideo4linux2.so and libgstxingheader.so.
  352. - Add new libmusicbrainz support.
  353. * Thu Mar 23 2006 Matthias Saou <http://freshrpms.net/> 0.10.1-2
  354. - Add libmms support, thanks to Daniel S. Rogers.
  355. * Wed Feb 22 2006 Matthias Saou <http://freshrpms.net/> 0.10.1-1
  356. - Update to 0.10.1.
  357. - Add libgstcdxaparse.so and libgstfreeze.so.
  358. - Enable libgstbz2.so, libgstglimagesink.so and libgstneonhttpsrc.so.
  359. * Wed Jan 25 2006 Matthias Saou <http://freshrpms.net/> 0.10.0.1-1
  360. - Update to 0.10.0.1, add new plugins.
  361. - Spec file cleanup and rebuild for FC5.
  362. * Mon Dec 05 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  363. - 0.10.0-0.gst.1
  364. - new release
  365. * Thu Dec 01 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  366. - 0.9.7-0.gst.1
  367. - new release with 0.10 major/minor
  368. * Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  369. - new release
  370. - remove tta patch
  371. - don't check for languages, no translations yet
  372. - added gtk-doc
  373. * Wed Oct 26 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  374. - 0.9.4-0.gst.1
  375. - new release
  376. - added speed plugin
  377. * Mon Oct 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  378. - 0.9.3-0.gst.1
  379. - new release