File dillo.spec of Package dillo

#
# spec file for package dillo
#
# Copyright (c) 2022 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:           dillo
Version:        3.1.0
Release:        0
Summary:        Graphical web browser known for its speed and small footprint
License:        GPL-3.0-or-later
Group:          Productivity/Networking/Web/Browsers
URL:            https://dillo-browser.github.io/
Source:         https://github.com/dillo-browser/dillo/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Source1:        https://github.com/dillo-browser/dillo/releases/download/v%{version}/%{name}-%{version}.tar.bz2.asc
BuildRequires:  fltk-devel
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  libjpeg62-devel
BuildRequires:  libpng12-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(libssl)
BuildRequires:  pkgconfig(zlib)

%description
Dillo is a multi-platform graphical web browser known for its speed and small
footprint.  It is written in C and C++ and based on FLTK, the Fast Light
Toolkit (statically-linked by default!).

Dillo strives to be friendly both to users and developers and helps web authors
to comply with web standards by using the bug meter.

%prep
%setup -q

%build
%configure \
    --docdir=%{_docdir}/%{name} \
    --enable-tls
%make_build

%install
%make_install

%files
%doc ChangeLog README
%license COPYING
%dir %{_sysconfdir}/dillo
%config(noreplace) %{_sysconfdir}/dillo/*
%{_bindir}/dillo
%exclude %{_bindir}/dillo-install-hyphenation
%{_bindir}/dpid
%{_bindir}/dpidc
%{_libdir}/dillo
%{_mandir}/man1/dillo.1%{?ext_man}
%{_datadir}/applications/dillo.desktop
%dir %{_docdir}/dillo
%{_docdir}/dillo/user_help.html
%{_datadir}/icons/hicolor/?*?/apps/dillo.png

%changelog
openSUSE Build Service is sponsored by