9e437ac
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
9d5b4c8
# %%global betaver beta1
989e81e
%global rver   3.0.3
9e437ac
1304c86
Name:          rpy
1304c86
Summary:       Python interface to the R language
a7b9258
Version:       2.3.9
989e81e
Release:       2%{?dist}
1304c86
Url:           http://rpy.sourceforge.net
9d5b4c8
Source:        http://pypi.python.org/packages/source/r/%{name}2/%{name}2-%{version}.tar.gz
5f3b8f1
License:       MPLv1.1 or GPLv2+ or LGPLv2+
1304c86
Group:         Development/Libraries
a7b9258
BuildRequires: R-devel = %{rver}, numpy, python2-devel
6355cbd
BuildRequires: readline-devel
1304c86
Requires:      numpy
baafd54
Requires:      R-core = %{rver}
1304c86
d4ddba0
Requires(post): /sbin/install-info
d4ddba0
Requires(preun): /sbin/install-info
9e437ac
a7b9258
Provides:      python-rpy = %{version}-%{release}
a7b9258
9e437ac
%description
9e437ac
RPy provides a robust Python interface to the R
9e437ac
programming language.  It can manage all kinds of R objects and can
9e437ac
execute arbitrary R functions. All the errors from the R language are
9e437ac
converted to Python exceptions.
9e437ac
2c17da2
%prep
9d5b4c8
%setup -q -n %{name}2-%{version}
9e437ac
9e437ac
%build
9e437ac
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
9e437ac
9e437ac
%install
0c4281e
python setup.py install -O1 --skip-build --root=%{buildroot}
9e437ac
9e437ac
%files
baafd54
%doc AUTHORS NEWS README GPL_LICENSE LGPL_LICENSE MPL_LICENSE PKG-INFO
5f3b8f1
%{python_sitearch}/rpy2/
5f3b8f1
%{python_sitearch}/rpy2-%{version}*.egg-info
9e437ac
9e437ac
%changelog
989e81e
* Sun Mar 23 2014 Tom Callaway <spot@fedoraproject.org> - 2.3.9-2
989e81e
- rebuild for R 3.0.3
989e81e
a7b9258
* Fri Jan 31 2014 José Matos <jamatos@fedoraproject.org> - 2.3.9-1
a7b9258
- update to 2.3.9
a7b9258
- prepare the python3 support:
a7b9258
-  add virtual provides for python-rpy
a7b9258
-  change the build requirement from python-devel to python2-devel
a7b9258
1133830
* Tue Oct 15 2013 Tom Callaway <spot@fedoraproject.org> - 2.3.8-1
1133830
- update to 2.3.8, rebuild for R 3.0.2
1133830
4dea77e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.6-3
4dea77e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4dea77e
9fad94a
* Fri May 17 2013 Tom Callaway <spot@fedoraproject.org> - 2.3.6-2
9fad94a
- rebuild for R 3.0.1
9fad94a
924ae0e
* Mon May  6 2013 José Matos <jamatos@fedoraproject.org> - 2.3.6-1
924ae0e
- update to 2.3.6
924ae0e
9d5b4c8
* Thu Apr 11 2013 Tom Callaway <spot@fedoraproject.org> - 2.3.5-1
9d5b4c8
- update to 2.3.5, built against R 3.0.0
9d5b4c8
74fa5b2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-0.2.beta1
74fa5b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
74fa5b2
d50f53b
* Mon Oct 29 2012 Tom Callaway <spot@fedoraproject.org> - 2.3.0-0.1.beta1
d50f53b
- update to 2.3.0beta1
d50f53b
9d2c1a4
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.6-2
9d2c1a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9d2c1a4
93a0417
* Mon Jul  4 2012 Tom Callaway <spot@fedoraproject.org> - 2.2.6-1
93a0417
- update to 2.2.6, R 2.15.1
93a0417
b30ed79
* Sat Mar 31 2012 Tom Callaway <spot@fedoraproject.org> - 2.2.5-1
b30ed79
- update to 2.2.5, R 2.15.0
b30ed79
a6c6194
* Fri Jan  6 2012 José Matos <jamatos@fedoraproject.org> - 2.2.4-2
a6c6194
- rebuild for R 2.14.1
a6c6194
79644d2
* Wed Nov  9 2011 Tom Callaway <spot@fedoraproject.org> - 2.2.4-1
79644d2
- update to 2.2.4
79644d2
- rebuild for R 2.14.0
79644d2
7bc0c76
* Fri Oct  7 2011 Tom Callaway <spot@fedoraproject.org> - 2.2.3-1
7bc0c76
- update to 2.2.3
7bc0c76
- rebuild for R 2.13.2
7bc0c76
6355cbd
* Mon Jul 11 2011 Tom Callaway <spot@fedoraproject.org> - 2.2.1-2
6355cbd
- add BuildRequires: readline-devel
6355cbd
0c4281e
* Mon Jul 11 2011 Tom Callaway <spot@fedoraproject.org> - 2.2.1-1
0c4281e
- update to 2.2.1, note R at 2.13.1
0c4281e
- spec file modernization
0c4281e
Michel Alexandre Salim 3634817
* Fri Apr 15 2011 Michel Salim <salimma@fedoraproject.org> - 2.1.9-4
Michel Alexandre Salim 3634817
- Rebuild for R 2.13.0
Michel Alexandre Salim 3634817
a658b06
* Sun Feb 27 2011 Tom Callaway <spot@fedoraproject.org> - 2.1.9-3
a658b06
- rebuild for R 2.12.2
a658b06
4b1deda
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.9-2
4b1deda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4b1deda
a1cf678
* Fri Dec 17 2010 Tom Callaway <spot@fedoraproject.org> - 2.1.9-1
a1cf678
- update to 2.1.9
a1cf678
f89c0fa
* Wed Oct 20 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.7-1
f89c0fa
- update to 2.1.7
f89c0fa
d972993
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.1.3-3
d972993
- generalize reference to 2.6 to 2.? in %%install
d972993
4066fc9
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.1.3-2
4066fc9
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
4066fc9
3a1fddb
* Tue Jun  1 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.3-1
3a1fddb
- update to 2.1.3
3a1fddb
535469f
* Fri Apr 23 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.0-1
535469f
- update to 2.1.0
535469f
d4b6490
* Thu Apr  8 2010 José Matos <jamatos@fc.up.pt> - 2.0.8-2
d4b6490
- Rebuild for new numpy.
d4b6490
b32f598
* Mon Jan 25 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.8-1
b32f598
- update to 2.0.8
b32f598
ec3fa2b
* Tue Dec 29 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.0.6-7
ec3fa2b
- Rebuild for new R (2.10.1)
ec3fa2b
0f5e0eb
* Thu Nov  5 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.6-7
0f5e0eb
- rebuild for R 2.10.0
0f5e0eb
baafd54
* Mon Sep 21 2009 José Matos <jamatos@fc.up.pt> - 2.0.6-6
baafd54
- require at runtime just R-core
baafd54
264d022
* Mon Aug 24 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.6-5
264d022
- rebuild for R 2.9.2
264d022
e2df965
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-4
e2df965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e2df965
f222c19
* Fri Jul 10 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.6-3
21a3b05
- images are only installed incorrectly on 64bit platforms that aren't ia64
21a3b05
9fcdc6e
* Thu Jul  9 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.6-1
9fcdc6e
- rebuild for R 2.9.1
9fcdc6e
- update to rpy2 2.0.6
9fcdc6e
bd7ca6f
* Fri Apr 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-2
bd7ca6f
- rebuild for R 2.9.0
bd7ca6f
5f3b8f1
* Fri Mar 20 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-1
5f3b8f1
- update to rpy2 2.0.3
5f3b8f1
ccd6c2e
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-7
ccd6c2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ccd6c2e
24c3af2
* Mon Dec 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-6
24c3af2
- rebuild for R 2.8.1
24c3af2
67f48a2
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.3-5
67f48a2
- Rebuild for Python 2.6
67f48a2
bf50a8a
* Sun Oct 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-4
bf50a8a
- rebuild against R-2.8.0
bf50a8a
2936813
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-3
2936813
- rebuild against R-2.7.2
2936813
40baa81
* Tue Jul  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-2
40baa81
- rebuild against R 2.7.1
40baa81
75810a5
* Wed May 21 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.3-1
75810a5
- Update to 1.0.3
75810a5
- Backport two patches from upstream (turn off debug and use the lapack version that R was compiled with)
75810a5
a6f8ffc
* Tue Apr 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-1
a6f8ffc
- update to 1.0.2
a6f8ffc
- R 2.7.0
a6f8ffc
a51fb69
* Wed Feb 13 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-5
a51fb69
- BR texinfo -> texinfo-tex
a51fb69
b975b2b
* Wed Feb 13 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-4
b975b2b
- Rebuild for gcc 4.3
b975b2b
c4d2e18
* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.1-3
c4d2e18
- rebuild for R 2.6.2
c4d2e18
1730c1d
* Mon Feb  4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-2
1730c1d
- Sometimes _patch_'s guesses are not good enough. Redo patch to setup.py.
1730c1d
2c17da2
* Sun Feb  3 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-1
2c17da2
- New upstream release.
2c17da2
116cd24
* Mon Jan  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-0.7.RC3
116cd24
- find the moved R headers in their new home (/usr/include/R)
116cd24
18429a2
* Mon Jan  7 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.0-0.6.RC3
18429a2
- BuildRequires: R-devel rather than just R
18429a2
cf20ff3
* Mon Nov 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-0.5.RC3
cf20ff3
- really rebuild against R 2.6.1
cf20ff3
- versioned buildrequires for R
cf20ff3
4647322
* Mon Nov 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-0.4.RC3
4647322
- rebuild against R 2.6.1
4647322
3a05784
* Mon Oct  8 2007 José Matos <jamatos[AT]fc.up.pt> - 1.0-0.3.RC3
3a05784
- Rebuild for R 2.6.0 (really).
3a05784
8dbb077
* Fri Oct  5 2007 José Matos <jamatos[AT]fc.up.pt> - 1.0-0.2.RC3
8dbb077
- Rebuild for R version 2.6.
8dbb077
1304c86
* Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.0-0.1.RC3
1304c86
- New upstream version.
1304c86
- Change from python-numeric to numpy package.
1304c86
37576ec
* Tue Aug 28 2007 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-18
37576ec
- License fix, rebuild for devel (F8).
37576ec
ee5b7b5
* Fri Jul  6 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.6-17
ee5b7b5
- Rebuild to link with R 2.5.1
ee5b7b5
e651777
* Thu Apr 26 2007 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-16
e651777
- Rebuild to link with R 2.5.0
e651777
e68d4ee
* Thu Dec 21 2006 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.6-15
e68d4ee
- Rebuild for new R-version.
e68d4ee
f046aec
* Tue Dec 12 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-14
f046aec
- Rebuild for python 2.5.
f046aec
65c5bec
* Tue Oct 17 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-13
65c5bec
- Rebuild for new R-version.
65c5bec
e4a56f1
* Thu Sep 14 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-12
e4a56f1
- Rebuild for FC6.
e4a56f1
e4a56f1
* Sun Jun  4 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-11
eb52a31
- Rebuild for R-2.3.1
eb52a31
e4a56f1
* Wed Apr 26 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-10
30bba64
- BuildRequires tetex for "make pdf" (pdftex).
30bba64
e4a56f1
* Wed Apr 26 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-9
172da46
- Fix detection of R version.
172da46
e4a56f1
* Wed Apr 26 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-8
99a603a
- Rebuild for R-2.3.0
99a603a
e4a56f1
* Fri Feb 17 2006 Alex Lancaster <alexl[AT]users.sourceforge.net> - 0.4.6-7
d4ddba0
- Build info docs (bz#169002).
d4ddba0
- Build pdf and html documentation, clean doc directory. (jamatos)
d4ddba0
e4a56f1
* Thu Feb 16 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-6
334f8ef
- Use a fixed value for R version.
334f8ef
e4a56f1
* Thu Feb 16 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-5
96255a1
- Set explicit dependency on exact version of R used to build the package. (bz#177078)
96255a1
e4a56f1
* Tue Jan  3 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-4
07ea341
- Update for R-2.2.1
07ea341
e4a56f1
* Tue Oct 11 2005 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-3
e3aec8b
- Another try to deal with make tag.
e3aec8b
e4a56f1
* Mon Oct 10 2005 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-2
de3ae14
- Rebuild for R-2.2.0
de3ae14
e4a56f1
* Thu Sep 15 2005 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-1
9e437ac
- Initial package for Fedora Extras