License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/C/Cheetah/Cheetah-%{version}.tar.gz
+Source1001: python-Cheetah.manifest
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: python-devel
%prep
%setup -q -n Cheetah-%{version}
+cp %{SOURCE1001} .
# Remove she-bang lines for non-executable scripts:
sed -i "1d" cheetah/{Tests/{Unicode,Filters,Parser,Template,Regressions,Cheps,Analyzer,Test,Misc,CheetahWrapper,SyntaxAndOutput,NameMapper,Performance},ImportHooks,Utils/Misc,Servlet,NameMapper,Parser,DirectiveAnalyzer}.py
%fdupes %{buildroot}
%files
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%doc LICENSE
%{_bindir}/cheetah*