2012-08-20 16:09:17 +00:00
|
|
|
%global majorminor 1.0
|
|
|
|
|
|
|
|
# Turn of extras package on RHEL.
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
%bcond_without extras
|
|
|
|
%else
|
|
|
|
%bcond_with extras
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Name: gstreamer1-plugins-bad-free
|
2013-01-08 16:31:21 +00:00
|
|
|
Version: 1.0.5
|
2012-10-07 22:42:01 +00:00
|
|
|
Release: 1%{?dist}
|
2012-08-20 16:09:17 +00:00
|
|
|
Summary: GStreamer streaming media framework "bad" plugins
|
|
|
|
|
|
|
|
License: LGPLv2+ and LGPLv2
|
|
|
|
URL: http://gstreamer.freedesktop.org/
|
|
|
|
# The source is:
|
|
|
|
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz
|
|
|
|
# modified with gst-p-bad-cleanup.sh from SOURCE1
|
|
|
|
Source0: gst-plugins-bad-free-%{version}.tar.xz
|
|
|
|
Source1: gst-p-bad-cleanup.sh
|
|
|
|
|
|
|
|
BuildRequires: gstreamer1-devel >= %{version}
|
|
|
|
BuildRequires: gstreamer1-plugins-base-devel >= %{version}
|
|
|
|
|
|
|
|
BuildRequires: check
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: PyXML
|
|
|
|
BuildRequires: libXt-devel
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: exempi-devel
|
|
|
|
BuildRequires: gsm-devel
|
|
|
|
BuildRequires: jasper-devel
|
|
|
|
## Plugin not ported
|
|
|
|
#BuildRequires: ladspa-devel
|
|
|
|
BuildRequires: libdvdnav-devel
|
|
|
|
BuildRequires: libexif-devel
|
|
|
|
BuildRequires: libiptcdata-devel
|
|
|
|
BuildRequires: libmpcdec-devel
|
|
|
|
BuildRequires: liboil-devel
|
|
|
|
BuildRequires: librsvg2-devel
|
|
|
|
BuildRequires: libsndfile-devel
|
|
|
|
BuildRequires: mesa-libGLU-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: orc-devel
|
2012-09-20 11:45:59 +00:00
|
|
|
BuildRequires: soundtouch-devel
|
2012-09-26 17:58:18 +00:00
|
|
|
BuildRequires: wavpack-devel
|
|
|
|
BuildRequires: opus-devel
|
2012-08-20 16:09:17 +00:00
|
|
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
|
|
|
%if %{with extras}
|
|
|
|
BuildRequires: celt-devel
|
|
|
|
## Plugins not ported
|
|
|
|
#BuildRequires: dirac-devel
|
|
|
|
#BuildRequires: gmyth-devel >= 0.4
|
|
|
|
BuildRequires: libass-devel
|
|
|
|
## Plugin not ported
|
|
|
|
#BuildRequires: libcdaudio-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
## Plugin not ported
|
|
|
|
#BuildRequires: libkate-devel
|
|
|
|
BuildRequires: libmodplug-devel
|
|
|
|
## Plugins not ported
|
|
|
|
#BuildRequires: libmusicbrainz-devel
|
|
|
|
#BuildRequires: libtimidity-devel
|
|
|
|
BuildRequires: libvdpau-devel
|
|
|
|
# Requires opencv version < 2.3.1, Rawhide currently has 2.4.2
|
|
|
|
#BuildRequires: opencv-devel
|
|
|
|
BuildRequires: schroedinger-devel
|
|
|
|
## Plugins not ported
|
|
|
|
#BuildRequires: SDL-devel
|
|
|
|
#BuildRequires: slv2-devel
|
|
|
|
#BuildRequires: wildmidi-devel
|
|
|
|
BuildRequires: zbar-devel
|
|
|
|
BuildRequires: zvbi-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
GStreamer is a streaming media framework, based on graphs of elements which
|
|
|
|
operate on media data.
|
|
|
|
|
|
|
|
This package contains plug-ins that aren't tested well enough, or the code
|
|
|
|
is not of good enough quality.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with extras}
|
|
|
|
%package extras
|
|
|
|
Summary: Extra GStreamer "bad" plugins (less often used "bad" plugins)
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description extras
|
|
|
|
GStreamer is a streaming media framework, based on graphs of elements which
|
|
|
|
operate on media data.
|
|
|
|
|
|
|
|
gstreamer-plugins-bad contains plug-ins that aren't tested well enough,
|
|
|
|
or the code is not of good enough quality.
|
|
|
|
|
|
|
|
This package (%{name}-extras) contains
|
|
|
|
extra "bad" plugins for sources (mythtv), sinks (fbdev) and
|
|
|
|
effects (pitch) which are not used very much and require additional
|
|
|
|
libraries to be installed.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the GStreamer media framework "bad" plug-ins
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: gstreamer1-plugins-base-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
GStreamer is a streaming media framework, based on graphs of elements which
|
|
|
|
operate on media data.
|
|
|
|
|
|
|
|
This package contains the development files for the plug-ins that
|
|
|
|
aren't tested well enough, or the code is not of good enough quality.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n gst-plugins-bad-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-package-name="Fedora GStreamer-plugins-bad package" \
|
|
|
|
--with-package-origin="http://download.fedoraproject.org" \
|
|
|
|
%{!?with_extras:--disable-fbdev --disable-decklink --disable-linsys} \
|
2012-09-14 17:01:02 +00:00
|
|
|
--enable-debug --disable-static --enable-experimental \
|
2012-09-19 16:12:38 +00:00
|
|
|
--disable-dts --disable-faac --disable-faad --disable-nas \
|
2012-08-20 16:09:17 +00:00
|
|
|
--disable-mimic --disable-libmms --disable-mpeg2enc --disable-mplex \
|
|
|
|
--disable-neon --disable-openal --disable-rtmp --disable-xvid
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%find_lang gst-plugins-bad-%{majorminor}
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
# Kill rpath
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstvideoparsersbad.so
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcamerabin2.so
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files -f gst-plugins-bad-%{majorminor}.lang
|
|
|
|
%doc AUTHORS COPYING COPYING.LIB README REQUIREMENTS
|
|
|
|
|
|
|
|
%{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so.*
|
|
|
|
%{_libdir}/libgstbasevideo-%{majorminor}.so.*
|
|
|
|
%{_libdir}/libgstcodecparsers-%{majorminor}.so.*
|
|
|
|
%{_libdir}/libgstphotography-%{majorminor}.so.*
|
|
|
|
%{_libdir}/libgstsignalprocessor-%{majorminor}.so.*
|
|
|
|
# Plugins without external dependencies
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstadpcmdec.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstadpcmenc.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstasfmux.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudiovisualizers.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstautoconvert.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstbayer.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstcamerabin2.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstcoloreffects.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdataurisrc.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdtmf.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstfestival.so
|
2012-10-25 16:41:24 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstfieldanalysis.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstfragmented.so
|
2012-10-07 22:42:01 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstfrei0r.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgaudieffects.so
|
2012-09-14 17:01:02 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgdp.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgeometrictransform.so
|
2012-09-14 17:01:02 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstid3tag.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstinter.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstinterlace.so
|
2012-09-14 17:01:02 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstjpegformat.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstliveadder.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmpegpsdemux.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmpegtsdemux.so
|
2013-01-08 17:06:10 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmpegpsmux.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmpegtsmux.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstpcapparse.so
|
2012-09-14 17:01:02 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstpnm.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstrawparse.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstremovesilence.so
|
2012-09-14 17:01:02 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstresindvd.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstrtpmux.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstrtpvp8.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstscaletempoplugin.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstsdpelem.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstsegmentclip.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstshm.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstsmooth.so
|
2012-09-14 17:01:02 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstspeed.so
|
2012-10-25 16:41:24 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstsubenc.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideoparsersbad.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsty4mdec.so
|
|
|
|
|
2012-09-14 17:01:02 +00:00
|
|
|
# System (Linux) specific plugins
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdvb.so
|
|
|
|
|
2012-08-20 16:09:17 +00:00
|
|
|
# Plugins with external dependencies
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstbz2.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgsm.so
|
2012-09-26 18:17:30 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstopus.so
|
2012-08-20 16:09:17 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstsoundtouch.so
|
|
|
|
|
|
|
|
#debugging plugin
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdebugutilsbad.so
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with extras}
|
|
|
|
%files extras
|
|
|
|
# Plugins with external dependencies
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstassrender.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstcelt.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstcurl.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstschro.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstzbar.so
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
2012-09-14 17:01:02 +00:00
|
|
|
#%doc %{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-%{majorminor}
|
2012-08-20 16:09:17 +00:00
|
|
|
%doc %{_datadir}/gtk-doc/html/gst-plugins-bad-libs-%{majorminor}
|
|
|
|
%{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so
|
|
|
|
%{_libdir}/libgstbasevideo-%{majorminor}.so
|
|
|
|
%{_libdir}/libgstcodecparsers-%{majorminor}.so
|
|
|
|
%{_libdir}/libgstphotography-%{majorminor}.so
|
|
|
|
%{_libdir}/libgstsignalprocessor-%{majorminor}.so
|
|
|
|
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/basecamerabinsrc
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/codecparsers
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/photography*
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/signalprocessor
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/video
|
|
|
|
|
|
|
|
# pkg-config files
|
|
|
|
%{_libdir}/pkgconfig/gstreamer-basevideo-%{majorminor}.pc
|
|
|
|
%{_libdir}/pkgconfig/gstreamer-codecparsers-%{majorminor}.pc
|
|
|
|
%{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc
|
|
|
|
|
|
|
|
%changelog
|
2013-01-08 16:31:21 +00:00
|
|
|
* Tue Jan 8 2013 Brian Pepple <bpepple@fedoraproject.org> - 1.0.5-1
|
|
|
|
- Update to 1.0.5
|
|
|
|
|
2012-12-19 03:44:39 +00:00
|
|
|
* Wed Dec 19 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.4-1
|
|
|
|
- Update to 1.0.4
|
|
|
|
|
2012-11-21 17:07:24 +00:00
|
|
|
* Wed Nov 21 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.3-1
|
|
|
|
- Update to 1.0.3
|
|
|
|
|
2012-10-25 16:00:27 +00:00
|
|
|
* Thu Oct 25 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.2-1
|
|
|
|
- Update to 1.0.2
|
|
|
|
|
2012-10-07 22:42:01 +00:00
|
|
|
* Sun Oct 7 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.1-1
|
|
|
|
- Update to 1.0.1
|
|
|
|
- Add frei0r plugin to file list.
|
|
|
|
|
2012-10-01 19:42:25 +00:00
|
|
|
* Mon Oct 1 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.0-3
|
|
|
|
- Enable verbose build
|
|
|
|
|
2012-09-26 17:58:18 +00:00
|
|
|
* Wed Sep 26 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.0-2
|
|
|
|
- Build opus plugin.
|
|
|
|
|
2012-09-24 19:56:20 +00:00
|
|
|
* Mon Sep 24 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.0-1
|
|
|
|
- Update to 1.0.0.
|
|
|
|
|
2012-09-20 11:45:59 +00:00
|
|
|
* Thu Sep 20 2012 Bastien Nocera <bnocera@redhat.com> 0.11.99-2
|
|
|
|
- The soundtouch-devel BR should be on, even with extras disabled
|
|
|
|
|
2012-09-19 16:12:38 +00:00
|
|
|
* Wed Sep 19 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.99-1
|
|
|
|
- Update to 0.11.99
|
|
|
|
|
2012-09-14 16:06:08 +00:00
|
|
|
* Fri Sep 14 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.94-1
|
|
|
|
- Update to 0.11.94.
|
|
|
|
|
2012-08-20 16:09:17 +00:00
|
|
|
* Sat Aug 18 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.93-2
|
|
|
|
- Fix permission on tarball clean-up script.
|
|
|
|
- Re-enable soundtouch-devel.
|
|
|
|
- Add COPYING.LIB to package.
|
|
|
|
- Use %%global instead of %%define.
|
|
|
|
|
|
|
|
* Wed Aug 15 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.93-1
|
|
|
|
- Update to 0.11.93.
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.92-1
|
|
|
|
- Initial Fedora spec file.
|