1 Summary: Light www browser
6 Group: Applications/Networking
7 Source0: http://download.netsurf-browser.org/netsurf/releases/source-full/%{name}-%{version}-full-src.tar.gz
8 # Source0-md5: cfc2789997b356f2ea9d9f7694c4c909
9 Source1: netsurf.desktop
10 Patch0: enable-nsfb.patch
11 Patch1: libnsfb-xcb-fix.patch
12 URL: http://netsurf-browser.org/
13 BuildRequires: SDL-devel
14 BuildRequires: curl-devel
15 BuildRequires: freetype-devel
16 BuildRequires: libglade2-devel
17 BuildRequires: libmng-devel
18 BuildRequires: libjpeg-devel
19 BuildRequires: libpng-devel
20 BuildRequires: librsvg-devel
21 BuildRequires: perl-base
22 BuildRequires: pkgconfig
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Small web browser with CSS support.
27 NetSurf is a multi-platform lightweight web browser. Its aim is to provide
28 comprehensive rendering of HTML 5 with CSS 2 in a small resource footprint
32 Summary: netsurf - common files
33 Summary(pl.UTF-8): netsurf - pliki wspólne
35 Group: Applications/Networking
38 netsurf - common files.
40 %description common -l pl.UTF-8
41 netsurf - wspólne pliki.
44 Summary: netsurf browser SDL version
45 Summary(pl.UTF-8): Wersja SDL netsurfa
47 Group: Applications/Networking
48 Requires: %{name}-common = %{version}-%{release}
51 Small web browser with CSS support.
52 NetSurf is a multi-platform lightweight web browser. Its aim is to provide
53 comprehensive rendering of HTML 5 with CSS 2 in a small resource footprint
59 Summary: netsurf browser SDL version
60 Summary(pl.UTF-8): Wersja SDL netsurfa
62 Group: Applications/Networking
63 Requires: %{name}-common = %{version}-%{release}
66 Small web browser with CSS support.
67 NetSurf is a multi-platform lightweight web browser. Its aim is to provide
68 comprehensive rendering of HTML 5 with CSS 2 in a small resource footprint
78 cat << EOF > netsurf-2.9/Makefile.config
79 NETSURF_FB_FONTLIB := freetype
80 NETSURF_FB_FONTPATH := /usr/share/fonts/TTF
97 rm -rf $RPM_BUILD_ROOT
98 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
100 DESTDIR=$RPM_BUILD_ROOT \
107 DESTDIR=$RPM_BUILD_ROOT \
112 install %{SOURCE1} $RPM_BUILD_ROOT/%{_desktopdir}
113 install netsurf-2.9/nsfb $RPM_BUILD_ROOT/%{_bindir}
114 install netsurf-2.9/nsgtk $RPM_BUILD_ROOT/%{_bindir}
117 rm -rf $RPM_BUILD_ROOT
120 %defattr(644,root,root,755)
121 %doc netsurf-2.9/ChangeLog netsurf-2.9/README
122 %dir %{_datadir}/%{name}
123 %{_datadir}/%{name}/*
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_bindir}/nsgtk
128 %{_desktopdir}/netsurf.desktop
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_bindir}/nsfb