File scriptura.spec of Package scriptura

#
# spec file for package scriptura
#
# 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:           scriptura
Version:        1.1+git.1740605059.e9c9270
Release:        0
Summary:        A ncurses frontend to the SWORD project
License:        GPL-2.0-only
URL:            https://tildegit.org/paladin1/scriptura
# Source:         https://tildegit.org/paladin1/scriptura/archive/v%%{version}.tar.gz
Source:         %{name}-%{version}.tar.gz
BuildRequires:  doxygen
BuildRequires:  gcc-c++
BuildRequires:  ncurses-devel
BuildRequires:  sword-devel

%description
A ncurses-based frontend to the SWORD project, the CrossWire
Bible Society's Bible software library.

This program was written to scratch a personal itch. I do
a lot of daily computer work in the command line, I wanted
something more feature-rich than libsword's diatheke, and I
wanted to sharpen my C skills. I imagine there are probably a
single-digit's amount of people in the world who are interested
in doing their Bible study from a command line terminal. If
you happen to be one of them, please feel free to use this
program. Its layout and interface are very loosely based on
OliveTree, a Bible study app popular on the Android platform.

%prep
%autosetup -p1

%build
%{set_build_flags}
%make_build PREFIX=%{_prefix}
# Something's wrong
# make doc

%install
%{set_build_flags}
%make_install PREFIX=%{_prefix}

%files
%license LICENSE
%doc README.md
%{_bindir}/scriptura

%changelog
openSUSE Build Service is sponsored by