2.0.3
This commit is contained in:
parent
ccd6c2e0c1
commit
5f3b8f1d2c
@ -1 +1 @@
|
||||
rpy-1.0.3.tar.gz
|
||||
rpy2-2.0.3.tar.gz
|
||||
|
55
rpy.spec
55
rpy.spec
@ -3,23 +3,14 @@
|
||||
%define rver 2.8.1
|
||||
Name: rpy
|
||||
Summary: Python interface to the R language
|
||||
Version: 1.0.3
|
||||
Release: 7%{?dist}
|
||||
Version: 2.0.3
|
||||
Release: 1%{?dist}
|
||||
Url: http://rpy.sourceforge.net
|
||||
Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.gz
|
||||
License: GPLv2+
|
||||
Source: http://downloads.sf.net/%{name}/%{name}2-%{version}.tar.gz
|
||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||
Group: Development/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# The R headers are now in /usr/include/R (for F9+)
|
||||
Patch0: rpy-1.0.1-FHSinclude.patch
|
||||
# Backported patches from development
|
||||
Patch1: rpy-1.0.3-turn-off-debug.patch
|
||||
Patch2: rpy-1.0.3-use-lapack.patch
|
||||
# Rdevices.h is gone in 2.8.0
|
||||
Patch3: rpy-1.0.3-R-2.8.0.patch
|
||||
|
||||
BuildRequires: R-devel = %{rver}, numpy, python-devel, texinfo-tex, tetex
|
||||
BuildRequires: R-devel = %{rver}, numpy, python-devel
|
||||
|
||||
Requires: numpy
|
||||
Requires: R = %{rver}
|
||||
@ -34,49 +25,29 @@ execute arbitrary R functions. All the errors from the R language are
|
||||
converted to Python exceptions.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p2
|
||||
%patch2 -p2
|
||||
%patch3 -p1
|
||||
%setup -q -n %{name}2-%{version}
|
||||
chmod -x rpy/rinterface/rinterface.c
|
||||
|
||||
%build
|
||||
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
|
||||
cd doc
|
||||
makeinfo --html rpy.texi
|
||||
makeinfo --html rpy.texi
|
||||
mv rpy manual
|
||||
make pdf
|
||||
make info
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
python setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
|
||||
cd doc
|
||||
install -d $RPM_BUILD_ROOT/%{_infodir}
|
||||
install rpy.info $RPM_BUILD_ROOT/%{_infodir}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS README examples/
|
||||
%doc doc/rpy.pdf doc/manual/
|
||||
%{_infodir}/rpy.info*
|
||||
%{python_sitearch}/*
|
||||
|
||||
%doc AUTHORS NEWS README GPL_LICENSE LGPL_LICENSE MPL_LICENSE PKG-INFO
|
||||
%{python_sitearch}/rpy2/
|
||||
%{python_sitearch}/rpy2-%{version}*.egg-info
|
||||
|
||||
%changelog
|
||||
* Fri Mar 20 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-1
|
||||
- update to rpy2 2.0.3
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user