%global commit0 d669691666eaf67112bb77f719826a0fdb8a8f40 %global gittag0 GIT-TAG %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: pintail Version: 0.3 Release: 1git%{shortcommit0}%{?dist} Summary: Build web sites from Mallard sources License: GPLv2+ URL: https://pypi.python.org/pypi/pintail Source0: https://github.com/projectmallard/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-lxml BuildRequires: python3-elasticsearch BuildRequires: python3-urllib3 Requires: python3-lxml Requires: python3-elasticsearch Requires: python3-urllib3 Requires: python3-mallard-ducktype %description Pintail is a tool that automates building entire web sites from Mallard sources. Normally, a Mallard document consists of all the pages within a single directory. Pages can refer to each other by ID using the xref attribute of the link element. Pintail allows multiple directories, and extends the xref attribute to allow referencing pages in other directories. %prep %autosetup -n %{name}-%{commit0} %build %py3_build %install %py3_install %files %license COPYING %doc README.md %{python3_sitelib}/* %{_bindir}/* %changelog * Thu Aug 04 2016 William Moreno - 0.3-1gitd669691 - Initial Packaging - Last upstream release 0.3