File surf.spec of Package surf
#
# spec file for package surf
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011 R. Tyler Croy <tyler@linux.com>
#
# 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 http://bugs.opensuse.org/
#
Name: surf
Version: 2.0
Release: 0
Summary: A simple, single-window web browser based on WebKit/GTK+
License: MIT
Group: Productivity/Networking/Web/Browsers
Url: http://surf.suckless.org/
Source0: http://dl.suckless.org/%{name}/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gail)
BuildRequires: pkgconfig(gdk-2.0)
BuildRequires: pkgconfig(gdk-x11-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtk+-unix-print-2.0)
BuildRequires: pkgconfig(gtk+-x11-2.0)
BuildRequires: pkgconfig(javascriptcoregtk-4.0)
BuildRequires: pkgconfig(webkit2gtk-4.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BuildArch: noarch
%description
A simple web browser based on WebKit/GTK+. It is able to display websites and
follow links. It supports the XEmbed protocol which makes it possible to embed
it in another application. Furthermore, one can point surf to another URI by
setting its XProperties.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog