Blob Blame History Raw
%global commit0 6f2daf7d7d886ddd9dbb41f85b2ad8660cf998d5
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})

Name:           pintail
Version:        0.3
Release:        1.20160805git%{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

Requires: python3-lxml
Requires: python3-elasticsearch
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
* Mon Aug 22 2016 William Moreno <williamjmorenor@gmail.com> - 0.3-1.20160805git6f2daf7
- Add time stamp in %%release

* Wed Aug 10 2016 William Moreno <williamjmorenor@gmail.com> - 0.3-1git6f2daf7
- Update to 0.3-1git6f2daf7

* Thu Aug 04 2016 William Moreno <williamjmorenor@gmail.com> - 0.3-1gitd669691
- Initial Packaging
- Last upstream release 0.3