]> git.pld-linux.org Git - packages/python-proctitle.git/blame - python-proctitle.spec
automatic change: use py_build/py_install macros
[packages/python-proctitle.git] / python-proctitle.spec
CommitLineData
1dcfac1f 1%define module proctitle
5903e27a 2
79bdcb55 3Summary: Python module to manipulate the raw 'argv[]' contents of a python process
49b35677 4Summary(pl.UTF-8): Moduł języka Python do manipulacji argv[] (w tym nazwy procesu)
be3b26c7 5Name: python-%{module}
30192c69 6Version: 0.0.2
7033d48d 7Release: 7
5903e27a
MK
8License: GPL
9Group: Libraries/Python
be3b26c7 10Source0: http://ftp.psychosis.com/python/%{module}-%{version}.tar.gz
30192c69 11# Source0-md5: 0d726d625b2be76458e0600fa79fed78
5903e27a 12BuildRequires: python-devel >= 2.2.1
79d9b02f 13BuildRequires: python-modules
14BuildRequires: rpm-pythonprov
5903e27a
MK
15%pyrequires_eq python
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
be3b26c7 19Python module to manipulate the raw 'argv[]' contents of a python
20process. Allows to change process name during runtime.
5903e27a 21
143aaeb1
JR
22%description -l pl.UTF-8
23Moduł języka Python do manipulacji argv[] (w tym także widocznej w np.
be3b26c7 24w 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
33rm -rf $RPM_BUILD_ROOT
34
35PYTHONPATH=$RPM_BUILD_ROOT%{py_sitedir}
36export PYTHONPATH
37
9d3ea239 38%py_install
5903e27a 39
be3b26c7 40%clean
41rm -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
This page took 0.064469 seconds and 4 git commands to generate.