auto-import rpy-0.4.6-1 on branch devel from rpy-0.4.6-1.src.rpm

This commit is contained in:
José Abílio Oliveira Matos 2005-09-15 16:17:23 +00:00
parent 1e9cbddfcf
commit 9e437ac274
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1 @@
rpy-0.4.6.tar.gz

47
rpy.spec Normal file
View File

@ -0,0 +1,47 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: rpy
Summary: Python interface to the R language
Version: 0.4.6
Release: 1%{?dist}
Url: http://rpy.sourceforge.net
Source0: http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz
License: GPL
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: R, python-numeric, python-devel
Requires: R, python-numeric
%description
RPy provides a robust Python interface to the R
programming language. It can manage all kinds of R objects and can
execute arbitrary R functions. All the errors from the R language are
converted to Python exceptions.
%prep
%setup
%build
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING NEWS README examples/ doc/
%{python_sitearch}/*
%changelog
* Thu Sep 15 2005 Jose Matos <jamatos@fc.up.pt> - 0.4.6-1
- Initial package for Fedora Extras

View File

@ -0,0 +1 @@
8b5411b275c66a5409a4a3aad711d860 rpy-0.4.6.tar.gz