mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
4701696a92
Hook up build infrastructure (autotools, docs, unit test).
171 lines
7.4 KiB
RPMSpec
171 lines
7.4 KiB
RPMSpec
%define majorminor @GST_MAJORMINOR@
|
|
%define gstreamer gstreamer
|
|
|
|
%define gst_minver 0.10.0
|
|
|
|
Name: %{gstreamer}-plugins-good
|
|
Version: @VERSION@
|
|
Release: @PACKAGE_VERSION_RELEASE@.gst
|
|
Summary: GStreamer plug-ins with good code and licensing
|
|
|
|
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-good/gst-plugins-good-%{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_ESD_TRUE@BuildRequires: esound-devel >= 0.2.8
|
|
@USE_ESD_TRUE@Obsoletes: gstreamer-esd
|
|
@USE_ESD_TRUE@
|
|
@USE_ESD_TRUE@Provides: gstreamer-audiosrc
|
|
@USE_ESD_TRUE@Provides: gstreamer-audiosink
|
|
@USE_FLAC_TRUE@BuildRequires: flac-devel >= 1.0.3
|
|
@USE_GCONF_TRUE@BuildRequires: GConf2-devel
|
|
@USE_JPEG_TRUE@BuildRequires: libjpeg-devel
|
|
@USE_LIBCACA_TRUE@BuildRequires: libcaca-devel
|
|
@USE_LIBDV_TRUE@BuildRequires: libdv-devel
|
|
@USE_LIBPNG_TRUE@BuildRequires: libpng-devel >= 1.2.0
|
|
@USE_OSS_TRUE@BuildRequires: glibc-devel
|
|
@USE_SPEEX_TRUE@BuildRequires: speex-devel
|
|
@USE_HAL_TRUE@BuildRequires: hal-devel
|
|
@USE_SHOUT2_TRUE@BuildRequires: libshout-devel >= 2.0
|
|
@USE_AALIB_TRUE@BuildRequires: aalib-devel >= 1.3
|
|
@USE_AALIB_TRUE@Provides: gstreamer-aasink = %{version}-%{release}
|
|
@USE_PULSE_TRUE@BuildRequires: pulseaudio-libs-devel
|
|
@USE_DV1394_TRUE@BuildRequires: libavc1394-devel
|
|
@USE_DV1394_TRUE@BuildRequires: libdc1394-devel
|
|
@USE_DV1394_TRUE@BuildRequires: libiec61883-devel
|
|
@USE_DV1394_TRUE@BuildRequires: libraw1394-devel
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n gst-plugins-good-%{version}
|
|
%build
|
|
%configure \
|
|
--enable-debug \
|
|
--enable-DEBUG
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
%makeinstall
|
|
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
|
|
# 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-good-%{majorminor}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
@USE_GCONF_TRUE@export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
@USE_GCONF_TRUE@gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null
|
|
|
|
%files -f gst-plugins-good-%{majorminor}.lang
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING README REQUIREMENTS gst-plugins-good.doap
|
|
%{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer10Bands.prs
|
|
%{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer3Bands.prs
|
|
|
|
# non-core plugins without external dependencies
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstalaw.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstalpha.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstautodetect.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstavi.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgoom.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstlevel.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstefence.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstqtdemux.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstrtp.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstrtpmanager.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstrtsp.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstudp.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideobox.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideoflip.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstauparse.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdebug.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstnavigationtest.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstalphacolor.so
|
|
@USE_CAIRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcairo.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmatroska.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideomixer.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstcutter.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmultipart.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstid3demux.so
|
|
@USE_GDK_PIXBUF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstapetag.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstannodex.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideobalance.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideocrop.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsticydemux.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsttaglib.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstximagesrc.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudiofx.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgamma.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstequalizer.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmultifile.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgoom2k1.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstinterleave.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstreplaygain.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstflv.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsty4menc.so
|
|
|
|
# sys plugins
|
|
@USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
|
|
|
|
# gstreamer-plugins with external dependencies but in the main package
|
|
@USE_LIBCACA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcacasink.so
|
|
@USE_ESD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstesd.so
|
|
@USE_FLAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstflac.so
|
|
@USE_JPEG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so
|
|
@USE_LIBPNG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpng.so
|
|
@USE_OSS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so
|
|
@USE_SPEEX_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so
|
|
@USE_GCONF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgconfelements.so
|
|
@USE_HAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsthalelements.so
|
|
@USE_SHOUT2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstshout2.so
|
|
@USE_AALIB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstaasink.so
|
|
@USE_LIBDV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdv.so
|
|
@USE_DV1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
|
|
@USE_WAVPACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so
|
|
@USE_SOUP_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsouphttpsrc.so
|
|
@USE_PULSE_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpulse.so
|
|
|
|
# schema files
|
|
@USE_GCONF_TRUE@%{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas
|
|
|
|
%changelog
|
|
* Tue Jun 12 2007 Jan Schmidt <jan at fluendo dot com>
|
|
- wavpack and qtdemux have moved from bad
|
|
|
|
* Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
- clean up for splitup
|