File flnews.spec of Package flnews

# spec file for package flnews
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2020-2021, Martin Hauke <>
# 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

Name:           flnews
Version:        1.0.0
Release:        0
Summary:        Graphical USENET newsreader
License:        BSD-2-Clause
Group:          Productivity/Graphics/Other
BuildRequires:  fltk-devel
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  libopenssl-devel
BuildRequires:  zlib-devel
Requires:       xdg-utils

flnews is a FLTK-based client with graphical user interface to read
USENET newsgroups.

%setup -q

export CFLAGS="%{optflags} -fPIE"
export CXXFLAGS="%{optflags} -fPIE"
export LDFLAGS="-pie"
make PREFIX=%{_prefix} %{?_smp_mflags}

%make_install PREFIX=%{_prefix}

%license LICENSE
%dir %{_datadir}/flnews/
%dir %{_datadir}/flnews/nls

openSUSE Build Service is sponsored by