blob: 54d9ffd418cbf4f11cf06908c6923b6d5285a14b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
%global commit 84754fefd8ccfff11137b016a2c80d3c2f5ea217
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapinfo 20200206git%{shortcommit}
Name: annotation-summary
Version: 0.1
Release: 1.%{snapinfo}%{?dist}
Summary: Extract annotations/notes from a pdf file
License: undef
URL: https://git.ionic.at/pub/astra/%{name}
Source0: %{url}/snapshot/%{name}-%{commit}.tar.gz
BuildArch: noarch
Requires: python3-poppler-qt5
Requires: python3-pdfkit
Requires: wkhtmltopdf
%description
Extract annotations/notes from a pdf file
%prep
%autosetup -n %{name}-%{commit}
%build
%install
install -D -m 755 -p %{name}.py %{buildroot}%{_bindir}/%{name}
%files
#%license add-license-file-here
#%doc add-docs-here
%{_bindir}/%{name}
%changelog
* Thu Feb 6 2020 David Kaufmann <astra@ionic.at> - 0.1-1
- Initial commit
|