epy/epy.spec
Matej Cepl da07dde958 Accepting request 934244 from home:mcepl:branches:Education
- Update to version 2021.10.23+git.1636702550.2ab1584:
  * Fixed reset to beginning of row when resizing term and Seamless==True
  * Implement SeamlessBetweenChapters Squashed commit of the following:
  * Minor annotation & prevent next page animation on edge of book
  * Removed Board class
  * Added TextStructure dataclass
  * Give styling to images
  * Better image opening scheme
  * Refactor parser.get_lines(width) to get_lines(textwidth)
  * Fixed image cursor on double spread and progress pctg in double spread
  * Refactor variables

OBS-URL: https://build.opensuse.org/request/show/934244
OBS-URL: https://build.opensuse.org/package/show/Education/epy?expand=0&rev=3
2021-11-27 13:31:19 +00:00

66 lines
1.9 KiB
RPMSpec

#
# spec file for package epy
#
# Copyright (c) 2021 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: epy
Version: 2021.10.23+git.1636702550.2ab1584
Release: 0
Summary: CLI ebook reader
License: GPL-3.0-only
URL: https://github.com/wustho/epy
Source: https://files.pythonhosted.org/packages/source/e/epy-reader/epy-reader-%{version}.tar.gz#/epy-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python3-mobi
BuildRequires: python3-setuptools
Requires: python3-mobi
Suggests: sdcv
Suggests: dictd
BuildArch: noarch
%description
CLI Ebook reader. Fork of epr with these extra features:
Supported formats:
Epub (.epub, .epub3)
FictionBook (.fb2)
Mobi (.mobi)
AZW3 (.azw3), some but not all
Reading progress percentage
Bookmarks
External dictionary integration (sdcv or dict)
Inline formats: bold and italic (depend on terminal and font capability. Italic only supported in python>=3.7)
Text-to-Speech (with additional setup)
Double Spread
%prep
%autosetup -p1 -n epy-%{version}
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%doc README.md
%license LICENSE
%{_bindir}/epy
%{python3_sitelib}/*
%changelog