gst-libav.spec.in 2.1 KB
Newer Older
Sebastian Dröge's avatar
Sebastian Dröge committed
1
%define majorminor  @GST_API_VERSION@
2 3
%define gstreamer   gstreamer
%define gst_minver  0.10.0
4 5 6 7
%define gst_majorminor  0.10


Name: 		%{gstreamer}-ffmpeg
8
Version: 	@VERSION@
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
9
Release:	@PACKAGE_VERSION_RELEASE@	
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
10
Summary: 	GStreamer Streaming-media framework plug-in using FFmpeg.
11 12 13 14

Group: 		Libraries/Multimedia
License: 	LGPL
URL:		http://gstreamer.net/
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
15
Vendor:		GStreamer Backpackers Team <package@gstreamer.net>
Stéphane Loeuillet's avatar
Stéphane Loeuillet committed
16
Source:		http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg/gst-ffmpeg-%{version}.tar.gz
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
17
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18

19 20
Requires:  	%{gstreamer} >= 0.9.7
BuildRequires: 	%{gstreamer}-devel >= 0.9.7
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
21 22
BuildRequires: 	%{gstreamer}-plugins-base-devel >= 0.9.7
BuildRequires: 	liboil-devel >= 0.3.6
23 24 25 26 27

%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
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
28
else media-related. Its plugin-based architecture means that new data
29
types or processing capabilities can be added simply by installing new
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
30 31 32 33
plug-ins.

This plugin contains the FFmpeg codecs, containing codecs for most popular
multimedia formats.
34 35

%prep
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
36 37
%setup -q -n gst-ffmpeg-%{version}

38
%build
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
39 40
%configure

41
make
42 43

%install
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
44 45 46
rm -rf $RPM_BUILD_ROOT

%makeinstall
Christian Schaller's avatar
Christian Schaller committed
47
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_majorminor}/*.la
Christian Schaller's avatar
Christian Schaller committed
48
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_majorminor}/*.a
49 50

%clean
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
51 52
rm -rf $RPM_BUILD_ROOT

53
%files
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
54
%defattr(-, root, root, -)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
55
%doc AUTHORS COPYING README gst-ffmpeg.doap
Christian Schaller's avatar
Christian Schaller committed
56
%{_libdir}/gstreamer-%{gst_majorminor}/libgstffmpeg.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
57
%{_libdir}/gstreamer-%{gst_majorminor}/libgstpostproc.so
58
%{_libdir}/gstreamer-%{gst_majorminor}/libgstffmpegscale.so
59

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
60
%changelog
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
61 62 63 64
* Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- clean up
- add doap file

65 66 67
* Wed Oct 05 2004 Christian Schaller <christian at fluendo dot com>
- Update SPEC file to fit the times

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
68 69 70
* Sat Feb 14 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- Clean up spec file

71 72
* Wed Jan 21 2004 Christian Schaller <Uraeus@gnome.org>
- First version of spec