rpy/rpy.spec

51 lines
1.2 KiB
RPMSpec
Raw Normal View History

%{!?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
2005-10-10 18:12:52 +00:00
Release: 2%{?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
2005-10-10 18:12:52 +00:00
* Mon Oct 10 2005 Jose' Matos <jamatos@localhost.localdomain> - 0.4.6
- Rebuild for R-2.2.0
* Thu Sep 15 2005 Jose Matos <jamatos@fc.up.pt> - 0.4.6-1
- Initial package for Fedora Extras