1efc7f
%global         majorminor      1.0
1efc7f
1efc7f
# Turn off extras package on RHEL.
1efc7f
%if ! 0%{?rhel}
1efc7f
%bcond_without extras
1efc7f
%else
1efc7f
%bcond_with extras
1efc7f
%endif
1efc7f
1efc7f
Name:           gstreamer1-plugins-good
1efc7f
Version:        1.0.7
ef9b0f
Release:        5%{?dist}
1efc7f
Summary:        GStreamer plugins with good code and licensing
1efc7f
1efc7f
License:        LGPLv2+
1efc7f
URL:            http://gstreamer.freedesktop.org/
1efc7f
Source0:        http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.xz
1efc7f
Patch3:         0001-v4l2src-Check-for-obj-pool-NULL.patch
ef9b0f
Patch4:         0001-effectv-fix-doc-section-of-revtv-element.patch
1efc7f
1efc7f
BuildRequires:  gstreamer1-devel >= %{version}
1efc7f
BuildRequires:  gstreamer1-plugins-base-devel >= %{version}
1efc7f
1efc7f
BuildRequires:  flac-devel >= 1.1.4
1efc7f
BuildRequires:  gdk-pixbuf2-devel
1efc7f
BuildRequires:  libjpeg-devel
1efc7f
BuildRequires:  libpng-devel >= 1.2.0
1efc7f
BuildRequires:  libshout-devel
1efc7f
BuildRequires:  libsoup-devel
1efc7f
BuildRequires:  libX11-devel
1efc7f
BuildRequires:  orc-devel
1efc7f
BuildRequires:  pulseaudio-libs-devel
1efc7f
BuildRequires:  speex-devel
1efc7f
BuildRequires:  taglib-devel
1efc7f
BuildRequires:  wavpack-devel
1efc7f
BuildRequires:  libv4l-devel
1efc7f
BuildRequires:  libvpx-devel >= 1.1.0
1efc7f
1efc7f
%ifnarch s390 s390x
1efc7f
BuildRequires:  libavc1394-devel
1efc7f
BuildRequires:  libdv-devel
1efc7f
BuildRequires:  libiec61883-devel
1efc7f
BuildRequires:  libraw1394-devel
1efc7f
%endif
1efc7f
1efc7f
# extras
1efc7f
%if %{with extras}
1efc7f
BuildRequires:  jack-audio-connection-kit-devel
1efc7f
%endif
1efc7f
1efc7f
# documentation
1efc7f
BuildRequires:  gtk-doc
1efc7f
BuildRequires:  python-devel
1efc7f
1efc7f
1efc7f
%description
1efc7f
GStreamer is a streaming media framework, based on graphs of filters which
1efc7f
operate on media data. Applications using this library can do anything
1efc7f
from real-time sound processing to playing videos, and just about anything
1efc7f
else media-related.  Its plugin-based architecture means that new data
1efc7f
types or processing capabilities can be added simply by installing new
1efc7f
plugins.
1efc7f
1efc7f
GStreamer Good Plugins is a collection of well-supported plugins of
1efc7f
good quality and under the LGPL license.
1efc7f
1efc7f
1efc7f
%if %{with extras}
1efc7f
%package extras
1efc7f
Summary:        Extra GStreamer plugins with good code and licensing
1efc7f
Requires:       %{name}%{?_isa} = %{version}-%{release}
1efc7f
1efc7f
1efc7f
%description extras
1efc7f
GStreamer is a streaming media framework, based on graphs of filters
1efc7f
which operate on media data.
1efc7f
1efc7f
GStreamer Good Plugins is a collection of well-supported plugins of
1efc7f
good quality and under the LGPL license.
1efc7f
1efc7f
%{name}-extras contains extra "good" plugins
1efc7f
which are not used very much and require additional libraries
1efc7f
to be installed.
1efc7f
%endif
1efc7f
1efc7f
1efc7f
%prep
1efc7f
%setup -q -n gst-plugins-good-%{version}
1efc7f
%patch3 -p1
ef9b0f
%patch4 -p1
1efc7f
1efc7f
1efc7f
%build
1efc7f
%configure \
1efc7f
  --with-package-name='Fedora GStreamer-plugins-good package' \
1efc7f
  --with-package-origin='http://download.fedoraproject.org' \
1efc7f
  --enable-experimental \
1efc7f
  --enable-gtk-doc \
1efc7f
  --enable-orc \
1efc7f
  --disable-monoscope \
1efc7f
  --disable-aalib \
ef9b0f
  --disable-cairo \
1efc7f
  --disable-libcaca \
1efc7f
%if %{with extras}
1efc7f
  --enable-jack \
1efc7f
%else
1efc7f
  --disable-jack \
1efc7f
%endif
1efc7f
  --with-default-visualizer=autoaudiosink
