SHA256
1
0
forked from pool/epub2txt2
epub2txt2/epub2txt2.spec
Soc Virnyl Estela 22b495f237 - Use the commit hash instead. Upstream maintainer didn't tagged a release
and only changed the README that it is version 2.03. This is to clarify
  that commit `10e9ac86df9a823d7470deaaa50c44d2857ee6f7` is 2.03.

OBS-URL: https://build.opensuse.org/package/show/utilities/epub2txt2?expand=0&rev=6
2022-03-30 00:01:08 +00:00

53 lines
1.5 KiB
RPMSpec

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