]> git.pld-linux.org Git - SPECS.git/blob - python-kid.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.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:        5
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:  rpmbuild(macros) >= 1.710
12 BuildRequires:  python-devel >= 1:2.5
13 BuildRequires:  python-modules
14 BuildRequires:  python-setuptools
15 BuildRequires:  rpm-pythonprov
16 %pyrequires_eq  python-modules
17 Requires:       python-modules >= 1:2.5
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Kid is a simple Python based template language for generating and
23 transforming XML vocabularies. Kid was spawned as a result of a kinky
24 love triangle between XSLT, TAL, and PHP. We believe many of the best
25 features of these languages live on in Kid with much of the
26 limitations and complexity stamped out (well, eventually :).
27
28 %description -l pl.UTF-8
29 Kid to prosty, oparty na Pythonie język szablonów do generowania i
30 przekształcania słowników XML. Kid powstał jako wynik trójkąta
31 miłosnego między XSLT, TAL i PHP. Autorzy wierzą, że w Kidzie żyją
32 najlepsze cechy tych języków bez większości ich ograniczeń i
33 złożoności.
34
35 %prep
36 %setup -q -n kid-%{version}
37
38 %build
39 %py_build
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %py_install \
44         --single-version-externally-managed \
45         --optimize=2 \
46         --root=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc COPYING HISTORY README doc/ examples/
54 %attr(755,root,root) %{_bindir}/kid*
55 %{py_sitescriptdir}/kid*
This page took 0.583333 seconds and 3 git commands to generate.