%global commit 0123456789abcdef0123456789abcdef01234567 %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: URL: https://git.ionic.at/pub/astra/%{name} #Source0: %{url}/snapshot/%{name}-%{commit}.tar.gz Requires: python3-poppler-qt5 Requires: python3-pdfkit Requires: wkhtmltopdf %description Extract annotations/notes from a pdf file %prep %autosetup %build %py3_build %install %py3_install %files %license add-license-file-here %doc add-docs-here %changelog * Thu Feb 6 2020 David Kaufmann - 0.1-1 - Initial commit