]>
Commit | Line | Data |
---|---|---|
1026538b ZU |
1 | %define module urwid |
2 | Summary: Urwid is a console user interface library for Python | |
3 | Summary(hu.UTF-8): Urwid egy konzolos felhasználói felület könyvtár Pythonhoz | |
4 | Name: python-%{module} | |
3a195f36 | 5 | Version: 1.1.1 |
4bc6eba7 | 6 | Release: 2 |
1026538b ZU |
7 | License: LGPL |
8 | Group: Development/Languages/Python | |
9 | Source0: http://excess.org/urwid/urwid-%{version}.tar.gz | |
3a195f36 | 10 | # Source0-md5: eca2e0413cf7216b01c84b99e0f2576d |
1026538b ZU |
11 | URL: http://excess.org/urwid/ |
12 | BuildRequires: python-devel | |
13 | BuildRequires: rpm-pythonprov | |
446bd4dd | 14 | BuildRequires: rpmbuild(macros) >= 1.710 |
1026538b ZU |
15 | Requires: python-modules |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Urwid is a console user interface library for Python. | |
20 | ||
21 | %description -l hu.UTF-8 | |
22 | Urwid egy konzolos felhasználói felület könyvtár Pythonhoz. | |
23 | ||
24 | %prep | |
25 | %setup -q -n %{module}-%{version} | |
26 | ||
27 | %build | |
ba5115d6 | 28 | %py_build |
1026538b ZU |
29 | |
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
ba5115d6 | 32 | %py_install |
1026538b ZU |
33 | |
34 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
35 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
36 | %py_postclean | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
3a195f36 | 43 | %doc CHANGELOG |
1026538b ZU |
44 | %{py_sitedir}/%{module} |
45 | %{py_sitedir}/*.egg-info |