diff options
| author | David Kaufmann <astra@ionic.at> | 2020-02-06 23:26:11 +0100 |
|---|---|---|
| committer | David Kaufmann <astra@ionic.at> | 2020-02-06 23:26:11 +0100 |
| commit | 34b2663f09b2513a45afe0b1b2e1db49db11435a (patch) | |
| tree | 34b3cbddd1fde7e54e29d6932e3ac1aab989879e /annotation-summary.spec | |
| parent | 84754fefd8ccfff11137b016a2c80d3c2f5ea217 (diff) | |
| download | annotation-summary-34b2663f09b2513a45afe0b1b2e1db49db11435a.tar.gz | |
add spec for v0.1
Diffstat (limited to 'annotation-summary.spec')
| -rw-r--r-- | annotation-summary.spec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/annotation-summary.spec b/annotation-summary.spec index 88aa683..54d9ffd 100644 --- a/annotation-summary.spec +++ b/annotation-summary.spec @@ -1,4 +1,4 @@ -%global commit 0123456789abcdef0123456789abcdef01234567 +%global commit 84754fefd8ccfff11137b016a2c80d3c2f5ea217 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global snapinfo 20200206git%{shortcommit} @@ -7,10 +7,11 @@ Version: 0.1 Release: 1.%{snapinfo}%{?dist} Summary: Extract annotations/notes from a pdf file -License: +License: undef URL: https://git.ionic.at/pub/astra/%{name} -#Source0: %{url}/snapshot/%{name}-%{commit}.tar.gz +Source0: %{url}/snapshot/%{name}-%{commit}.tar.gz +BuildArch: noarch Requires: python3-poppler-qt5 Requires: python3-pdfkit Requires: wkhtmltopdf @@ -20,20 +21,19 @@ Extract annotations/notes from a pdf file %prep -%autosetup +%autosetup -n %{name}-%{commit} %build -%py3_build %install -%py3_install - +install -D -m 755 -p %{name}.py %{buildroot}%{_bindir}/%{name} %files -%license add-license-file-here -%doc add-docs-here +#%license add-license-file-here +#%doc add-docs-here +%{_bindir}/%{name} |
