2022-03-14 10:57:16 +01:00
|
|
|
#
|
|
|
|
# spec file for package epub2txt2
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2022-03-29 14:32:06 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2022-03-14 10:57:16 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: epub2txt2
|
2022-03-29 14:32:06 +02:00
|
|
|
Version: 2.03
|
2022-03-14 10:57:16 +01:00
|
|
|
Release: 0
|
2022-03-29 14:32:06 +02:00
|
|
|
Summary: Simple command-line utility for extracting text from EPUB documents
|
2022-03-14 10:57:16 +01:00
|
|
|
License: GPL-3.0-only
|
|
|
|
Group: Productivity/Text/Utilities
|
2022-03-29 14:32:06 +02:00
|
|
|
URL: https://github.com/kevinboone/epub2txt2
|
2022-03-30 02:01:08 +02:00
|
|
|
Source0: https://github.com/kevinboone/epub2txt2/archive/10e9ac86df9a823d7470deaaa50c44d2857ee6f7.tar.gz
|
2022-03-29 14:32:06 +02:00
|
|
|
Patch0: LICENSE.patch
|
|
|
|
Patch1: bmwiedemann-sort.patch
|
2022-03-14 10:57:16 +01:00
|
|
|
BuildRequires: gcc
|
2022-03-29 14:32:06 +02:00
|
|
|
BuildRequires: make
|
2022-03-14 10:57:16 +01:00
|
|
|
Requires: unzip
|
|
|
|
|
|
|
|
%description
|
|
|
|
Simple command-line utility for extracting text from EPUB documents
|
|
|
|
|
|
|
|
%prep
|
2022-03-30 02:01:08 +02:00
|
|
|
%setup -q -n %{name}-%{version}
|
2022-03-29 14:32:06 +02:00
|
|
|
%autopatch -p1
|
2022-03-14 10:57:16 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/epub2txt
|
|
|
|
%{_mandir}/man1/epub2txt.1%{?ext_man}
|
|
|
|
|
|
|
|
%changelog
|