gstreamer1-plugins-bad-vl.spec 14 KB

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