]> git.pld-linux.org Git - packages/python-kid.git/blob - python-kid.spec
- release 3
[packages/python-kid.git] / python-kid.spec
1 Summary:        Kid - A simple and pythonic XML template language
2 Summary(pl.UTF-8):      Kid - prosty i pythonopodobny język szablonów XML
3 Name:           python-kid
4 Version:        0.9.4
5 Release:        3
6 Group:          Development/Languages/Python
7 License:        X11/MIT
8 Source0:        http://www.kid-templating.org/dist/%{version}/kid-%{version}.tar.gz
9 # Source0-md5:  2122ee32062079418db34cfd5fc15c37
10 URL:            http://www.kid-templating.org/
11 BuildRequires:  python-devel >= 1:2.5
12 BuildRequires:  python-setuptools
13 %pyrequires_eq  python-modules
14 Requires:       python-modules >= 1:2.5
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Kid is a simple Python based template language for generating and
20 transforming XML vocabularies. Kid was spawned as a result of a kinky
21 love triangle between XSLT, TAL, and PHP. We believe many of the best
22 features of these languages live on in Kid with much of the
23 limitations and complexity stamped out (well, eventually :).
24
25 %description -l pl.UTF-8
26 Kid to prosty, oparty na Pythonie język szablonów do generowania i
27 przekształcania słowników XML. Kid powstał jako wynik trójkąta
28 miłosnego między XSLT, TAL i PHP. Autorzy wierzą, że w Kidzie żyją
29 najlepsze cechy tych języków bez większości ich ograniczeń i
30 złożoności.
31
32 %prep
33 %setup -q -n kid-%{version}
34
35 %build
36 python setup.py build
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 python setup.py install \
41         --single-version-externally-managed \
42         --optimize=2 \
43         --root=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc COPYING HISTORY README doc/ examples/
51 %attr(755,root,root) %{_bindir}/kid*
52 %{py_sitescriptdir}/kid*
This page took 0.094995 seconds and 3 git commands to generate.