diff --git a/.cvsignore b/.cvsignore index e69de29..b78a30a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +rpy-0.4.6.tar.gz diff --git a/rpy.spec b/rpy.spec new file mode 100644 index 0000000..ebbe7da --- /dev/null +++ b/rpy.spec @@ -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 - 0.4.6-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..2285c00 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8b5411b275c66a5409a4a3aad711d860 rpy-0.4.6.tar.gz