File chromium-plugin-widevinecdm.spec of Package chromium-plugin-widevinecdm (Revision 9b1701285d776da7c89b5c41d4a3a0a1)
Currently displaying revision 9b1701285d776da7c89b5c41d4a3a0a1 , Show latest
58
1
#
2
# spec file for package chromium-plugin-widevinecdm
3
#
4
# Copyright (c) 2016 Packman Team <packman@links2linux.de>
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via https://bugs.links2linux.org/
16
#
17
18
19
Name: chromium-plugin-widevinecdm
20
Version: 1.4.8.893
21
Release: 0
22
Summary: Chromium Widevine CDM plugin
23
License: SUSE-NonFree
24
Group: Productivity/Networking/Web/Browsers
25
Url: https://google.com/chrome
26
Source: https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
27
BuildRequires: cpio
28
BuildRequires: rpm
29
Requires: chromium-browser
30
# chromium-widevinecdm-plugin was last used in openSUSE Leap 42.1.
31
Provides: chromium-widevinecdm-plugin = 22.%{version}
32
Obsoletes: chromium-widevinecdm-plugin < 22.%{version}
33
ExclusiveArch: x86_64
34
35
%description
36
Official Widevine CDM plugin for Google's FOSS browser Chromium.
37
38
%prep
39
%setup -q -c -T
40
rpm2cpio %{SOURCE0} | cpio -idmv
41
42
%build
43
# Nothing to build.
44
45
%install
46
install -Dpm 0644 opt/google/chrome/libwidevinecdm.so \
47
%{buildroot}%{_libdir}/chromium/libwidevinecdm.so
48
install -Dpm 0644 opt/google/chrome/libwidevinecdmadapter.so \
49
%{buildroot}%{_libdir}/chromium/libwidevinecdmadapter.so
50
51
%files
52
%defattr(-,root,root)
53
%dir %{_libdir}/chromium/
54
%{_libdir}/chromium/libwidevinecdm.so
55
%{_libdir}/chromium/libwidevinecdmadapter.so
56
57
%changelog
58