forked from pool/epub2txt2
f60ea8b699
I want to maintain epub2txt2 in utilities. OBS-URL: https://build.opensuse.org/request/show/961438 OBS-URL: https://build.opensuse.org/package/show/utilities/epub2txt2?expand=0&rev=1
53 lines
1.4 KiB
RPMSpec
53 lines
1.4 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: epub2txt2
|
|
Version: 2.01
|
|
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
|
|
Source: https://github.com/kevinboone/epub2txt2/archive/v%{version}.tar.gz
|
|
Patch: LICENSE.patch
|
|
BuildRequires: make
|
|
BuildRequires: gcc
|
|
Requires: unzip
|
|
|
|
%description
|
|
Simple command-line utility for extracting text from EPUB documents
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch -p1
|
|
|
|
%build
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/epub2txt
|
|
%{_mandir}/man1/epub2txt.1%{?ext_man}
|
|
|
|
%changelog
|
|
|