%define _glib2 2.2 %define major 0.10 %define majorminor 0.10 %define bname gstreamer0.10 %define build_plf 0 %if "%{?distro_section}" == "tainted" %define build_plf 1 %endif %define build_experimental 0 %{?_with_experimental: %{expand: %%global build_experimental 1}} %define build_amrnb 0 %define build_amrwbdec 0 %define build_x264 0 %if %build_plf %define build_x264 1 %define build_amrnb 1 %define build_amrwbdec 1 %endif Summary: GStreamer Streaming-media framework plug-ins Name: %{bname}-plugins-ugly Version: 0.10.19 %define subrel 1 Release: %mkrel 18 License: LGPLv2+ Group: Video/Utilities Source: http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.bz2 Patch0: gstreamer-plugins-ugly-0.10.19-amr-headers.patch # Backported from upstream commit: # http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=a46bd0eff82c5d8888a084f7baeac39acdfb1b10 Patch1: gstreamer-plugins-ugly-0.10.19-fix-translations-installation.patch Patch2: gstreamer-plugins-ugly-0.10.19-cdio-0.90.patch Patch3: 02-CVE-2017-5846-asfdemux-invalid-read.patch Patch4: 03-CVE-2017-5847-asfdemux-oob-read.patch URL: http://gstreamer.freedesktop.org/ #gw for the pixbuf plugin BuildRequires: gtk+2-devel BuildRequires: glib2-devel >= %_glib2 BuildRequires: liborc-devel >= 0.4.5 BuildRequires: libgstreamer-plugins-base-devel >= 0.10.36 BuildRequires: libmesaglu-devel BuildRequires: libmad-devel BuildRequires: libid3tag-devel BuildRequires: libdvdread-devel BuildRequires: gettext-devel %ifnarch %mips %arm BuildRequires: valgrind-devel %endif BuildRequires: libcheck-devel Provides: %{bname}-audiosrc Provides: %{bname}-audiosink %description GStreamer is a streaming-media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plugin-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins. This package contains a set of plug-ins that have good quality and correct functionality, but distributing them might pose problems. The license on either the plug-ins or the supporting libraries might not be how the GStreamer authors like. The code might be widely known to present patent problems. %if %build_plf This package is in the 'tainted' section as it violates some patents. %endif %prep %setup -q -n gst-plugins-ugly-%{version} %autopatch -p1 %build autoreconf -vfi %configure2_5x \ --with-package-name='%{distribution} %name package' \ --with-package-origin='http://www.mageia.org/' \ %if %build_experimental --enable-experimental \ %endif --disable-static %make %check cd tests/check make check %install GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std %find_lang gst-plugins-ugly-%{majorminor} # Clean out files that should not be part of the rpm. find %{buildroot} -name "*.la" -delete %files -f gst-plugins-ugly-%{majorminor}.lang %doc AUTHORS COPYING README NEWS %{_libdir}/gstreamer-%{majorminor}/libgstasf.so %{_libdir}/gstreamer-%{majorminor}/libgstdvdlpcmdec.so %{_libdir}/gstreamer-%{majorminor}/libgstdvdread.so %{_libdir}/gstreamer-%{majorminor}/libgstdvdsub.so %{_libdir}/gstreamer-%{majorminor}/libgstiec958.so %{_libdir}/gstreamer-%{majorminor}/libgstmad.so %{_libdir}/gstreamer-%{majorminor}/libgstmpegaudioparse.so %{_libdir}/gstreamer-%{majorminor}/libgstmpegstream.so %{_libdir}/gstreamer-%{majorminor}/libgstrmdemux.so %if %build_experimental %{_libdir}/gstreamer-%{majorminor}/libgstsynaesthesia.so %endif %package -n %{bname}-lame Summary: GStreamer plug-in for encoding mp3 songs using lame Group: Sound/Utilities Requires: %{bname}-plugins >= %{version}-%{release} BuildRequires: liblame-devel >= 3.89 %description -n %{bname}-lame Plug-in for encoding mp3 with lame under GStreamer. %files -n %{bname}-lame %{_libdir}/gstreamer-%{majorminor}/libgstlame.so %if %build_x264 %package -n %{bname}-x264 Summary: GStreamer plug-in for H264/AVC video encoding Group: Video/Utilities BuildRequires: libx264-devel %description -n %{bname}-x264 Plug-in for encoding H264/AVC video. This package is in the 'tainted' section as it violates some patents. %files -n %{bname}-x264 %{_libdir}/gstreamer-%{majorminor}/libgstx264.so %{_datadir}/gstreamer-%{majorminor}/presets/GstX264Enc.prs %endif %if %build_amrnb %package -n %{bname}-amrnb Summary: GStreamer plug-in for AMR-NB support Group: Video/Utilities Requires: %{bname}-plugins >= %{version}-%{release} BuildRequires: opencore-amr-devel %description -n %{bname}-amrnb Plug-in for decoding AMR-NB under GStreamer. This package is in the 'tainted' section as it violates some patents. %files -n %{bname}-amrnb %{_libdir}/gstreamer-%{majorminor}/libgstamrnb.so %{_datadir}/gstreamer-%{majorminor}/presets/GstAmrnbEnc.prs %endif %if %build_amrwbdec %package -n %{bname}-amrwbdec Summary: GStreamer plug-in for AMR-WB decoding support Group: Video/Utilities Requires: %{bname}-plugins >= %{version}-%{release} BuildRequires: opencore-amr-devel %description -n %{bname}-amrwbdec Plug-in for decoding AMR-Wb under GStreamer. This package is in the 'tainted' section as it violates some patents. %files -n %{bname}-amrwbdec %{_libdir}/gstreamer-%{majorminor}/libgstamrwbdec.so %endif ### SIDPLAY ### %package -n %{bname}-sid Summary: GStreamer Sid C64 music plugin Group: Video/Utilities Requires: %{bname}-plugins >= %{version}-%{release} BuildRequires: sidplay-devel >= 1.36.0 %description -n %{bname}-sid Plugin for playback of C64 SID format music files %files -n %{bname}-sid %{_libdir}/gstreamer-%{majorminor}/libgstsid.so ### A52DEC ### %package -n %{bname}-a52dec Summary: GStreamer VOB decoder plugin Group: Video/Utilities Requires: %{bname}-plugins >= %{version}-%{release} BuildRequires: a52dec-devel >= 0.7.3 %description -n %{bname}-a52dec Plugin for decoding of VOB files. %files -n %{bname}-a52dec %{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so %package -n %{bname}-mpeg Summary: GStreamer plug-ins for MPEG video playback and encoding Group: Video/Utilities Requires: %{bname}-plugins >= %{version}-%{release} BuildRequires: libmpeg2dec-devel >= 0.3.1 %description -n %{bname}-mpeg Plug-ins for playing and encoding MPEG video. %files -n %{bname}-mpeg %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.so %package -n %{bname}-cdio Summary: GStreamer plug-in for audio CD playback Group: Sound/Utilities Requires: %{bname}-plugins >= %{version}-%{release} BuildRequires: libcdio-devel Conflicts: %{bname}-plugins-good < 0.10.10 %description -n %{bname}-cdio Plug-in for audio CD playback. %files -n %{bname}-cdio %{_libdir}/gstreamer-%{majorminor}/libgstcdio.so %package -n %{bname}-twolame Summary: GStreamer plug-in for MP2 encoding support Group: Sound/Utilities Requires: %{bname}-plugins >= %{version}-%{release} BuildRequires: libtwolame-devel %description -n %{bname}-twolame Plug-in for encoding MP2 under GStreamer. %files -n %{bname}-twolame %{_libdir}/gstreamer-%{majorminor}/libgsttwolame.so %changelog * Wed Dec 27 2017 luigiwalser <luigiwalser> 0.10.19-18.1.mga6 + Revision: 1185988 - add patches from debian to fix CVE-2017-584[67] * Sat May 06 2017 zezinho <zezinho> 0.10.19-18.mga6.tainted + Revision: 1099247 - mp3 patents gone * Tue Jan 19 2016 wally <wally> 0.10.19-17.mga6.tainted + Revision: 925891 - drop unneeded linking patch - add patch backported from upstream commit to fix translations installation after running autoreconf * Tue Jan 19 2016 luigiwalser <luigiwalser> 0.10.19-16.mga6.tainted + Revision: 925739 - BR gettext-devel for autopoint - add debian patches to fix build with opencore-amr 0.1.3 - rebuild for x264 * Thu Jul 16 2015 sander85 <sander85> 0.10.19-15.mga6.tainted + Revision: 854696 - Rebuild for new libcdio * Wed Oct 15 2014 umeabot <umeabot> 0.10.19-14.mga5.tainted + Revision: 740825 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.10.19-13.mga5.tainted + Revision: 679979 - Mageia 5 Mass Rebuild * Sun Mar 30 2014 daviddavid <daviddavid> 0.10.19-12.mga5.tainted + Revision: 610547 - rebuild for new x264 * Mon Feb 17 2014 luigiwalser <luigiwalser> 0.10.19-11.mga5 + Revision: 593270 - rebuild for x264 * Sat Feb 15 2014 luigiwalser <luigiwalser> 0.10.19-10.mga5.tainted + Revision: 592238 - rebuild for libcdio * Fri Nov 01 2013 lmenut <lmenut> 0.10.19-9.mga4.tainted + Revision: 548735 - Mageia 4 Mass Rebuild * Sun Sep 01 2013 fwang <fwang> 0.10.19-8.mga4.tainted + Revision: 473993 - fix build with latest cdio - rebuild for new libcdio * Sat Aug 24 2013 luigiwalser <luigiwalser> 0.10.19-7.mga4.tainted + Revision: 470989 - rebuild for x264 * Mon Jun 17 2013 luigiwalser <luigiwalser> 0.10.19-6.mga4.tainted + Revision: 443887 - rebuild for x264 * Sat Jan 12 2013 umeabot <umeabot> 0.10.19-5.mga3.tainted + Revision: 352750 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 shlomif <shlomif> 0.10.19-4.mga3.tainted + Revision: 343023 - Better grouping - Update groups and removed trailing whitespace * Sat Sep 15 2012 fwang <fwang> 0.10.19-3.mga3.tainted + Revision: 294221 - rebuild for new x264 * Fri Mar 23 2012 mitya <mitya> 0.10.19-2.mga2.tainted + Revision: 225789 + rebuild (emptylog) * Wed Feb 29 2012 shlomif <shlomif> 0.10.19-1.mga2 + Revision: 216253 - New version - 0.10.19 * Tue Dec 13 2011 fwang <fwang> 0.10.18-5.mga2.tainted + Revision: 181281 - rebuild for new x264 * Fri Oct 28 2011 fwang <fwang> 0.10.18-4.mga2.tainted + Revision: 159091 - rebuild for new libcdio * Sun Jun 26 2011 fwang <fwang> 0.10.18-3.mga2.tainted + Revision: 114028 - rebuild for new x264 * Mon Jun 20 2011 ahmad <ahmad> 0.10.18-2.mga2.tainted + Revision: 110740 - Add BR valgrind-devel (needed after the latest valgrind package split) - Mageia-ify the configure options * Mon Jun 20 2011 wally <wally> 0.10.18-1.mga2.tainted + Revision: 110664 - new version 0.10.18 - clean .spec * Sun May 29 2011 cjw <cjw> 0.10.17-2.mga1.tainted + Revision: 100686 - add support for tainted builds * Mon Apr 18 2011 wally <wally> 0.10.17-1.mga1 + Revision: 87682 - new version 0.10.17 - rediff patch - clean .spec a bit * Sat Feb 19 2011 mikala <mikala> 0.10.16-3.mga1 + Revision: 54142 - Use mageia in package name + ahmad <ahmad> - imported package gstreamer0.10-plugins-ugly * Mon Dec 06 2010 Götz Waschk <waschk@mandriva.org> 0.10.16-3mdv2011.0 + Revision: 612073 - rebuild * Fri Nov 05 2010 Funda Wang <fwang@mandriva.org> 0.10.16-2mdv2011.0 + Revision: 593557 - rebuild for gstreamer provides * Fri Sep 03 2010 Götz Waschk <waschk@mandriva.org> 0.10.16-1mdv2011.0 + Revision: 575666 - new version - replace dep on liboil by dep on orc * Sat Jul 10 2010 Götz Waschk <waschk@mandriva.org> 0.10.15-1mdv2011.0 + Revision: 550261 - new version - drop patches 1-5 * Wed May 05 2010 Götz Waschk <waschk@mandriva.org> 0.10.14-4mdv2010.1 + Revision: 542408 - rebuild again - add x264 patches * Wed May 05 2010 Götz Waschk <waschk@mandriva.org> 0.10.14-2mdv2010.1 + Revision: 542325 - rebuild * Sun Mar 07 2010 Götz Waschk <waschk@mandriva.org> 0.10.14-1mdv2010.1 + Revision: 515549 - new version - drop patch 1 * Sat Jan 23 2010 Götz Waschk <waschk@mandriva.org> 0.10.13-6mdv2010.1 + Revision: 495206 - rebuild * Thu Dec 10 2009 Götz Waschk <waschk@mandriva.org> 0.10.13-5mdv2010.1 + Revision: 475970 - rebuild * Mon Nov 09 2009 Götz Waschk <waschk@mandriva.org> 0.10.13-4mdv2010.1 + Revision: 463508 - fix build with new x264 * Mon Nov 09 2009 Götz Waschk <waschk@mandriva.org> 0.10.13-3mdv2010.1 + Revision: 463439 - rebuild for new libcdio * Fri Nov 06 2009 Götz Waschk <waschk@mandriva.org> 0.10.13-2mdv2010.1 + Revision: 461033 - new version - support building the amrwbdec element - drop patch 0 - fix opencore-amr linking * Wed Oct 21 2009 Götz Waschk <waschk@mandriva.org> 0.10.12-6mdv2010.0 + Revision: 458503 - fix mp3 seeking (bug #54729) * Fri Sep 25 2009 Olivier Blin <oblin@mandriva.com> 0.10.12-5mdv2010.0 + Revision: 448999 - disable valgrind on mips & arm (from Arnaud Patard) * Thu Jun 18 2009 Götz Waschk <waschk@mandriva.org> 0.10.12-4mdv2010.0 + Revision: 386944 - move x264 plugin here - new version * Sat Mar 21 2009 Götz Waschk <waschk@mandriva.org> 0.10.11-1mdv2009.1 + Revision: 359791 - new version - move twolame plugin here * Thu Dec 04 2008 Götz Waschk <waschk@mandriva.org> 0.10.10-1mdv2009.1 + Revision: 309909 - new version - drop patch - reenable checks * Wed Nov 19 2008 Frederik Himpe <fhimpe@mandriva.org> 0.10.9-2mdv2009.1 + Revision: 304445 - Add patch from upstream cvs fixing seeking in wmv files (bug #45825) * Wed Oct 29 2008 Götz Waschk <waschk@mandriva.org> 0.10.9-1mdv2009.1 + Revision: 298226 - disable checks * Mon Sep 01 2008 Götz Waschk <waschk@mandriva.org> 0.10.9-1mdv2009.0 + Revision: 278401 - new version - drop patches - move cdio plugin here * Mon Sep 01 2008 Götz Waschk <waschk@mandriva.org> 0.10.8-6mdv2009.0 + Revision: 278253 - rebuild for new libdvdread * Thu Aug 07 2008 Frederic Crozat <fcrozat@mandriva.com> 0.10.8-5mdv2009.0 + Revision: 266435 - Patch1: ensure translations are encoded in UTF-8 (GNOME bug #546822) + Götz Waschk <waschk@mandriva.org> - add experimental build option * Tue Jul 29 2008 Götz Waschk <waschk@mandriva.org> 0.10.8-4mdv2009.0 + Revision: 253404 - update the patch from cvs * Tue Jul 29 2008 Götz Waschk <waschk@mandriva.org> 0.10.8-3mdv2009.0 + Revision: 252460 - patch for lame plugin (b.g.o #498004) - remove lame workaround - fix conditional * Sat May 24 2008 Götz Waschk <waschk@mandriva.org> 0.10.8-2mdv2009.0 + Revision: 211033 - disable --as-needed for PLF builds to fix the lame configure check * Fri May 23 2008 Götz Waschk <waschk@mandriva.org> 0.10.8-1mdv2009.0 + Revision: 210258 - new version - drop patch * Thu Mar 13 2008 Götz Waschk <waschk@mandriva.org> 0.10.7-4mdv2008.1 + Revision: 187415 - rebuild * Thu Mar 13 2008 Götz Waschk <waschk@mandriva.org> 0.10.7-3mdv2008.1 + Revision: 187342 - add Mandriva branding * Wed Feb 27 2008 Götz Waschk <waschk@mandriva.org> 0.10.7-2mdv2008.1 + Revision: 175749 - fix broken Xing VBR header * Thu Feb 21 2008 Götz Waschk <waschk@mandriva.org> 0.10.7-1mdv2008.1 + Revision: 173580 - new version - drop patch * Fri Jan 18 2008 Götz Waschk <waschk@mandriva.org> 0.10.6-2mdv2008.1 + Revision: 154547 - update mpeg audio parser from CVS - add missing make call + Thierry Vignaud <tv@mandriva.org> - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Wed Jun 20 2007 Götz Waschk <waschk@mandriva.org> 0.10.6-1mdv2008.0 + Revision: 41839 - new version * Thu Dec 14 2006 Götz Waschk <waschk@mandriva.org> 0.10.5-1mdv2007.0 + Revision: 96989 - new version * Fri Dec 08 2006 Götz Waschk <waschk@mandriva.org> 0.10.4-3mdv2007.1 + Revision: 92237 - add optional support for amrnb * Fri Dec 08 2006 Götz Waschk <waschk@mandriva.org> 0.10.4-2mdv2007.1 + Revision: 92192 - Import gstreamer0.10-plugins-ugly * Fri Dec 08 2006 Götz Waschk <waschk@mandriva.org> 0.10.4-2mdv2007.1 - enable checks * Tue Aug 15 2006 Götz Waschk <waschk@mandriva.org> 0.10.4-1mdv2007.0 - New release 0.10.4 * Sun Jun 18 2006 Götz Waschk <waschk@mandriva.org> 0.10.3-2mdv2007.0 - fix buildrequires * Tue May 16 2006 Götz Waschk <waschk@mandriva.org> 0.10.3-1mdk - update file list - New release 0.10.3 * Thu Feb 23 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.10.2-2mdk - add BuildRequires: libdvdread-devel * Wed Feb 22 2006 Götz Waschk <waschk@mandriva.org> 0.10.2-1mdk - update file list - New release 0.10.2 * Tue Jan 17 2006 Götz Waschk <waschk@mandriva.org> 0.10.1-1mdk - New release 0.10.1 * Thu Dec 29 2005 Götz Waschk <waschk@mandriva.org> 0.10.0-2mdk - fix buildrequires - improve description * Tue Dec 06 2005 Götz Waschk <waschk@mandriva.org> 0.10.0-1mdk - initial package