]>
Commit | Line | Data |
---|---|---|
1dcfac1f | 1 | %define module proctitle |
5903e27a | 2 | |
79bdcb55 | 3 | Summary: Python module to manipulate the raw 'argv[]' contents of a python process |
49b35677 | 4 | Summary(pl.UTF-8): Moduł języka Python do manipulacji argv[] (w tym nazwy procesu) |
be3b26c7 | 5 | Name: python-%{module} |
30192c69 | 6 | Version: 0.0.2 |
7033d48d | 7 | Release: 7 |
5903e27a MK |
8 | License: GPL |
9 | Group: Libraries/Python | |
be3b26c7 | 10 | Source0: http://ftp.psychosis.com/python/%{module}-%{version}.tar.gz |
30192c69 | 11 | # Source0-md5: 0d726d625b2be76458e0600fa79fed78 |
5903e27a | 12 | BuildRequires: python-devel >= 2.2.1 |
79d9b02f | 13 | BuildRequires: python-modules |
14 | BuildRequires: rpm-pythonprov | |
5903e27a MK |
15 | %pyrequires_eq python |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
be3b26c7 | 19 | Python module to manipulate the raw 'argv[]' contents of a python |
20 | process. Allows to change process name during runtime. | |
5903e27a | 21 | |
143aaeb1 JR |
22 | %description -l pl.UTF-8 |
23 | Moduł języka Python do manipulacji argv[] (w tym także widocznej w np. | |
be3b26c7 | 24 | w top nazwy procesu). |
5903e27a MK |
25 | |
26 | %prep | |
f5dc3dae | 27 | %setup -q -n %{module}-%{version} |
5903e27a MK |
28 | |
29 | %build | |
9d3ea239 | 30 | %py_build |
5903e27a MK |
31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | PYTHONPATH=$RPM_BUILD_ROOT%{py_sitedir} | |
36 | export PYTHONPATH | |
37 | ||
9d3ea239 | 38 | %py_install |
5903e27a | 39 | |
be3b26c7 | 40 | %clean |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
5903e27a MK |
43 | %files |
44 | %defattr(644,root,root,755) | |
72874d54 | 45 | %dir %{py_sitedir}/proctitle |
63ca7b3e | 46 | %{py_sitedir}/proctitle/*.py[co] |
be3b26c7 | 47 | %attr(755,root,root) %{py_sitedir}/proctitle/*.so |