Create a subpackage for the documentation (#1006259)
This commit is contained in:
parent
d0084dceeb
commit
d71c9239bd
@ -12,7 +12,7 @@
|
||||
|
||||
Name: python-mako
|
||||
Version: 0.9.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Mako template library for Python
|
||||
|
||||
Group: Development/Languages
|
||||
@ -52,6 +52,25 @@ componentized layout and inheritance to produce one of the most straightforward
|
||||
and flexible models available, while also maintaining close ties to Python
|
||||
calling and scoping semantics.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for the Mako template library for Python
|
||||
Group: Documentation
|
||||
License: (MIT and Python) and (BSD or GPLv2)
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Mako is a template library written in Python. It provides a familiar, non-XML
|
||||
syntax which compiles into Python modules for maximum performance. Mako's
|
||||
syntax and API borrows from the best ideas of many others, including Django
|
||||
templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded
|
||||
Python (i.e. Python Server Page) language, which refines the familiar ideas of
|
||||
componentized layout and inheritance to produce one of the most straightforward
|
||||
and flexible models available, while also maintaining close ties to Python
|
||||
calling and scoping semantics.
|
||||
|
||||
This package contains documentation in text and HTML formats.
|
||||
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-mako
|
||||
Summary: Mako template library for Python 3
|
||||
@ -121,19 +140,26 @@ rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES LICENSE README.rst doc examples
|
||||
%doc CHANGES LICENSE README.rst examples
|
||||
%{_bindir}/mako-render
|
||||
%{python_sitelib}/*
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python3-mako
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES LICENSE README.rst doc examples
|
||||
%doc CHANGES LICENSE README.rst examples
|
||||
%{_bindir}/python3-mako-render
|
||||
%{python3_sitelib}/*
|
||||
%endif
|
||||
|
||||
%files doc
|
||||
%doc doc
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 19 2014 Luke Macken <lmacken@redhat.com> - 0.9.1-2
|
||||
- Create a subpackage for the documentation (#1006259)
|
||||
|
||||
* Mon May 19 2014 Luke Macken <lmacken@redhat.com> - 0.9.1-1
|
||||
- Update to 0.9.1 (#967837)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user