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: %{name}.desktop
10 Patch0: enable-nsfb.patch
11 Patch1: libnsfb-xcb-fix.patch
12 Patch2: nsfb-F10-exit.patch
13 URL: http://netsurf-browser.org/
14 BuildRequires: SDL-devel
15 BuildRequires: curl-devel
16 BuildRequires: freetype-devel
17 BuildRequires: libglade2-devel
18 BuildRequires: libjpeg-devel
19 BuildRequires: libmng-devel
20 BuildRequires: libpng-devel
21 BuildRequires: librsvg-devel
22 BuildRequires: perl-base
23 BuildRequires: pkgconfig
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Small web browser with CSS support. NetSurf is a multi-platform
28 lightweight web browser. Its aim is to provide comprehensive rendering
29 of HTML 5 with CSS 2 in a small resource footprint while remaining
33 Summary: netsurf - common files
34 Summary(pl.UTF-8): netsurf - pliki wspólne
36 Group: Applications/Networking
39 netsurf - common files.
41 %description common -l pl.UTF-8
42 netsurf - wspólne pliki.
45 Summary: netsurf browser gtk version
46 Summary(pl.UTF-8): Wersja gtk netsurfa
48 Group: Applications/Networking
49 Requires: %{name}-common = %{version}-%{release}
52 Small web browser with CSS support. NetSurf is a multi-platform
53 lightweight web browser. Its aim is to provide comprehensive rendering
54 of HTML 5 with CSS 2 in a small resource footprint while remaining
60 Summary: netsurf browser SDL version
61 Summary(pl.UTF-8): Wersja SDL netsurfa
63 Group: Applications/Networking
64 Requires: %{name}-common = %{version}-%{release}
67 Small web browser with CSS support. NetSurf is a multi-platform
68 lightweight web browser. Its aim is to provide comprehensive rendering
69 of HTML 5 with CSS 2 in a small resource footprint while remaining
80 cat << EOF > netsurf-2.9/Makefile.config
81 NETSURF_FB_FONTLIB := freetype
82 NETSURF_FB_FONTPATH := %{_datadir}/fonts/TTF
86 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
87 %{__make} PREFIX=%{_prefix} \
91 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
92 %{__make} PREFIX=%{_prefix} \
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