Name: pintail Version: 0.2 Release: 1%{?dist} Summary: build web sites from plain text markup License: GPLv2+ URL: https://github.com/projectmallard/pintail Source0: https://github.com/projectmallard/%{name}/archive/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-lxml BuildRequires: python3-elasticsearch # elasticsearch module should have this 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 %setup -q -n %{name}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %install %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %check %{__python3} setup.py test %files %doc %{python3_sitelib}/* %{_bindir}/%{name} %changelog * Fri May 6 2016 Pete Travis 0.2-1 - init spec