rpy/rpy.spec

342 lines
11 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)")}
2013-04-11 14:34:23 +00:00
# %%global betaver beta1
2015-03-10 11:07:33 +00:00
%global rver 3.1.3
Name: rpy
Summary: Python interface to the R language
2015-02-13 16:13:29 +00:00
Version: 2.5.6
2015-03-10 11:07:33 +00:00
Release: 2%{?dist}
Url: https://bitbucket.org/lgautier/rpy2
2013-04-11 14:34:23 +00:00
Source: http://pypi.python.org/packages/source/r/%{name}2/%{name}2-%{version}.tar.gz
2014-07-16 16:59:33 +00:00
License: GPLv2+
Group: Development/Libraries
BuildRequires: R-devel = %{rver}, numpy, python2-devel, python3-devel
BuildRequires: python-setuptools, python3-setuptools
2011-07-11 20:56:42 +00:00
BuildRequires: readline-devel
Requires: numpy
2009-09-21 09:31:21 +00:00
Requires: R-core = %{rver}
Provides: python-rpy = %{version}-%{release}
%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.
%package -n python3-rpy
Summary: Python interface to the R language
%description -n python3-rpy
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.
2008-02-03 18:21:32 +00:00
%prep
2013-04-11 14:34:23 +00:00
%setup -q -n %{name}2-%{version}
rm -rf %{py3dir}
cp -a . %{py3dir}
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
%build
env CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build
pushd %{py3dir}
env CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
popd
%install
pushd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
popd
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
%files
%doc AUTHORS NEWS PKG-INFO
2009-03-24 01:53:10 +00:00
%{python_sitearch}/rpy2/
%{python_sitearch}/rpy2-%{version}*.egg-info
%files -n python3-rpy
%doc AUTHORS NEWS PKG-INFO
%{python3_sitearch}/rpy2/
%{python3_sitearch}/rpy2-%{version}*.egg-info
%changelog
2015-03-10 11:07:33 +00:00
* Tue Mar 10 2015 José Matos <jamatos@fedoraproject.org> - 2.5.6-2
- R 3.1.3
2015-02-13 16:13:29 +00:00
* Fri Feb 13 2015 José Matos <jamatos@fedoraproject.org> - 2.5.6-1
- update to 2.5.6
2015-01-26 16:07:31 +00:00
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 2.5.2-2
- rebuild for ICU 54.1
2014-11-28 13:47:35 +00:00
* Fri Nov 28 2014 José Matos <jamatos@fedoraproject.org> - 2.5.2-1
- update to 2.5.2
* Fri Nov 14 2014 José Matos <jamatos@fedoraproject.org> - 2.5.1-1
- update to 2.5.1
- add python3 subpackage
2014-11-01 22:46:32 +00:00
* Sat Nov 1 2014 Tom Callaway <spot@fedoraproject.org> - 2.4.4-1
- update to 2.4.4
- R 3.1.2
2014-09-24 14:07:34 +00:00
* Wed Sep 24 2014 José Matos <jamatos@fedoraproject.org> - 2.4.3-1
- update to 2.4.3
2014-08-26 11:57:32 +00:00
* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 2.4.2-3
- rebuild for ICU 53.1
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-07-16 16:59:33 +00:00
* Wed Jul 16 2014 Tom Callaway <spot@fedoraproject.org> - 2.4.2-1
- update to 2.4.2
- R 3.1.1
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-04-21 20:53:49 +00:00
* Mon Apr 21 2014 Tom Callaway <spot@fedoraproject.org> - 2.3.10-1
- update to 2.3.10
- R 3.1.0
2014-03-24 01:52:42 +00:00
* Sun Mar 23 2014 Tom Callaway <spot@fedoraproject.org> - 2.3.9-2
- rebuild for R 3.0.3
* Fri Jan 31 2014 José Matos <jamatos@fedoraproject.org> - 2.3.9-1
- update to 2.3.9
- prepare the python3 support:
- add virtual provides for python-rpy
- change the build requirement from python-devel to python2-devel
2013-10-15 23:32:43 +00:00
* Tue Oct 15 2013 Tom Callaway <spot@fedoraproject.org> - 2.3.8-1
- update to 2.3.8, rebuild for R 3.0.2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-05-17 21:10:00 +00:00
* Fri May 17 2013 Tom Callaway <spot@fedoraproject.org> - 2.3.6-2
- rebuild for R 3.0.1
2013-05-06 16:43:14 +00:00
* Mon May 6 2013 José Matos <jamatos@fedoraproject.org> - 2.3.6-1
- update to 2.3.6
2013-04-11 14:34:23 +00:00
* Thu Apr 11 2013 Tom Callaway <spot@fedoraproject.org> - 2.3.5-1
- update to 2.3.5, built against R 3.0.0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-0.2.beta1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-10-29 18:53:38 +00:00
* Mon Oct 29 2012 Tom Callaway <spot@fedoraproject.org> - 2.3.0-0.1.beta1
- update to 2.3.0beta1
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2014-07-16 16:59:33 +00:00
* Wed Jul 4 2012 Tom Callaway <spot@fedoraproject.org> - 2.2.6-1
2012-07-02 17:46:59 +00:00
- update to 2.2.6, R 2.15.1
2012-03-31 17:51:07 +00:00
* Sat Mar 31 2012 Tom Callaway <spot@fedoraproject.org> - 2.2.5-1
- update to 2.2.5, R 2.15.0
2012-01-06 23:34:09 +00:00
* Fri Jan 6 2012 José Matos <jamatos@fedoraproject.org> - 2.2.4-2
- rebuild for R 2.14.1
2011-11-09 18:23:58 +00:00
* Wed Nov 9 2011 Tom Callaway <spot@fedoraproject.org> - 2.2.4-1
- update to 2.2.4
- rebuild for R 2.14.0
2011-10-08 01:44:06 +00:00
* Fri Oct 7 2011 Tom Callaway <spot@fedoraproject.org> - 2.2.3-1
- update to 2.2.3
- rebuild for R 2.13.2
2011-07-11 20:56:42 +00:00
* Mon Jul 11 2011 Tom Callaway <spot@fedoraproject.org> - 2.2.1-2
- add BuildRequires: readline-devel
2011-07-11 19:40:13 +00:00
* Mon Jul 11 2011 Tom Callaway <spot@fedoraproject.org> - 2.2.1-1
- update to 2.2.1, note R at 2.13.1
- spec file modernization
2011-04-15 12:00:42 +00:00
* Fri Apr 15 2011 Michel Salim <salimma@fedoraproject.org> - 2.1.9-4
- Rebuild for R 2.13.0
2011-02-27 19:24:09 +00:00
* Sun Feb 27 2011 Tom Callaway <spot@fedoraproject.org> - 2.1.9-3
- rebuild for R 2.12.2
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-18 00:28:24 +00:00
* Fri Dec 17 2010 Tom Callaway <spot@fedoraproject.org> - 2.1.9-1
- update to 2.1.9
2010-10-20 19:07:45 +00:00
* Wed Oct 20 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.7-1
- update to 2.1.7
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.1.3-3
- generalize reference to 2.6 to 2.? in %%install
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-06-01 19:05:28 +00:00
* Tue Jun 1 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.3-1
- update to 2.1.3
* Fri Apr 23 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.1.0-1
- update to 2.1.0
* Thu Apr 8 2010 José Matos <jamatos@fc.up.pt> - 2.0.8-2
- Rebuild for new numpy.
2010-01-25 20:46:29 +00:00
* Mon Jan 25 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.8-1
- update to 2.0.8
2009-12-29 22:48:45 +00:00
* Tue Dec 29 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 2.0.6-7
- Rebuild for new R (2.10.1)
2009-11-05 13:20:04 +00:00
* Thu Nov 5 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.6-7
- rebuild for R 2.10.0
2009-09-21 09:31:21 +00:00
* Mon Sep 21 2009 José Matos <jamatos@fc.up.pt> - 2.0.6-6
- require at runtime just R-core
2009-08-24 19:43:57 +00:00
* Mon Aug 24 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.6-5
- rebuild for R 2.9.2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-07-10 15:46:18 +00:00
* Fri Jul 10 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.6-3
2009-07-10 15:37:52 +00:00
- images are only installed incorrectly on 64bit platforms that aren't ia64
2009-07-09 21:26:45 +00:00
* Thu Jul 9 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.6-1
- rebuild for R 2.9.1
- update to rpy2 2.0.6
2009-04-17 20:18:06 +00:00
* Fri Apr 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-2
- rebuild for R 2.9.0
2009-03-24 01:53:10 +00:00
* 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
2008-12-22 16:29:12 +00:00
* Mon Dec 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-6
- rebuild for R 2.8.1
2008-11-29 17:21:08 +00:00
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.3-5
- Rebuild for Python 2.6
2008-10-26 19:57:48 +00:00
* Sun Oct 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-4
- rebuild against R-2.8.0
2008-08-29 18:44:28 +00:00
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-3
- rebuild against R-2.7.2
2008-07-08 13:53:27 +00:00
* Tue Jul 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-2
- rebuild against R 2.7.1
* Wed May 21 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.3-1
- Update to 1.0.3
- Backport two patches from upstream (turn off debug and use the lapack version that R was compiled with)
2008-04-29 21:48:49 +00:00
* Tue Apr 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-1
- update to 1.0.2
- R 2.7.0
2008-02-13 20:02:45 +00:00
* Wed Feb 13 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-5
- BR texinfo -> texinfo-tex
2008-02-13 19:43:17 +00:00
* Wed Feb 13 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-4
- Rebuild for gcc 4.3
2008-02-08 19:31:16 +00:00
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.1-3
- rebuild for R 2.6.2
* Mon Feb 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-2
- Sometimes _patch_'s guesses are not good enough. Redo patch to setup.py.
2008-02-03 18:21:32 +00:00
* Sun Feb 3 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-1
- New upstream release.
* Mon Jan 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-0.7.RC3
- find the moved R headers in their new home (/usr/include/R)
* Mon Jan 7 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.0-0.6.RC3
- BuildRequires: R-devel rather than just R
2007-11-27 01:17:44 +00:00
* Mon Nov 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-0.5.RC3
- really rebuild against R 2.6.1
- versioned buildrequires for R
2007-11-26 22:28:34 +00:00
* Mon Nov 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-0.4.RC3
- rebuild against R 2.6.1
2007-10-08 15:11:43 +00:00
* Mon Oct 8 2007 José Matos <jamatos[AT]fc.up.pt> - 1.0-0.3.RC3
- Rebuild for R 2.6.0 (really).
2007-10-05 07:10:15 +00:00
* Fri Oct 5 2007 José Matos <jamatos[AT]fc.up.pt> - 1.0-0.2.RC3
- Rebuild for R version 2.6.
* Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.0-0.1.RC3
- New upstream version.
- Change from python-numeric to numpy package.
2007-08-28 21:43:15 +00:00
* Tue Aug 28 2007 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-18
- License fix, rebuild for devel (F8).
2007-07-06 19:18:44 +00:00
* Fri Jul 6 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.6-17
- Rebuild to link with R 2.5.1
2007-04-26 10:09:54 +00:00
* Thu Apr 26 2007 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-16
- Rebuild to link with R 2.5.0
2006-12-21 19:16:06 +00:00
* Thu Dec 21 2006 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.6-15
- Rebuild for new R-version.
2006-12-12 00:34:42 +00:00
* Tue Dec 12 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-14
- Rebuild for python 2.5.
2006-10-17 14:44:29 +00:00
* Tue Oct 17 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-13
- Rebuild for new R-version.
2006-09-14 12:49:48 +00:00
* Thu Sep 14 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-12
- Rebuild for FC6.
* Sun Jun 4 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-11
2006-06-04 21:38:32 +00:00
- Rebuild for R-2.3.1
2006-09-14 12:49:48 +00:00
* Wed Apr 26 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-10
- BuildRequires tetex for "make pdf" (pdftex).
2006-09-14 12:49:48 +00:00
* Wed Apr 26 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-9
2006-04-26 11:47:36 +00:00
- Fix detection of R version.
2006-09-14 12:49:48 +00:00
* Wed Apr 26 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-8
2006-04-26 10:55:02 +00:00
- Rebuild for R-2.3.0
2006-09-14 12:49:48 +00:00
* Fri Feb 17 2006 Alex Lancaster <alexl[AT]users.sourceforge.net> - 0.4.6-7
- Build info docs (bz#169002).
- Build pdf and html documentation, clean doc directory. (jamatos)
2006-09-14 12:49:48 +00:00
* Thu Feb 16 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-6
2006-02-17 00:06:57 +00:00
- Use a fixed value for R version.
2006-09-14 12:49:48 +00:00
* Thu Feb 16 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-5
- Set explicit dependency on exact version of R used to build the package. (bz#177078)
2006-09-14 12:49:48 +00:00
* Tue Jan 3 2006 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-4
2006-01-03 23:32:47 +00:00
- Update for R-2.2.1
2006-09-14 12:49:48 +00:00
* Tue Oct 11 2005 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-3
2005-10-11 07:41:26 +00:00
- Another try to deal with make tag.
2006-09-14 12:49:48 +00:00
* Mon Oct 10 2005 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-2
2005-10-10 18:12:52 +00:00
- Rebuild for R-2.2.0
2006-09-14 12:49:48 +00:00
* Thu Sep 15 2005 José Matos <jamatos[AT]fc.up.pt> - 0.4.6-1
- Initial package for Fedora Extras