diff --git a/README.md b/README.md index a1434c6..b139b34 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-setproctitle +setproctitle allow customization of the process title. + diff --git a/python-setproctitle.spec b/python-setproctitle.spec new file mode 100644 index 0000000..259e6fe --- /dev/null +++ b/python-setproctitle.spec @@ -0,0 +1,69 @@ +Name: python-setproctitle +Version: 1.1.8 +Release: 1mamba +Summary: A Python library that allow customization of the process title +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://code.google.com/p/py-setproctitle/ +Source: http://pypi.python.org/packages/source/s/setproctitle/setproctitle-%{version}.tar.gz +License: BSD +Requires: python >= %python_version +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +setproctitle allow customization of the process title. + +%prep +%setup -q -n setproctitle-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc COPYRIGHT + +%changelog +* Fri Nov 01 2013 Automatic Build System 1.1.8-1mamba +- automatic update by autodist + +* Fri May 17 2013 Silvan Calarco 1.1.7-2mamba +- python 2.7 mass rebuild + +* Thu Feb 28 2013 Automatic Build System 1.1.7-1mamba +- automatic version update by autodist + +* Wed Jun 13 2012 Automatic Build System 1.1.6-1mamba +- automatic version update by autodist + +* Sun May 01 2011 Automatic Build System 1.1.2-1mamba +- automatic update by autodist + +* Thu Feb 10 2011 Automatic Build System 1.1.1-1mamba +- automatic update by autodist + +* Fri Nov 12 2010 Automatic Build System 1.1-1mamba +- automatic update by autodist + +* Mon Jun 07 2010 Stefano Cotta Ramusino 1.0.1-1mamba +- package created by autospec