auto-import rpy-0.4.6-1 on branch devel from rpy-0.4.6-1.src.rpm
This commit is contained in:
parent
1e9cbddfcf
commit
9e437ac274
@ -0,0 +1 @@
|
||||
rpy-0.4.6.tar.gz
|
47
rpy.spec
Normal file
47
rpy.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user