aboutsummaryrefslogtreecommitdiff
path: root/annotation-summary.spec
blob: 8d23fb5d0f67bc848b5d0816aad34cb26035f9eb (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
43
44
45
%global commit 87f6a328233b18870bef09bf02038b93e7a1e154
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapinfo 20200209git%{shortcommit}

Name:           annotation-summary
Version:        0.1
Release:        4.%{snapinfo}%{?dist}
Summary:        Extract annotations/notes from a pdf file

License:        FreeBSD
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 LICENSE.txt
%doc README.md
%{_bindir}/%{name}



%changelog
* Sun Feb  9 2020 David Kaufmann <astra@ionic.at> - 0.1-4
- Add license, cleanup code, update spec

* Thu Feb  6 2020 David Kaufmann <astra@ionic.at> - 0.1-1
- Initial commit