File surf.spec of Package surf
#
# spec file for package surf
#
# Copyright (c) 2017, 2022 jfita@infoblitz.com
Name: surf
Version: 2.1
Release: 0
License: MIT
Summary: Simple webkit-based browser
Url: https://surf.suckless.org/
Group: System/X11/Utilities
Source: %{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-config.patch
Patch1: %{name}-%{version}-webkit2gtk-4.1.patch
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gcr-3)
BuildRequires: pkgconfig(webkit2gtk-4.1)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: curl
Requires: mpv
Requires: xdg-utils
Requires: xprop
Requires: xterm
%description
surf is a simple Web browser based on WebKit/GTK+.
%prep
%setup -q
%autopatch -p1
%build
%make_build LIBPREFIX=%{_libdir}
%install
%make_install LIBPREFIX=%{_libdir}
%files
%defattr(-,root,root)
%doc LICENSE README TODO.md
%dir %{_libdir}/%{name}
%{_bindir}/%{name}
%{_libdir}/%{name}/webext-%{name}.so
%{_mandir}/*/*
%changelog