]> git.pld-linux.org Git - packages/python-proctitle.git/commitdiff
- added module name macro
authorwrobell <wrobell@pld-linux.org>
Wed, 16 Oct 2002 09:14:07 +0000 (09:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed dynamic modules permissions
- adapterized

Changed files:
    python-proctitle.spec -> 1.2

python-proctitle.spec

index d5e7eb60c8167983bd4cce151ab9d91deafce137..9e68d7bbb92ddc7c293833c3e2eebfb9c7caf622 100644 (file)
@@ -1,29 +1,34 @@
+
+# todo:
+# - fix descriptions
+# - put proper cflags when building dynamic module
+
 %include       /usr/lib/rpm/macros.python
+%define module proctitle
 
 Summary:       Python module to manipulate the raw 'argv[]' contents of a python process.
 Summary(pl):   Modu³ jêzyka Python do manipulacji argv[] (w tym nazwy procesu)
-Name:          python-procitle
+Name:          python-%{module}
 Version:       0.0.1
 Release:       1
 License:       GPL
 Group:         Libraries/Python
-Source0:       http://ftp.psychosis.com/python/proctitle-%{version}.tar.gz
-
+Source0:       http://ftp.psychosis.com/python/%{module}-%{version}.tar.gz
 BuildRequires: python-devel >= 2.2.1
 BuildRequires: rpm-pythonprov
-BuildRequires: kernel-headers
 %pyrequires_eq python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Python module to manipulate the raw 'argv[]' contents of a python process.
-Allows to change process name during runtime.
+Python module to manipulate the raw 'argv[]' contents of a python
+process. Allows to change process name during runtime.
 
 %description -l pl
-Modu³ jêzyka Python do manipulacji argv[] (w tym tak¿e widocznej w np. w top nazwy procesu)
+Modu³ jêzyka Python do manipulacji argv[] (w tym tak¿e widocznej w np.
+w top nazwy procesu).
 
 %prep
-%setup -q -n proctitle-%{version}
+%setup -q
 
 %build
 python setup.py build
@@ -36,11 +41,10 @@ export PYTHONPATH
 
 python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
 %defattr(644,root,root,755)
 %{py_sitedir}/proctitle/*.py[oc]
-%{py_sitedir}/proctitle/*.so
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%attr(755,root,root) %{py_sitedir}/proctitle/*.so
This page took 0.075554 seconds and 4 git commands to generate.