/
dillo.spec
68 lines (59 loc) · 1.82 KB
/
dillo.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
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
Summary: Very fast and light web browser
Name: dillo
Version: 3.0.5
Release: 1
# The OpenSSL exception is in dpi/https.c - AdamW 2008/12
License: GPLv3+ with exceptions
Group: Networking/WWW
URL: http://www.dillo.org/
Source0: http://www.dillo.org/download/%{name}-%{version}.tar.bz2
Source1: http://www.dillo.org/download/%{name}-%{version}.tar.bz2.asc
BuildRequires: fltk-devel
BuildRequires: jpeg-devel
BuildRequires: ungif-devel
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xft)
%description
Dillo is a Web browser that's completely written in C, very fast, and small in
code base and binary. It is a graphical browser built upon FLTK2 and currently
renders a subset of HTML (no frames, no JavaScript, and no JVM).
%prep
%setup -q
%build
%configure2_5x \
--enable-ipv6 \
--enable-ssl
%make_build
%install
%make_install
mkdir -p %{buildroot}%{_sysconfdir}
install -m 644 dillorc %{buildroot}%{_sysconfdir}/
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF
[Desktop Entry]
Name=Dillo
Comment=A simple web browser
Exec=%{name}
Icon=networking_www_section
Terminal=false
Type=Application
Categories=Network;WebBrowser;
EOF
%files
%doc AUTHORS ChangeLog* INSTALL NEWS README user_help.html
%{_bindir}/*
%{_datadir}/applications/mandriva-%{name}.desktop
%{_libdir}/%{name}/
%config(noreplace) %{_sysconfdir}/dillorc
%config(noreplace) %{_sysconfdir}/dillo/dillorc
%config(noreplace) %{_sysconfdir}/dillo/dpidrc
%config(noreplace) %{_sysconfdir}/dillo/keysrc
%config(noreplace) %{_sysconfdir}/dillo/domainrc
%{_mandir}/man1/dillo.1*