Package canto-curses: Specfile

%define _unpackaged_files_terminate_build 1

%add_python3_path %_libexecdir/canto/plugins

Name: canto-curses
Version: 0.9.9
Release: alt1
Summary: Curses frontend for Canto daemon
License: GPLv2
Group: Networking/News
Url: https://codezen.org/canto-ng/

# https://github.com/themoken/canto-curses.git
Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-modules-curses
BuildPreReq: libreadline-devel libncursesw-devel

Requires: canto-next

%description
Canto is an Atom/RSS feed reader for the console that is meant to be
quick, concise, and colorful. It's meant to allow you to crank through
feeds like you've never cranked before by providing a minimal, yet
information packed interface. No navigating menus. No dense blocks of
unreadable white text. An interface with almost infinite customization
and extensibility using the excellent Python programming language.

%prep
%setup

%build
%python3_build_debug

%install
%python3_install

%files
%doc *.md
%_bindir/*
%_libexecdir/canto/plugins/*
%python3_sitelibdir/*
%_man1dir/*

%changelog
* Wed Apr 15 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 0.9.9-alt1
- Updated to upstream version 0.9.9.

* Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.9.0-alt1.alpha1.git20140904.1.1
- (NMU) Rebuilt with python-3.6.4.

* Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.9.0-alt1.alpha1.git20140904.1
- (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10
  (for ABI dependence and new python3(*) reqs)

* Fri Sep 05 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.0-alt1.alpha1.git20140904
- Initial build for Sisyphus