gst-libav.spec.in 2.13 KB
Newer Older
1
%define majorminor  @GST_API_VERSION@
2 3
%define gstreamer   gstreamer1
%define gst_minver  1.0
4
%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 19
Requires:  	%{gstreamer} >= 1.0.0
BuildRequires: 	%{gstreamer}-devel >= 1.0.0
BuildRequires: 	%{gstreamer}-plugins-base-devel >= 1.0.0
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
54
%{_datadir}/gtk-doc/html/gst-libav-plugins-%{gst_majorminor}/*
55

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
56
%changelog
57 58 59
* Fri Aug 03 2012 Christian Schaller <uraeus@linuxrising.org>
- update for 1.0 release and libav rename

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

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

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