1 |
grenoya |
279943 |
%define shortname textile |
2 |
|
|
Name: python-%{shortname} |
3 |
|
|
Version: 2.1.5 |
4 |
umeabot |
379562 |
Release: %mkrel 2 |
5 |
grenoya |
279943 |
Summary: A Humane Web Text Generator |
6 |
|
|
Group: Development/Python |
7 |
|
|
License: BSD |
8 |
grenoya |
279967 |
URL: http://pypi.python.org/pypi/%{shortname}/ |
9 |
grenoya |
279943 |
Source0: http://pypi.python.org/packages/source/t/%{shortname}/%{shortname}-%{version}.tar.gz |
10 |
grenoya |
279967 |
BuildArch: noarch |
11 |
grenoya |
279943 |
BuildRequires: python-devel |
12 |
|
|
BuildRequires: python-setuptools |
13 |
|
|
|
14 |
|
|
%description |
15 |
|
|
Textile is a XHTML generator using a simple markup developed by Dean Allen. |
16 |
|
|
This is a Python port with support for code validation, itex to MathML |
17 |
|
|
translation, Python code coloring and much more. |
18 |
|
|
|
19 |
|
|
%prep |
20 |
|
|
%setup -q -n %{shortname}-%{version} |
21 |
|
|
|
22 |
|
|
%build |
23 |
|
|
%{__python} setup.py build |
24 |
|
|
|
25 |
|
|
%install |
26 |
|
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot} --install-purelib=%py_platsitedir |
27 |
|
|
|
28 |
|
|
%clean |
29 |
|
|
rm -rf %{buildroot} |
30 |
|
|
|
31 |
|
|
%files |
32 |
|
|
%defattr(-,root,root,-) |
33 |
|
|
%{py_platsitedir}/* |
34 |
|
|
|
35 |
|
|
|