summaryrefslogtreecommitdiffstats
path: root/cpopen.spec
blob: f7f2a47fa4a7c9c752e2e1e52d58c7cf19941154 (plain)
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
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_ver: %global python_ver %(%{__python} -c "import sys ; print sys.version[:3]")}

Name:           python-cpopen
Version:        1.0
Release:        1%{?dist}
Summary:        Creates a subprocess in simpler safer manner

License:        GPLv2+
Group:		System Environment/Libraries
URL:            http://pypi.python.org/pypi/cpopen
Source0:        http://pypi.python.org/packages/source/c/cpopen/cpopen-%{version}.tar.gz

BuildRequires: python2
BuildRequires: python-devel

%description
Python package for creating subprocess in simpler and safer manner by using C code.

%prep
%setup -q -n cpopen-%{version}

%build


%install
%{__python} setup.py install --root $RPM_BUILD_ROOT --install-lib %{python_sitelib}

%files
%{python_sitelib}/createprocess.so*
%{python_sitelib}/cpopen.py*
%{python_sitelib}/cpopen-%{version}-py*.egg-info

%changelog
* Sun Jan 20 2013 Yaniv Bronhaim <ybronhei@redhat.com> 1.0
- Initial take