Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:utilities
netsurf
netsurf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netsurf.spec of Package netsurf
# # spec file for package netsurf # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: netsurf Version: 3.10 Release: 0 Summary: A multi-platform web browser License: GPL-2.0-only Group: Productivity/Networking/Web/Browsers URL: https://www.netsurf-browser.org/ Source0: http://download.netsurf-browser.org/netsurf/releases/source-full/%{name}-all-%{version}.tar.gz Source1: netsurf.desktop Source2: netsurf.png BuildRequires: bison BuildRequires: check-devel BuildRequires: clang BuildRequires: fdupes BuildRequires: flex BuildRequires: freetype-devel BuildRequires: gcc BuildRequires: gperf BuildRequires: gtk3-devel BuildRequires: java-1_8_0-openjdk-headless BuildRequires: libSDL-devel BuildRequires: libcss-devel BuildRequires: libcurl-devel BuildRequires: libexpat-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: openssl-devel BuildRequires: perl-HTML-Parser BuildRequires: pkgconfig BuildRequires: update-desktop-files # XXD: content/handlers/javascript/duktape/generics.js BuildRequires: vim %description Small as a mouse, fast as a cheetah and available for free. NetSurf is a multi-platform web browser for RISC OS, UNIX-like platforms (including Linux), Mac OS X, and more. Whether you want to check your webmail, read the news or post to discussion forums, NetSurf is your lightweight gateway to the world wide web. Actively developed, NetSurf is continually evolving and improving. Written in C, this award winning open source project features its own layout engine. It is licensed under GPL version 2. %prep %setup -q -n %{name}-all-%{version} %build pushd netsurf cat <<EOF > Makefile.config override NETSURF_FB_FONTLIB := freetype override NETSURF_USE_FREETYPE2 := YES override NETSURF_FB_FONTPATH := %{_datadir}/fonts/truetype EOF popd export HOST=$(gcc -dumpmachine) %make_build PREFIX=%{_prefix} TARGET=gtk3 %make_build PREFIX=%{_prefix} TARGET=framebuffer %install mkdir -p %{buildroot}%{_datadir}/netsurf export HOST=$(gcc -dumpmachine) make install PREFIX=%{_prefix} DESTDIR=%{buildroot} TARGET=gtk3 make install PREFIX=%{_prefix} DESTDIR=%{buildroot} TARGET=framebuffer install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png install -D -m0644 netsurf/docs/netsurf-gtk.1 %{buildroot}%{_mandir}/man1/netsurf-gtk.1 install -D -m0644 netsurf/docs/netsurf-fb.1 %{buildroot}%{_mandir}/man1/netsurf-fb.1 %fdupes -s %{buildroot}/%{_prefix} %files %license netsurf/COPYING %doc README.md */*.md %{_bindir}/netsurf-gtk3 %{_bindir}/netsurf-fb %{_datadir}/%{name} %{_datadir}/%{name}/* %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %{_mandir}/man1/netsurf*.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor