gst-libav.spec.in 2.08 KB
Newer Older
Sebastian Dröge's avatar
Sebastian Dröge committed
1
%define majorminor  @GST_API_VERSION@
2 3 4
%define gstreamer   gstreamer011
%define gst_minver  0.11.0
%define gst_majorminor  1.0
5

6
Name: 		%{gstreamer}-libav
7
Version: 	@VERSION@
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
8
Release:	@PACKAGE_VERSION_RELEASE@	
9
Summary: 	GStreamer Streaming-media framework plug-in using libav (FFmpeg).
10 11 12
Group: 		Libraries/Multimedia
License: 	LGPL
URL:		http://gstreamer.net/
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
13
Vendor:		GStreamer Backpackers Team <package@gstreamer.net>
14
Source:		http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg/gst-libav-%{version}.tar.xz
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
15
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16

17 18
Requires:  	%{gstreamer} >= 0.9.7
BuildRequires: 	%{gstreamer}-devel >= 0.9.7
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
19
BuildRequires: 	%{gstreamer}-plugins-base-devel >= 0.9.7
20 21 22 23 24

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

29
This plugin contains the libav (formerly FFmpeg) codecs, containing codecs for most popular
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
30
multimedia formats.
31 32

%prep
33
%setup -q -n gst-libav-%{version}
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
34

35
%build
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
36 37
%configure

38
make
39 40

%install
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
41 42 43
rm -rf $RPM_BUILD_ROOT

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

%clean
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
48 49
rm -rf $RPM_BUILD_ROOT

50
%files
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
51
%defattr(-, root, root, -)
52 53
%doc AUTHORS COPYING README gst-libav.doap
%{_libdir}/gstreamer-%{gst_majorminor}/libgstlibav.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
54
%{_libdir}/gstreamer-%{gst_majorminor}/libgstpostproc.so
55 56
%{_libdir}/gstreamer-%{gst_majorminor}/libgstavscale.so

57

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

63 64 65
* 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
66 67 68
* Sat Feb 14 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- Clean up spec file

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