forked from asrashley/gst-cencdec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gst-cenc.spec.in
49 lines (36 loc) · 1.04 KB
/
gst-cenc.spec.in
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
39
40
41
42
43
44
45
46
47
48
%define majorminor 1.0
%{!?gstreamer: %define gstreamer gstreamer}
Name: %{gstreamer}-cenc
Version: 0.0.1
Release: 1.cenc
Summary: GStreamer plug-in to handle DASH common encryption
Group: Applications/Multimedia
License: Commercial
URL: http://www.youview.com/
Source: gst-cenc-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig
BuildRequires: %{gstreamer}-devel
BuildRequires: %{gstreamer}-plugins-base-devel
BuildRequires: %{gstreamer}-plugins-good-devel
BuildRequires: %{gstreamer}-plugins-bad-devel
%description
GStreamer plug-in to handle DASH common encryption
%prep
%setup -q -n gst-cenc-%{version}
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
# Remove unneeded .la and .a files
rm -rf $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
rm -rf $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README.md
%{_libdir}/gstreamer-%{majorminor}/*.so
%changelog