1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
%define _name cpopen Name: python-module-%_name Version: 1.5 Release: alt1 Summary: A C reimplementation of the tricky bits of Python's Popen Group: Development/Python License: GPLv2+ Url: http://pypi.python.org/pypi/%_name Source: http://bronhaim.fedorapeople.org/%_name-%version.tar.gz BuildRequires: python-devel %description Python package for creating sub-process in simpler and safer manner by using C code. %prep %setup -n %_name-%version %build export CPOPEN_VERSION=%version %python_build %install export CPOPEN_VERSION=%version %__python setup.py install --root %buildroot %files %dir %python_sitelibdir/%_name %python_sitelibdir/%_name/%_name.so %python_sitelibdir/%_name/__init__.py* %python_sitelibdir/%_name-%version-py*.egg-info %doc AUTHORS README PKG-INFO %changelog * Wed Jul 20 2016 Yuri N. Sedunov <aris@altlinux.org> 1.5-alt1 - 1.5 * Wed Jun 01 2016 Yuri N. Sedunov <aris@altlinux.org> 1.4-alt1 - 1.4 * Sat Jan 18 2014 Yuri N. Sedunov <aris@altlinux.org> 1.3-alt1 - 1.3 * Wed Oct 30 2013 Yuri N. Sedunov <aris@altlinux.org> 1.2.3-alt1 - first build for Sisyphus