1 %define module proctitle
3 Summary: Python module to manipulate the raw 'argv[]' contents of a python process
4 Summary(pl.UTF-8): Moduł języka Python do manipulacji argv[] (w tym nazwy procesu)
9 Group: Libraries/Python
10 Source0: http://ftp.psychosis.com/python/%{module}-%{version}.tar.gz
11 # Source0-md5: 0d726d625b2be76458e0600fa79fed78
12 BuildRequires: python-devel >= 2.2.1
13 BuildRequires: python-modules
14 BuildRequires: rpm-pythonprov
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Python module to manipulate the raw 'argv[]' contents of a python
20 process. Allows to change process name during runtime.
22 %description -l pl.UTF-8
23 Moduł języka Python do manipulacji argv[] (w tym także widocznej w np.
27 %setup -q -n %{module}-%{version}
33 rm -rf $RPM_BUILD_ROOT
35 PYTHONPATH=$RPM_BUILD_ROOT%{py_sitedir}
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %dir %{py_sitedir}/proctitle
46 %{py_sitedir}/proctitle/*.py[co]
47 %attr(755,root,root) %{py_sitedir}/proctitle/*.so