gstreamer/gst-ffmpeg.spec.in

72 lines
2.1 KiB
RPMSpec
Raw Normal View History

%define majorminor @GST_MAJORMINOR@
%define gstreamer gstreamer
%define gst_minver 0.10.0
%define gst_majorminor 0.10
Name: %{gstreamer}-ffmpeg
Version: @VERSION@
Release: @PACKAGE_VERSION_RELEASE@
Summary: GStreamer Streaming-media framework plug-in using FFmpeg.
Group: Libraries/Multimedia
License: LGPL
URL: http://gstreamer.net/
Vendor: GStreamer Backpackers Team <package@gstreamer.net>
Source: http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg/gst-ffmpeg-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{gstreamer} >= 0.9.7
BuildRequires: %{gstreamer}-devel >= 0.9.7
BuildRequires: %{gstreamer}-plugins-base-devel >= 0.9.7
BuildRequires: liboil-devel >= 0.3.6
%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 plugin contains the FFmpeg codecs, containing codecs for most popular
multimedia formats.
%prep
%setup -q -n gst-ffmpeg-%{version}
%build
%configure
make %{?_smp_mflags} CFLAGS="-Wno-error -O1"
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_majorminor}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_majorminor}/*.a
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, -)
%doc AUTHORS COPYING README gst-ffmpeg.doap
%{_libdir}/gstreamer-%{gst_majorminor}/libgstffmpeg.so
%{_libdir}/gstreamer-%{gst_majorminor}/libgstpostproc.so
%changelog
* Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- clean up
- add doap file
* Wed Oct 05 2004 Christian Schaller <christian at fluendo dot com>
- Update SPEC file to fit the times
* Sat Feb 14 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- Clean up spec file
* Wed Jan 21 2004 Christian Schaller <Uraeus@gnome.org>
- First version of spec