Erez Shinan 3c6e99
%define modname rpyc
Erez Shinan 3c6e99
Erez Shinan 3c6e99
Name:           python-%{modname}
0ecb80
Version:        3.2.2
383262
Release:        2%{?dist}
Erez Shinan 3c6e99
Summary:        A Transparent, Symmetrical Python Library for Distributed-Computing
Erez Shinan 3c6e99
URL:            http://rpyc.wikidot.com/
Erez Shinan 3c6e99
License:        MIT
Erez Shinan 3c6e99
Group:          Development/Libraries
0ecb80
Source0:        http://pypi.python.org/packages/source/r/rpyc/rpyc-%{version}.tar.gz
Erez Shinan 3c6e99
BuildArch:      noarch
0ecb80
BuildRequires:  python
0ecb80
BuildRequires:  python-devel
Erez Shinan 3c6e99
Erez Shinan 3c6e99
%description
Erez Shinan 3c6e99
RPyC, or Remote Python Call, is a transparent and symmetrical python library
Erez Shinan 3c6e99
for remote procedure calls, clustering and distributed-computing.
Erez Shinan 3c6e99
RPyC makes use of object-proxies, a technique that employs python's dynamic
Erez Shinan 3c6e99
nature, to overcome the physical boundaries between processes and computers,
Erez Shinan 3c6e99
so that remote objects can be manipulated as if they were local.
Erez Shinan 3c6e99
Erez Shinan 3c6e99
%prep
Erez Shinan 3c6e99
%setup -q -n %{modname}-%{version}
Erez Shinan 3c6e99
Erez Shinan 3c6e99
%build
Erez Shinan 3c6e99
%{__python} setup.py build
Erez Shinan 3c6e99
Erez Shinan 3c6e99
%install
Erez Shinan 3c6e99
%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
0ecb80
# the binaries should not have .py extension
0ecb80
mv %{buildroot}%{_bindir}/rpyc_classic.py %{buildroot}%{_bindir}/rpyc_classic
0ecb80
mv %{buildroot}%{_bindir}/rpyc_registry.py %{buildroot}%{_bindir}/rpyc_registry
Erez Shinan 3c6e99
Erez Shinan 3c6e99
%files
0ecb80
%{_bindir}/rpyc_*
Erez Shinan 439711
%{python_sitelib}/*
Erez Shinan 3c6e99
Erez Shinan 3c6e99
%changelog
383262
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-2
383262
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
383262
0ecb80
* Mon Nov 05 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 3.2.2-1
0ecb80
- Update to 3.2.2.
0ecb80
- Specfile cleanup.
0ecb80
a394f9
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.7-3
a394f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a394f9
22ff8c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.7-2
22ff8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
22ff8c
Erez Shinan 3c6e99
* Sun Feb 20 2011 - Erez Shinan <erez27@gmail.com> - 3.0.7-1
Erez Shinan 3c6e99
- Initial release