summaryrefslogtreecommitdiff
path: root/packaging/chromium-blink.spec
blob: 2d6c14757213c19b3428af80f394c51a9ca094d5 (plain)
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

Name:           chromium-blink
Version:        0.1
Release:        0
Summary:        Blink third-party for Chromium
License:        Apache-2.0
Group:          System/Libraries
Url:            https://chromium.googlesource.com/chromium

Source0:        %name-%version.tar.xz
Source1:        %name.manifest
Patch1:         0001-fix_various_paths.patch

%description
Web Engine, originally a fork of WebKit. (PATCHED BY CHROMIUM)

%prep
%setup -q
cp %{SOURCE1} .

%patch1

%build

%install
mkdir -p %{buildroot}%{_datadir}/chromium/third_party/WebKit
cp -dr --no-preserve=ownership * %{buildroot}%{_datadir}/chromium/third_party/WebKit
# we do not need tests, and they make the RPM too big
rm -rf %{buildroot}%{_datadir}/chromium/third_party/WebKit/*Tests
rm -rf %{buildroot}%{_datadir}/chromium/third_party/WebKit/.git
rm -f %{buildroot}%{_datadir}/chromium/third_party/WebKit/.gitignore

%files
%manifest %{name}.manifest
%defattr(-,root,root)
%license LICENSE
%{_datadir}/chromium/third_party/WebKit/*

%changelog