From 34b2663f09b2513a45afe0b1b2e1db49db11435a Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Thu, 6 Feb 2020 23:26:11 +0100 Subject: add spec for v0.1 --- annotation-summary.spec | 18 +++++++++--------- 1 file 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} -- cgit v1.2.3