1efc7f
make %{?_smp_mflags} V=1
1efc7f
1efc7f
1efc7f
%install
1efc7f
rm -rf $RPM_BUILD_ROOT
1efc7f
make install DESTDIR=$RPM_BUILD_ROOT
1efc7f
1efc7f
%find_lang gst-plugins-good-%{majorminor}
1efc7f
1efc7f
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
1efc7f
1efc7f
1efc7f
%files -f gst-plugins-good-%{majorminor}.lang
1efc7f
%doc AUTHORS COPYING README REQUIREMENTS
1efc7f
%doc %{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{majorminor}
1efc7f
1efc7f
# Equaliser presets
1efc7f
%dir %{_datadir}/gstreamer-%{majorminor}/presets/
1efc7f
%{_datadir}/gstreamer-%{majorminor}/presets/GstVP8Enc.prs
1efc7f
%{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer10Bands.prs
1efc7f
%{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer3Bands.prs
1efc7f
1efc7f
# non-core plugins without external dependencies
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstalaw.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstalphacolor.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstalpha.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstapetag.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstaudiofx.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstaudioparsers.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstauparse.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstautodetect.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstavi.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstcutter.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstdebug.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstequalizer.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstflv.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstgoom2k1.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstgoom.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgsticydemux.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstid3demux.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstimagefreeze.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstinterleave.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstisomp4.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstlevel.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstmatroska.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstmultifile.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstmultipart.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstnavigationtest.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstoss4audio.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstreplaygain.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstrtp.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstrtsp.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstshapewipe.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstudp.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstvideobox.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstvideocrop.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstvideofilter.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstvideomixer.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstximagesrc.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgsty4menc.so
1efc7f
1efc7f
# gstreamer-plugins with external dependencies but in the main package
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstflac.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstpng.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstpulse.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstrtpmanager.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstshout2.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstsouphttpsrc.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgsttaglib.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstvpx.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so
1efc7f
1efc7f
%ifnarch s390 s390x
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstdv.so
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
1efc7f
%endif
1efc7f
1efc7f
1efc7f
%if %{with extras}
1efc7f
%files extras
1efc7f
# Plugins with external dependencies
1efc7f
%{_libdir}/gstreamer-%{majorminor}/libgstjack.so
1efc7f
%endif
1efc7f
1efc7f
1efc7f
%changelog
ef9b0f
* Thu Feb  6 2014 Wim Taymans <wtaymans@redhat.com> - 1.0.7-5
ef9b0f
- Fix wrong reference in docs (#884492)
ef9b0f
- Disable the cairo plugin, we don't package it (#1048513)
ef9b0f
ef9b0f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.7-4
ef9b0f
- Mass rebuild 2014-01-24
ef9b0f
ef9b0f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.7-3
ef9b0f
- Mass rebuild 2013-12-27
ef9b0f
1efc7f
* Mon Nov  4 2013 Matthias Clasen <mclasen@redhat.com> - 1.0.7-2
1efc7f
- Rebuild with new gtk-doc to fix multilib conflict
1efc7f
- Related: #884492
1efc7f
1efc7f
* Fri Apr 26 2013 Brian Pepple <bpepple@fedoraproject.org> - 1.0.7-1
1efc7f
- Update to 1.0.7.
1efc7f
1efc7f
* Sun Mar 24 2013 Brian Pepple <bpepple@fedoraproject.org> - 1.0.6-1
1efc7f
- Update to 1.0.6.
1efc7f
- Drop BR on PyXML.
1efc7f
1efc7f
* Wed Feb  6 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.5-3
1efc7f
- Add gdk-pixbuf2-devel build dep. It was pulled in by something else for gst 0.10
1efc7f
1efc7f
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.0.5-2
1efc7f
- rebuild due to "jpeg8-ABI" feature drop
1efc7f
1efc7f
* Tue Jan  8 2013 Brian Pepple <bpepple@fedoraproject.org> - 1.0.5-1
1efc7f
- Update to 1.0.5
1efc7f
1efc7f
* Wed Dec 19 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.4-1
1efc7f
- Update to 1.0.4
1efc7f
1efc7f
* Wed Nov 21 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.3-1
1efc7f
- Update to 1.0.3
1efc7f
- Drop speexdec patch. Fixed upstream.
1efc7f
- Drop vp8 patches. Fixed upstream.
1efc7f
1efc7f
* Wed Nov  7 2012 Debarshi Ray <rishi@fedoraproject.org> - 1.0.2-3
1efc7f
- Fixes for GNOME #687464 and #687793
1efc7f
1efc7f
* Fri Nov  2 2012 Debarshi Ray <rishi@fedoraproject.org> - 1.0.2-2
1efc7f
- Fixes for vp8dec including GNOME #687376
1efc7f
1efc7f
* Thu Oct 25 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.2-1
1efc7f
- Update to 1.0.2
1efc7f
- Drop upstream patches since they are included in latest release.
1efc7f
1efc7f
* Wed Oct 24 2012 Debarshi Ray <rishi@fedoraproject.org> - 1.0.1-2
1efc7f
- Fix target-bitrate for vp8enc
1efc7f
1efc7f
* Sun Oct  7 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.1-1
1efc7f
- Update to 1.0.1
1efc7f
1efc7f
* Tue Oct  2 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.0-3
1efc7f
- Add required version for vpx-devel. (#862157)
1efc7f
1efc7f
* Mon Oct  1 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.0-2
1efc7f
- Enable verbose build
1efc7f
1efc7f
* Mon Sep 24 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.0-1
1efc7f
- Update to 1.0.0.
1efc7f
1efc7f
* Fri Sep 21 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.99-2
1efc7f
- Add vp8 plugin to package from gst1-plugins-bad. (#859505)
1efc7f
1efc7f
* Wed Sep 19 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.99-1
1efc7f
- Update to 0.11.99
1efc7f
1efc7f
* Fri Sep 14 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.94-1
1efc7f
- Update to 0.11.94.
1efc7f
- Drop v4l2-buffer patch. Fixed upstream.
1efc7f
1efc7f
* Wed Aug 15 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.93-1
1efc7f
- Update to 0.11.93.
1efc7f
- Add batch to fix build with recent kernels, the v4l2_buffer input field was removed.
1efc7f
- Use %%global instead of %%define.
1efc7f
1efc7f
* Wed Jul 18 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.92-1
1efc7f
- Initial Fedora spec.