%global srcname SimpleTAL %global pkgname simpletal Name: python3-%{pkgname} Version: 5.2 Release: 1%{?dist} Summary: An XML based template processor for TAL, TALES and METAL specifications License: BSD URL: http://www.owlfish.com/software/simpleTAL/ Source0: http://www.owlfish.com/software/simpleTAL/downloads/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %{?python_provide:%python_provide python3-%{pkgname}} %description SimpleTAL is a stand alone Python implementation of the TAL, TALES and METAL specifications used in Zope to power HTML and XML templates. %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install # remove x-bits from example files find examples -name '*.py' -exec chmod -x {} \; %check %{__python3} runtests.py || : %files %doc Changes.txt README.txt %doc documentation/html %doc examples %license LICENSE.txt %{python3_sitelib}/%{pkgname} %{python3_sitelib}/%{srcname}-%{version}-py*.egg-info %changelog * Tue Aug 9 2016 Thomas Moschny - 5.2-1 - New package.