forked from bbc/gst-audiodescription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gst-audiodescription.spec
38 lines (29 loc) · 930 Bytes
/
gst-audiodescription.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Name: gst-audiodescription
Version: 1.0.0
Release: 1%{?dist}
Summary: Gstreamer elements for processing audio description metadata
URL: https://github.com/dholroyd/gst-audiodescription
Requires: gstreamer1, gstreamer1-plugins-base
BuildRequires: gstreamer1-devel, gstreamer1-plugins-base-devel
License: LGPL
Source0: %{name}-%{version}.tar.gz
%description
The audiodescription Gstreamer plugin provides the elements
- whp198dec - decodes audio-description metadata itself encoded into an audio
waveform
- adcontrol - processes metadata produced by whp198dec to 'fade' another audio
track (so as to make the description audio be heard clearly)
%prep
%setup
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/usr/lib64/gstreamer-1.0/*.la
rm $RPM_BUILD_ROOT/usr/lib64/gstreamer-1.0/*.a
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_libdir}/gstreamer-1.0/*.so