mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
2615d0d4e9
Original commit message from CVS: fixed up and cleaned up the -bad spec file to have proper tests for whats installed and items put in correct categories.
121 lines
4.6 KiB
RPMSpec
121 lines
4.6 KiB
RPMSpec
%define majorminor @GST_MAJORMINOR@
|
|
%define gstreamer gstreamer
|
|
|
|
%define gst_minver 0.10.0
|
|
|
|
Name: %{gstreamer}-plugins-bad
|
|
Version: @VERSION@
|
|
Release: @PACKAGE_VERSION_RELEASE@.gst
|
|
Summary: GStreamer plug-ins of bad quality
|
|
|
|
%define majorminor @GST_MAJORMINOR@
|
|
|
|
Group: Applications/Multimedia
|
|
License: LGPL
|
|
URL: http://gstreamer.freedesktop.org/
|
|
Vendor: GStreamer Backpackers Team <package@gstreamer.freedesktop.org>
|
|
Source: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: %{gstreamer} >= %{gst_minver}
|
|
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
# @USE_AUDIOFILE_TRUE@Requires: audiofile >= 0.2.1
|
|
# @USE_AUDIOFILE_TRUE@BuildRequires: audiofile-devel >= 0.2.1
|
|
@USE_FAAD_TRUE@BuildRequires: faad2-devel >= 2.0
|
|
@USE_GSM_TRUE@BuildRequires: gsm-devel >= 1.0.10
|
|
# @USE_HERMES_TRUE@Requires: Hermes >= 1.3.0
|
|
# @USE_HERMES_TRUE@BuildRequires: Hermes-devel >= 1.3.0
|
|
# @USE_LIBFAME_TRUE@BuildRequires: libfame-devel >= 0.9.0
|
|
@USE_SDL_TRUE@Requires: SDL >= 1.2.0
|
|
@USE_SWFDEC_TRUE@BuildRequires: swfdec-devel
|
|
@USE_FAAD_TRUE@Provides: gstreamer-faad = %{version}-%{release}
|
|
@USE_FAAC_TRUE@Requires: faac >= 1.23
|
|
@USE_GSM_TRUE@Provides: gstreamer-gsm = %{version}-%{release}
|
|
# @USE_LIBFAME_TRUE@Provides: gstreamer-libfame = %{version}-%{release}
|
|
@USE_LIBMMS_TRUE@Requires: libmms >= 0.1
|
|
@USE_OPENGL_TRUE@Requires: mesa-libGL
|
|
@USE_WAVPACK_TRUE@Requires: wavpack-devel >= 4.32
|
|
|
|
%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 GStreamer Plugins that are considered to be of bad
|
|
quality, even though they might work.
|
|
|
|
%prep
|
|
%setup -q -n gst-plugins-bad-%{version}
|
|
|
|
%build
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
|
|
|
# Clean out files that should not be part of the rpm.
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
# %find_lang gst-plugins-bad-%{majorminor}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
|
|
%postun
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING README REQUIREMENTS
|
|
|
|
# non-core plugins without external dependencies
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstqtdemux.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsttta.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstspeed.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstcdxaparse.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstfreeze.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstxingheader.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgdp.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsth264parse.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstfilter.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstnsf.so
|
|
|
|
# gstreamer-plugins with external dependencies but in the main package
|
|
@USE_FAAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstfaad.so
|
|
@USE_FAAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstfaac.so
|
|
@USE_OPENGL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstglimagesink.so
|
|
@USE_MUSICBRAINZ_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttrm.so
|
|
# @USE_POLYP_TRUE@%{_libdir}/gstreamer-%{majorminor}/libpolypaudio.so
|
|
@USE_SDL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsdlvideosink.so
|
|
@USE_SWFDEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstswfdec.so
|
|
@USE_LIBMMS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmms.so
|
|
@USE_XVID_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvid.so
|
|
@USE_BZ2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstbz2.so
|
|
@USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
|
|
@USE_WAVPACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so
|
|
@USE_IVORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstivorbis.so
|
|
@USE_NEON_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstneonhttpsrc.so
|
|
@USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsaspdif.so
|
|
|
|
%{_datadir}/locale
|
|
|
|
%changelog
|
|
* Sun Nov 27 2005 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
- redone for split
|
|
|