/[packages]/cauldron/netsurf/current/SPECS/netsurf.spec
ViewVC logotype

Contents of /cauldron/netsurf/current/SPECS/netsurf.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1178290 - (show annotations) (download)
Tue Nov 21 18:17:29 2017 UTC (6 years, 4 months ago) by semiletov
File size: 1277 byte(s)
fixes to spec
1 Name: netsurf
2 Version: 3.7
3 Release: %mkrel 1
4 Summary: A lightweight web browser with own layout and rendering engine
5 Group: WWW
6 Packager: Peter Semiletov <peter.semiletov@gmail.com>
7 URL: http://www.netsurf-browser.org
8 Source0: http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-%{version}.tar.gz
9 Patch0: netsurf-3.7-patch.pat
10 License: GPLv2
11
12 BuildRequires: flex
13 BuildRequires: bison
14 BuildRequires: gperf
15 BuildRequires: libpng-devel
16 BuildRequires: gtk2-devel
17 BuildRequires: libcurl-devel
18 BuildRequires: pkgconfig (openssl)
19 BuildRequires: pkgconfig (libjpeg)
20
21 %define debug_package %{nil}
22
23 %description
24 NetSurf is a lightweight web browser with own layout and rendering engine.
25
26 %prep
27 %setup -q -n netsurf-all-%{version}
28 %patch0 -p0
29
30 %build
31 %make_build
32
33 %install
34 %make_install INSTALL_ROOT=%{buildroot}
35
36 mkdir -p %{buildroot}%{_datadir}/applications
37 cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
38 [Desktop Entry]
39 Name=Netsurf
40 Comment=NetSurf is a lightweight Web-browser
41 Exec=netsurf-gtk %U
42 Icon=networking_www_section
43 Terminal=false
44 Type=Application
45 Categories=Network;WebBrowser;
46 EOF
47
48 %files
49 /bin/netsurf-gtk
50 /share/netsurf/*
51 %{_datadir}/applications/%{name}.desktop
52

  ViewVC Help
Powered by ViewVC 1.1.30