]>
Commit | Line | Data |
---|---|---|
6f5169dc AF |
1 | %define module PasteWebKit |
2 | Summary: A port/reimplementation of Webware WebKit in WSGI and Paste | |
27b31eed | 3 | Summary(pl.UTF-8): Port/reimplementacja WebKitu Webware w WSGI i Paste |
6f5169dc | 4 | Name: python-%{module} |
23f83c4b | 5 | Version: 1.0 |
5c60a3a3 | 6 | Release: 4 |
e7e2a27b | 7 | Group: Libraries/Python |
6f5169dc AF |
8 | License: X11/MIT |
9 | Source0: http://cheeseshop.python.org/packages/source/P/PasteWebKit/%{module}-%{version}.tar.gz | |
23f83c4b | 10 | # Source0-md5: 3f06815a43eebf4672143b4e29021a57 |
6f5169dc AF |
11 | URL: http://pythonpaste.org/webkit/ |
12 | BuildRequires: python-devel | |
13 | BuildRequires: python-setuptools >= 0.6-0.a9.1 | |
14 | %pyrequires_eq python-modules | |
15 | Requires: python-Paste | |
16 | Requires: python-PasteDeploy | |
17 | Requires: python-PasteScript | |
18 | BuildArch: noarch | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | This is a reimplementation of the Webware API, using Paste for most of | |
23 | the functionality, and just providing an API wrapper. | |
24 | ||
25 | While the basic layout of applications is different from what | |
26 | Webware's MakeAppWorkDir creates, this is intended to be backward | |
27 | compatible for most typical Webware applications. | |
28 | ||
28c630ac JR |
29 | %description -l pl.UTF-8 |
30 | To jest reimplementacja API Webware przy użyciu Paste dla większości | |
31 | funkcjonalności, z udostępnieniem zwykłego obudowania API. | |
0afa74cd | 32 | |
28c630ac JR |
33 | O ile podstawowy wygląd aplikacji jest różny od tworzonego przez |
34 | MakeAppWorkDir w Webware, powinien być wstecznie kompatybilny z | |
35 | większością typowych aplikacji Webware. | |
0afa74cd | 36 | |
6f5169dc AF |
37 | %prep |
38 | %setup -q -n %{module}-%{version} | |
39 | ||
40 | %build | |
41 | python setup.py build | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | python setup.py install \ | |
46 | --single-version-externally-managed \ | |
47 | --optimize=2 \ | |
48 | --root=$RPM_BUILD_ROOT | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc docs/ | |
56 | %{py_sitescriptdir}/paste* | |
57 | %{py_sitescriptdir}/Paste* |