]> git.pld-linux.org Git - packages/python-pesto.git/blob - python-pesto.spec
- release 3 (by relup.sh)
[packages/python-pesto.git] / python-pesto.spec
1 %define         module  pesto
2 Summary:        library for Python web applications
3 Summary(pl.UTF-8):      Biblioteka dla Pythonowych aplikacji sieciowych
4 Name:           python-%{module}
5 Version:        25
6 Release:        3
7 License:        BSD
8 Group:          Development/Languages/Python
9 Source0:        http://pypi.python.org/packages/source/p/%{module}/%{module}-%{version}.tar.gz
10 # Source0-md5:  0e00fb8b949f02b86649da4b5efaa2f4
11 URL:            http://pesto.redgecko.org/index.html
12 # BuildRequires:        python-distribute
13 BuildRequires:  python-setuptools
14 BuildRequires:  rpm-pythonprov
15 # if py_postclean is used
16 BuildRequires:  rpmbuild(macros) >= 1.710
17 #Requires:              python-libs
18 Requires:       python-modules
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Pesto makes it easy to: Map any URI to any part of your application.
24 Produce unicode aware, standards compliant WSGI applications.
25 Interrogate WSGI request information – form variables and HTTP request
26 headers. Create and manipulate HTTP headers, redirects, cookies etc.
27
28 %description -l pl.UTF-8
29 Pesto mozwala: Mapować URI do fragementów aplikacji. Wygenerować
30 unicodowe, zgodne ze standardem WSGI aplikacje. Odpytywać informacje
31 WSGI o zapytaniu w tym zmienne z formatek i nagłówków HTTP. Tworzyć i
32 manipulować nagłówki HTTP, przekierowania, ciasteczka itp.
33
34 %prep
35 %setup -q -n %{module}-%{version}
36 %py_build
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %py_install
41
42 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
43 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
44 %py_postclean
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS.txt CHANGELOG.txt NEWS.txt README.txt THANKS.txt TODO.txt
52 %{py_sitescriptdir}/%{module}
53 %if "%{py_ver}" > "2.4"
54 %{py_sitescriptdir}/%{module}-*.egg-info
55 %endif
This page took 0.143319 seconds and 3 git commands to generate.