]> git.pld-linux.org Git - packages/python-Routes.git/blob - python-Routes.spec
1eaed96937bd53e4fc73c7e9f7d8fdd895683825
[packages/python-Routes.git] / python-Routes.spec
1 Summary:        Python package for mapping URLs to dicts and vice versa
2 Summary(pl.UTF-8):      Pakiet Pythona do odwzorowywania URL-i na słowniki i odwrotnie
3 Name:           python-Routes
4 Version:        2.2
5 Release:        3
6 License:        BSD (?)
7 Group:          Development/Languages/Python
8 Source0:        http://pypi.python.org/packages/source/R/Routes/Routes-%{version}.tar.gz
9 # Source0-md5:  d62bb225ba7919b5470095528932648b
10 URL:            http://routes.groovie.org/
11 BuildRequires:  python-devel >= 1:2.4
12 BuildRequires:  python-setuptools >= 1:0.6-0.a11.1
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.714
15 Requires:       python-WebOb
16 Requires:       python-modules
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Routes is a Python re-implementation of the Rails routes system for
22 mapping URLs to Controllers/Actions and generating URLs. Routes
23 makes it easy to create pretty and concise URLs that are RESTful with
24 little effort.
25
26 %description -l pl.UTF-8
27 Routes to pythonowa reimplementacja systemu przekierowań Rails do
28 odwzorowywania URL-i na kontrolery/akcje i generowania URL-i. Routes
29 ułatwia tworzenie ładnych i zwięzłych URL-i, spokojnych przy
30 niewielkim wysiłku.
31
32 %prep
33 %setup -q -n Routes-%{version}
34
35 %build
36 %py_build
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %py_install \
42         --single-version-externally-managed \
43         --optimize=2 \
44         --root=$RPM_BUILD_ROOT
45
46 %py_postclean
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc CHANGELOG.rst docs/
54 %{py_sitescriptdir}/Routes*
55 %{py_sitescriptdir}/routes*
This page took 0.109209 seconds and 2 git commands to generate.