From 0ab630f9860f780e609a98b46602a3aa49a85ba2 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 17:53:45 +0100 Subject: [PATCH] automatic version update by autodist [release 3.0.1-1mamba;Thu Jun 13 2013] --- R-2.15.2-texinfo-5.0.patch | 11 ++ R.png | Bin 0 -> 576 bytes R.spec | 264 +++++++++++++++++++++++++++++++++++++ README.md | 11 ++ 4 files changed, 286 insertions(+) create mode 100644 R-2.15.2-texinfo-5.0.patch create mode 100644 R.png create mode 100644 R.spec diff --git a/R-2.15.2-texinfo-5.0.patch b/R-2.15.2-texinfo-5.0.patch new file mode 100644 index 0000000..fb4f5c5 --- /dev/null +++ b/R-2.15.2-texinfo-5.0.patch @@ -0,0 +1,11 @@ +--- R-2.15.2/configure.orig 2013-02-27 20:33:07.856301438 +0100 ++++ R-2.15.2/configure 2013-02-27 20:30:37.020951966 +0100 +@@ -5197,7 +5197,7 @@ + || test -z "${makeinfo_version_min}"; then + r_cv_prog_makeinfo_v4=no + elif test ${makeinfo_version_maj} -lt 4 \ +- || test ${makeinfo_version_min} -lt 7; then ++ || test ${makeinfo_version_maj} -lt 4 && test ${makeinfo_version_min} -lt 7; then + r_cv_prog_makeinfo_v4=no + else + r_cv_prog_makeinfo_v4=yes diff --git a/R.png b/R.png new file mode 100644 index 0000000000000000000000000000000000000000..8e9512e10f2d8a8100f9b5087dbf00d1decd306a GIT binary patch literal 576 zcmV-G0>Ax|EL`DWVZst< z7&Dn!@Sw#cX0r@9QM@UhW*iFNBH z$~+;<6k3BfwzXNog#e1Ray4YA08A>U% z)^uHWC6Ng9`1r)~Cc9}4Bt;pUpPzqIsF`*2P}Mb~hY&nxYmwg2G$)oHJx_yW3Xa#m zuZ$jgW3aCH5?q-ll=+&j>sSCZ%>k`7BEoL>NS@AVx9v0scz)%4+;cwe2_mtswPtx^ zzj?gLUdj`f z220m +URL: http://www.r-project.org/ +Source: http://cran.r-project.org/src/base/R-%{majversion}/R-%{version}.tar.gz +Source1: %{name}.png +Patch0: R-2.15.2-texinfo-5.0.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: gcc-fortran +BuildRequires: glibc-devel +BuildRequires: libcairo-devel +BuildRequires: libglib-devel +BuildRequires: libICE-devel +BuildRequires: libjpeg-devel +BuildRequires: libncurses-devel +BuildRequires: libpango-devel +BuildRequires: libpng-devel +BuildRequires: libreadline-devel +BuildRequires: libSM-devel +BuildRequires: libtcl-devel +BuildRequires: libtiff-devel +BuildRequires: libtk-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXmu-devel +BuildRequires: libXScrnSaver-devel +BuildRequires: libXt-devel +BuildRequires: libz-devel +BuildRequires: perl-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRequires: tetex-latex +BuildRequires: libtk +BuildRequires: paper-utils +BuildRequires: liblapack-devel +BuildRequires: libX11-devel >= 1.1.1 +BuildRequires: libpcre-devel +BuildRequires: latex-font-inconsolata +Requires: latex-font-inconsolata +Requires(post):%{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +R is a language and environment for statistical computing and graphics. +It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and colleagues. +R can be considered as a different implementation of S. +There are some important differences, but much code written for S runs unaltered under R. + +R provides a wide variety of statistical (linear and nonlinear modelling, +classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible. +The S language is often the vehicle of choice for research in statistical methodology, and R provides an Open Source route to participation in that activity. + +One of R's strengths is the ease with which well-designed publication-quality plots can be produced, including mathematical symbols and formulae where needed. Great care has been taken over the defaults for the minor design choices in graphics, but the user retains full control. + +%prep +%setup -q +%patch0 -p1 + +%build +echo 'R_LIBS_SITE=${R_LIBS_SITE-'"'/usr/local/lib/R/site-library:/usr/local/lib/R/library:%{_libdir}/R/library:%{_datadir}/R/library'"'}' >> etc/Renviron.in +export R_PDFVIEWER="%{_bindir}/xdg-open" +export R_PRINTCMD="lpr" +export R_BROWSER="%{_bindir}/xdg-open" + +%configure \ + --enable-R-shlib \ + LIBS="-lncurses" \ + ac_cv_path_INSTALL_INFO=/sbin/install-info + + +%make R_LIBS_USER=`pwd`/library +%make pdf info + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeoldinstall install-info +rm -f %{buildroot}%{_infodir}/dir +rm -f %{buildroot}%{_infodir}/dir.old + +# Fix location of R_HOME_DIR in shell wrapper +sed -e "s@R_HOME_DIR=.*@R_HOME_DIR=%{_libdir}/%{name}@" < bin/%{name} \ + > %{buildroot}%{_libdir}/R/bin/%{name} +sed -e "s@R_HOME_DIR=.*@R_HOME_DIR=%{_libdir}/%{name}@" < bin/%{name} \ + > %{buildroot}%{_bindir}/%{name} +chmod 755 %{buildroot}%{_libdir}/%{name}/bin/%{name} +chmod 755 %{buildroot}%{_bindir}/%{name} + +# Remove package indices. They are rebuilt by the %post script +rm -f %{buildroot}%{_libdir}/%{name}/doc/html/function.html +rm -f %{buildroot}%{_libdir}/%{name}/doc/html/packages.html +rm -f %{buildroot}%{_libdir}/%{name}/doc/html/search/index.txt + +# Remove duplicated documentation files +(cd %{buildroot}%{_libdir}/R; \ + rm -f COPYING NEWS doc/AUTHORS doc/COPYING doc/COPYING.LIB \ + doc/COPYRIGHTS doc/NEWS doc/THANKS +) + +# Create the system menu entry +install -D -m 644 %{S:1} \ + %{buildroot}%{_datadir}/icons/crystalsvg/16x16/apps/%{name}.png +install -d %{buildroot}%{_datadir}/applications +cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF +[Desktop Entry] +Name=%{name} +GenericName=Development environment for statistical computing +GenericName[it]=Ambiente di sviluppo per l'analisi statistica +Exec=%{name} +Icon=%{name} +Terminal=1 +Type=Application +X-KDE-StartupNotify=true +Categories=Application;Development; +EOF + +install -d -m0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d +cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/R.conf << _EOF +%{_libdir}/%{name}/lib +_EOF + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%define info_files %{name}-admin %{name}-data %{name}-exts %{name}-FAQ %{name}-intro %{name}-ints %{name}-lang + +%post +#%ifnarch x86_64 +#for info_file in %info_files +# do %install_info $info_file.info +#done +#%endif +/sbin/ldconfig + +## Update package indices +#%{_bindir}/%{name} CMD perl %{_libdir}/%{name}/share/perl/build-help.pl \ +# --htmllists &>/dev/null +#cat %{_libdir}/%{name}/library/*/CONTENTS \ +# > %{_libdir}/%{name}/doc/html/search/index.txt 2>/dev/null +: + +#%ifnarch x86_64 +#%preun +#for info_file in %info_files +# do %uninstall_info $info_file.info +#done +#%endif + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_sysconfdir}/ld.so.conf.d/R.conf +%{_bindir}/%{name} +%{_bindir}/Rscript +%{_libdir}/%{name} +%{_datadir}/icons/crystalsvg/16x16/apps/%{name}.png +%{_datadir}/applications/%{name}.desktop +# FIXME: tetex + x86_64 = problems +#%ifnarch x86_64 +#%{_infodir}/* +#%endif +%{_mandir}/man1/* +#%doc NEWS ONEWS OONEWS README +#%doc doc/FAQ +#%{_infodir}/R-FAQ.info.gz +#%{_infodir}/R-admin.info.gz +#%{_infodir}/R-data.info.gz +#%{_infodir}/R-exts.info-1.gz +#%{_infodir}/R-exts.info-2.gz +#%{_infodir}/R-exts.info.gz +#%{_infodir}/R-intro.info.gz +#%{_infodir}/R-ints.info.gz +#%{_infodir}/R-lang.info.gz +%{_libdir}/pkgconfig/libR.pc +%doc doc/manual/R-admin.pdf +%doc doc/manual/R-FAQ.pdf +%doc doc/manual/R-lang.pdf +%doc doc/manual/R-data.pdf +%doc doc/manual/R-intro.pdf +%doc COPYING +#%doc doc/COPYING doc/THANKS doc/COPYRIGHTS doc/AUTHORS + +%changelog +* Thu Jun 13 2013 Automatic Build System 3.0.1-1mamba +- automatic version update by autodist + +* Tue May 07 2013 Automatic Build System 3.0.0-1mamba +- automatic version update by autodist + +* Thu Mar 07 2013 Automatic Build System 2.15.3-1mamba +- automatic version update by autodist + +* Sat Oct 27 2012 Automatic Build System 2.15.2-1mamba +- automatic version update by autodist + +* Wed Aug 15 2012 Automatic Build System 2.15.1-1mamba +- automatic version update by autodist + +* Mon Jun 11 2012 Stefano Cotta Ramusino 2.15.0-2mamba +- Add R library path to configuration file for R packages + +* Sat Jun 09 2012 Silvan Calarco 2.15.0-1mamba +- update to 2.15.0 + +* Fri Mar 04 2011 Silvan Calarco 2.12.2-1mamba +- update to 2.12.2 +- rebuilt with --enable-R-shlib + +* Tue Feb 22 2011 Silvan Calarco 2.11.1-4mamba +- use /etc/ld.conf.d pluggable directory to set library directory +- remove index creation in post scripts + +* Wed Jan 12 2011 Automatic Build System 2.11.1-3mamba +- automatic update by autodist + +* Tue Jun 29 2010 Automatic Build System 2.11.1-2mamba +- automatic rebuild by autodist + +* Sat Jun 26 2010 Automatic Build System 2.11.1-1mamba +- automatic update by autodist + +* Tue Apr 27 2010 Automatic Build System 2.11.0-1mamba +- automatic update by autodist + +* Tue Jan 26 2010 Automatic Build System 2.10.1-1mamba +- automatic update by autodist + +* Wed Oct 28 2009 Automatic Build System 2.10.0-1mamba +- automatic update by autodist + +* Fri Aug 28 2009 Automatic Build System 2.9.2-1mamba +- automatic update by autodist + +* Sat Jul 04 2009 Automatic Build System 2.9.1-1mamba +- automatic update by autodist + +* Thu Jun 25 2009 Automatic Build System 2.9.0-1mamba +- automatic update by autodist + +* Wed Jan 21 2009 Silvan Calarco 2.8.1-1mamba +- automatic update by autodist + +* Fri Sep 12 2008 Silvan Calarco 2.7.2-1mamba +- update to 2.7.2 + +* Sat May 19 2007 Silvan Calarco 2.5.0-1mamba +- update to 2.5.0 + +* Sun Feb 18 2007 Silvan Calarco 2.4.1-2qilnx +- rebuilt + +* Tue Feb 06 2007 Stefano Cotta Ramusino 2.4.1-1qilnx +- update to version 2.4.1 by autospec + +* Sat Nov 18 2006 Stefano Cotta Ramusino 2.4.0-1qilnx +- package created by autospec diff --git a/README.md b/README.md index cbfe3da..29d9d98 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # R +R is a language and environment for statistical computing and graphics. +It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and colleagues. +R can be considered as a different implementation of S. +There are some important differences, but much code written for S runs unaltered under R. + +R provides a wide variety of statistical (linear and nonlinear modelling, +classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible. +The S language is often the vehicle of choice for research in statistical methodology, and R provides an Open Source route to participation in that activity. + +One of R's strengths is the ease with which well-designed publication-quality plots can be produced, including mathematical symbols and formulae where needed. Great care has been taken over the defaults for the minor design choices in graphics, but the user retains full control. +