]>
Commit | Line | Data |
---|---|---|
663678e1 | 1 | %define fname WebHelpers |
d5152492 | 2 | Summary: Web Helpers |
fb81e69f | 3 | Summary(pl.UTF-8): Web Helpers - funkcje pomocniczne dla aplikacji WWW |
d5152492 | 4 | Name: python-%{fname} |
f97d3022 | 5 | Version: 0.6.4 |
e6965b3b | 6 | Release: 3 |
d5152492 | 7 | License: Pylons |
8 | Group: Libraries/Python | |
45b9ba45 JB |
9 | #Source0Download: https://pypi.org/simple/webhelpers/ |
10 | Source0: https://files.pythonhosted.org/packages/source/W/WebHelpers/%{fname}-%{version}.tar.gz | |
f97d3022 | 11 | # Source0-md5: d11ed399068aac9368281497d40a4436 |
d5152492 | 12 | URL: http://pylonshq.com/WebHelpers/ |
3aeab615 | 13 | BuildRequires: python >= 1:2.4 |
03e32d79 | 14 | BuildRequires: python-setuptools >= 1:0.6-0.c7.1 |
663678e1 | 15 | BuildRequires: rpm-pythonprov |
03e32d79 JB |
16 | BuildRequires: rpmbuild(macros) >= 1.714 |
17 | Requires: python-modules >= 1:2.4 | |
d5152492 | 18 | BuildArch: noarch |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Web Helpers is a library of helper functions intended to make writing | |
23 | templates in web applications easier. | |
24 | ||
663678e1 JB |
25 | One of the sub-sections of Web Helpers contains a full port of the |
26 | template helpers that are provided by Ruby on Rails with slight | |
27 | adaptations on occasion to accomodate for Python. | |
28 | ||
a4bdc590 JR |
29 | %description -l pl.UTF-8 |
30 | Web Helpers to biblioteka funkcji pomocniczych mających ułatwić | |
31 | tworzenie szablonów w aplikacjach WWW. | |
663678e1 | 32 | |
a4bdc590 JR |
33 | Jedna z części Web Helpers zawiera pełny port funkcji pomocniczych dla |
34 | szablonów dostarcznych przez Ruby on Rails z nieznacznymi adaptacjami | |
35 | pod kątem Pythona. | |
d5152492 | 36 | |
37 | %prep | |
38 | %setup -qn %{fname}-%{version} | |
39 | ||
40 | %build | |
8f377b84 | 41 | %py_build |
d5152492 | 42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
8f377b84 | 46 | %py_install |
d5152492 | 47 | |
3aeab615 | 48 | %py_postclean |
d5152492 | 49 | |
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
663678e1 JB |
55 | %{py_sitescriptdir}/webhelpers |
56 | %{py_sitescriptdir}/%{fname}-%{version}-py*.egg-info |