gstreamer1-plugins-bad-vl.spec 16 KB

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