]> git.pld-linux.org Git - packages/python-proctitle.git/blob - python-proctitle.spec
automatic change: use py_build/py_install macros
[packages/python-proctitle.git] / python-proctitle.spec
1 %define module  proctitle
2
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)
5 Name:           python-%{module}
6 Version:        0.0.2
7 Release:        7
8 License:        GPL
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
15 %pyrequires_eq  python
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Python module to manipulate the raw 'argv[]' contents of a python
20 process. Allows to change process name during runtime.
21
22 %description -l pl.UTF-8
23 Moduł języka Python do manipulacji argv[] (w tym także widocznej w np.
24 w top nazwy procesu).
25
26 %prep
27 %setup -q -n %{module}-%{version}
28
29 %build
30 %py_build
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 PYTHONPATH=$RPM_BUILD_ROOT%{py_sitedir}
36 export PYTHONPATH
37
38 %py_install
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
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
This page took 0.042064 seconds and 3 git commands to generate.