gstreamer1-plugins-bad-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. %define majorminor 1.0
  2. %define gstreamer gstreamer1
  3. %define gst_minver 1.2.3
  4. %define gstpb_minver 1.2.3
  5. Summary: GStreamer streaming media framework "bad" plug-ins
  6. Name: gstreamer1-plugins-bad
  7. Version: 1.2.3
  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. * Sun Mar 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  190. - new upstream release
  191. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  192. - new upstream release
  193. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  194. - new upstream release
  195. * Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  196. - new upstream release
  197. * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1
  198. - new upstream release
  199. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
  200. - new upstream release
  201. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  202. - new upstream release
  203. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  204. - new upstream release
  205. * Sat Mar 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  206. - new upstream release
  207. * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  208. - new upstream release
  209. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
  210. - new upstream release
  211. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2
  212. - new upstream release
  213. - rename package
  214. * Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.22-1
  215. - new upstream release
  216. - added BuildRequires: libvpx-devel
  217. * Wed Nov 2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-2
  218. - s/self-build-libdvdnav/libdvdnav/
  219. * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-1
  220. - new upstream release
  221. - added BuildRequires:
  222. - libmms-devel
  223. - librtmp-devel
  224. * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.20-1
  225. - new upstream release
  226. * Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.19-1
  227. - new upstream release
  228. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.18-1
  229. - new upstream release
  230. - added BuildRequires: libvdpau-devel
  231. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.17-1
  232. - new upstream release
  233. * Wed May 27 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.12-1
  234. - new upstream release
  235. - dropped gstreamer-plugins-bad-0.10.5-sys-modplug.patch,
  236. gst-plugins-bad-0.10.5-mms-seek.patch
  237. * Sun Mar 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.10-1
  238. - new upstream release
  239. - dropped devel and devel-docs subpackages
  240. * Sun Feb 15 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.9-2
  241. - rebuild with twolame-devel, libmpcdec-devel, mjpegtools-devel
  242. - changed to BuildRequires: self-build-faad2 from faad2-devel
  243. * Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.9-1
  244. - initial build based on RPM Fusion package
  245. * Sat Dec 27 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.9-3
  246. - Put devel docs in seperate subpackage to avoid multilib conflict (rf 276)
  247. * Wed Dec 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.9-2
  248. - Rebuild for new x264 (using patch from Rathann)
  249. * Sun Oct 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.9-1
  250. - New upstream release 0.10.9
  251. - Rebuild for new directfb
  252. * Sun Sep 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-4
  253. - Rebuild for new x264 and to generate new magic gstreamer provides
  254. * Sat Aug 16 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-3
  255. - Enable DVD navigation plugin
  256. * Fri Aug 1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-2
  257. - Release bump to keep rpmfusion version higher then livna
  258. * Fri Aug 1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-1
  259. - New upstream release 0.10.8
  260. - Merge changes from latest freshrpms package: enable ofa and dirac plugins
  261. * Fri Jun 27 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.7-2
  262. - Rebuild for new x264
  263. * Thu Apr 24 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.7-1
  264. - New upstream release 0.10.7
  265. - Drop many upstreamed patches
  266. * Sun Mar 9 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-3
  267. - Rebuild for new x264
  268. * Tue Feb 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-2
  269. - Enable dc1394 plugin
  270. * Sun Feb 24 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-1
  271. - New upstream release 0.10.6-1
  272. - Drop many upstreamed patches
  273. - Fixes conflict with the latest gstreamer-plugins-good (livna 1884)
  274. * Tue Feb 5 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-15
  275. - Fix compilation with gcc 4.3
  276. * Tue Feb 5 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-14
  277. - Add flv demuxer from CVS (livna bug 1846)
  278. * Sun Dec 9 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-13
  279. - Add patch fixing compilation with mjpegtools 1.9.0rc3
  280. * Sun Dec 9 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-12
  281. - Add patch from upstream vcs which makes mms honor your connection speed
  282. settings
  283. - Add (painstakingly self written) patch adding support for mms / mmsh seeking!
  284. * Tue Nov 13 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-11
  285. - Rebuild for new faad2
  286. * Sun Nov 4 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-10
  287. - Rebuild for new libdca
  288. * Thu Oct 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-9
  289. - Rebuild for new (old) faad2 (livna bug 1679)
  290. * Sat Sep 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-8
  291. - Update mythtvsrc code to CVS version (livna bug 1660)
  292. * Thu Sep 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-7
  293. - No libgstreal.so on ppc / ppc64
  294. * Thu Sep 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-6
  295. - Fix detection of libdts with current livna libtds, this might need to be
  296. changed back again for rpmfusion, depending on how libdts will look there
  297. * Sat Sep 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-5
  298. - Add mythtvsrc plugin (livna 1646)
  299. - Put some less often used plugins, which bring in also usually not installed
  300. deps in a -extras package
  301. * Sat Sep 15 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-4
  302. - Merge livna spec bugfixes into freshrpms spec for rpmfusion:
  303. - Set release to 4 to be higher as both livna and freshrpms latest release
  304. - Set package name and origin to rpmfusion
  305. - Make mpeg2enc plugin compile with current mjpegtools
  306. - Make the real plugins search for the RealPlayer .so files in various
  307. known possible locations instead of using only one hardcoded path to them
  308. - Make the wildmidi plugin work with the default Fedora timidity patch set
  309. - Add a couple of missing modtracker mimetypes to the modplug plugin
  310. - Use the system version of libmodplug
  311. - Fix building of the neonsrc plugin with the latest (rawhide) neon
  312. - Disable the ladspa plugin as this has been added to Fedora's rawhide
  313. gstreamer-plugins-good
  314. - Don't put an rpath in the .so's on x86_64
  315. - Re-enable gtk-doc now that we have a -devel package again
  316. - Enable libtimidity plugin
  317. - Fix detection of (and linking with) libdca for the dtsdec plugin
  318. * Tue Aug 21 2007 Matthias Saou <http://freshrpms.net/> 0.10.5-1
  319. - Update to 0.10.5.
  320. - Update faad2 patch : Some fixes went in, but faad2.h still produces an error.
  321. - Remove libgstqtdemux, libgstvideocrop and libgstwavpack, all are in good now.
  322. - Enable new nas, x264, wildmidi and libsndfile plugins.
  323. - Re-add devel package now that we have a main shared lib and header files.
  324. - Add check build requirement.
  325. * Fri Mar 30 2007 Matthias Saou <http://freshrpms.net/> 0.10.4-1
  326. - Update to 0.10.4 for F7.
  327. - Disable swfdec... does anything/anyone even use it here? Once it stabilizes
  328. somewhat more, maybe then it'll be worth re-enabling.
  329. - Re-enable wavpack, it works again now.
  330. - Enable libcdaudio support.
  331. - Enable jack support.
  332. - Enable ladspa support.
  333. - Enable mpeg2enc (mjpegtools) support.
  334. - Remove no longer present libgstvideo4linux2.so and add all new plugins.
  335. - Remove all gtk-doc references (all gone...?) and devel package too.
  336. * Tue Jan 9 2007 Matthias Saou <http://freshrpms.net/> 0.10.3-3
  337. - Update faad2 patch to also update the plugin sources, not just configure.
  338. * Mon Dec 18 2006 Matthias Saou <http://freshrpms.net/> 0.10.3-2
  339. - Try to rebuild against new wavpack 4.40 from Extras : Fails.
  340. - Try to update to 0.10.3.2 pre-release : Fails, it needs a more recent gst.
  341. - Try to include patch to update wavpack plugin source from 0.10.3.2
  342. pre-release : Fails to find wavpack/md5.h.
  343. - Give up and disable wavpack support for now, sorry! Patches welcome.
  344. - Include patch to fix faad2 2.5 detection.
  345. - Add soundtouch support.
  346. * Thu Jun 1 2006 Matthias Saou <http://freshrpms.net/> 0.10.3-1
  347. - Update to 0.10.3.
  348. - Add new translations.
  349. - Add libgstmodplug.so, libgstvideo4linux2.so and libgstxingheader.so.
  350. - Add new libmusicbrainz support.
  351. * Thu Mar 23 2006 Matthias Saou <http://freshrpms.net/> 0.10.1-2
  352. - Add libmms support, thanks to Daniel S. Rogers.
  353. * Wed Feb 22 2006 Matthias Saou <http://freshrpms.net/> 0.10.1-1
  354. - Update to 0.10.1.
  355. - Add libgstcdxaparse.so and libgstfreeze.so.
  356. - Enable libgstbz2.so, libgstglimagesink.so and libgstneonhttpsrc.so.
  357. * Wed Jan 25 2006 Matthias Saou <http://freshrpms.net/> 0.10.0.1-1
  358. - Update to 0.10.0.1, add new plugins.
  359. - Spec file cleanup and rebuild for FC5.
  360. * Mon Dec 05 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  361. - 0.10.0-0.gst.1
  362. - new release
  363. * Thu Dec 01 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  364. - 0.9.7-0.gst.1
  365. - new release with 0.10 major/minor
  366. * Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  367. - new release
  368. - remove tta patch
  369. - don't check for languages, no translations yet
  370. - added gtk-doc
  371. * Wed Oct 26 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  372. - 0.9.4-0.gst.1
  373. - new release
  374. - added speed plugin
  375. * Mon Oct 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  376. - 0.9.3-0.gst.1
  377. - new release