forked from esrille/escudo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
escudo.spec.in
85 lines (75 loc) · 2.95 KB
/
escudo.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Summary: Escudo Web Browser
Name: escudo
Version: @VERSION@
Release: 1%{?dist}
License: Apache License, Version 2.0
Group: Applications/Internet
URL: http://code.google.com/p/es-operating-system/
Source0: escudo-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc gcc-c++ autoconf automake
BuildRequires: desktop-file-utils
BuildRequires: liberation-fonts-common liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts
BuildRequires: dejavu-fonts-common dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts
BuildRequires: ipa-gothic-fonts ipa-mincho-fonts ipa-pgothic-fonts ipa-pmincho-fonts gdouros-aegean-fonts
BuildRequires: bison re2c libicu-devel openssl-devel
BuildRequires: giflib-devel libpng-devel libjpeg-devel
BuildRequires: freetype-devel freeglut-devel glew-devel libXmu-devel
BuildRequires: boost-devel boost-iostreams boost-system boost-regex
BuildRequires: js-devel v8-devel
BuildRequires: esidl
Requires: liberation-fonts-common liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts
Requires: dejavu-fonts-common dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts
Requires: ipa-gothic-fonts ipa-mincho-fonts ipa-pgothic-fonts ipa-pmincho-fonts gdouros-aegean-fonts
%description
Escudo is a new web browser currently being developed as one of the
ES operating system projects. Escudo has a totally new CSS/HTML
rendering engine, and it can be configured with SpiderMonkey or V8
JavaScript engine at this point.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
desktop-file-install \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/escudo.desktop
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%defattr(-,root,root,-)
%doc LICENSE NOTICE ChangeLog
%{_bindir}/escudo
%dir %{_libexecdir}/esrille/escudo
%{_libexecdir}/esrille/escudo/escudo
%dir %{_datadir}/esrille/escudo
%{_datadir}/esrille/escudo/default.css
%{_datadir}/esrille/escudo/escudo.html
%{_datadir}/esrille/escudo/escudo.ico
%{_datadir}/esrille/escudo/escudo.png
%{_datadir}/esrille/escudo/gear.gif
%{_datadir}/esrille/escudo/go-next.png
%{_datadir}/esrille/escudo/go-previous.png
%{_datadir}/esrille/escudo/view-refresh.png
%{_datadir}/esrille/escudo/process-stop.png
%{_datadir}/esrille/escudo/preshint.css
%dir %{_datadir}/esrille/escudo/about
%{_datadir}/esrille/escudo/about/blank
%{_datadir}/esrille/escudo/about/index.html
%{_datadir}/esrille/escudo/about/escudo.png
%{_datadir}/esrille/escudo/about/escudo_128.png
%{_datadir}/esrille/escudo/about/escudo_24.png
%{_datadir}/icons/hicolor/*/apps/escudo.png
%{_datadir}/applications/escudo.desktop
%clean
rm -rf $RPM_BUILD_ROOT