%global packname caTools %global packver 1.18.2 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: %{packver} Release: 12%{?dist} Summary: Tools: Moving Window Statistics, GIF, Base64, ROC AUC, etc License: GPLv3 URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz # Here's the R view of the dependencies world: # Depends: # Imports: R-bitops # Suggests: R-MASS, R-rpart # LinkingTo: # Enhances: BuildRequires: R-devel >= 3.6.0 BuildRequires: tex(latex) BuildRequires: R-bitops BuildRequires: R-MASS BuildRequires: R-rpart %description Contains several basic utility functions including: moving (rolling, running) window statistic functions, read/write for GIF and ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64 encoder/decoder, round-off-error-free sum and cumsum, etc. %prep %setup -q -c -n %{packname} %build %install mkdir -p %{buildroot}%{rlibdir} %{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -f %{buildroot}%{rlibdir}/R.css %check %{_bindir}/R CMD check %{packname} %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %dir %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/libs/%{packname}.so %changelog * Thu Apr 25 2024 Iñaki Úcar - 1.18.2-12 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.18.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.18.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.18.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 1.18.2-8 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1.18.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Sep 2 2022 Tom Callaway - 1.18.2-6 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 1.18.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.18.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.18.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 15 2021 Tom Callaway - 1.18.2-2 - Rebuilt for R 4.1.0 * Sat Apr 03 2021 Elliott Sales de Andrade - 1.18.2-1 - Update to latest version (#1943900) * Sun Feb 07 2021 Elliott Sales de Andrade - 1.18.1-1 - Update to latest version (#1914883) * Mon Jan 25 2021 Fedora Release Engineering - 1.18.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.18.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jun 6 2020 Tom Callaway - 1.18.0-2 - rebuild for R 4 * Mon Feb 24 2020 Elliott Sales de Andrade - 1.18.0-1 - Update to latest version * Tue Jan 28 2020 Fedora Release Engineering - 1.17.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Nov 30 2019 Elliott Sales de Andrade - 1.17.1.3-1 - Update to latest version * Mon Aug 26 2019 Elliott Sales de Andrade - 1.17.1.2-1 - Update to latest version * Mon Aug 12 2019 Elliott Sales de Andrade - 1.17.1-12 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 1.17.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.17.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.17.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu May 17 2018 Tom Callaway - 1.17.1-8 - rebuild for R 3.5.0 * Wed Feb 07 2018 Fedora Release Engineering - 1.17.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.17.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.17.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue May 30 2017 Tom Callaway - 1.17.1-4 - rebuild for R 3.4.0 * Fri Feb 10 2017 Fedora Release Engineering - 1.17.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.17.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jul 03 2015 pingou 1.17.1-1 - Update to version 1.17.1 * Tue Jun 16 2015 Fedora Release Engineering - 1.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Aug 15 2014 Fedora Release Engineering - 1.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jul 19 2014 Ville Skyttä - 1.17-2 - Rebuild to fix debuginfo (#1113404) * Wed Jul 02 2014 pingou 1.17-1 - Update to version 1.17 * Fri Jun 06 2014 Fedora Release Engineering - 1.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Nov 14 2013 pingou 1.16-1 - Update to version 1.16 * Fri Aug 02 2013 Fedora Release Engineering - 1.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Apr 11 2013 Tom Callaway - 1.14-3 - rebuild for R3 * Thu Apr 04 2013 pingou 1.14-2 - Fix dist tag * Thu Apr 04 2013 pingou 1.14-1 - Update to version 1.14 * Wed Feb 13 2013 Fedora Release Engineering - 1.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Nov 27 2012 pingou 1.13-1 - Update to version 1.13 * Wed Jul 18 2012 Fedora Release Engineering - 1.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 1.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 9 2011 Tom Callaway 1.12-2 - rebuild for R 2.14.0 * Wed Jun 22 2011 pingou 1.12-1 - Update to version 1.12 * Mon Feb 07 2011 Fedora Release Engineering - 1.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jan 29 2011 pingou 1.11-2 - Fix URL - Fix source0 which fix the build... * Mon Dec 20 2010 pingou 1.11-1 - Update to version 1.11 * Sat Jun 12 2010 pingou 1.10-3 - Take over package - Deplace the chmod to prep * Sat May 08 2010 josef radinger - 1.10-2 - fix buildrequires * Fri Apr 09 2010 josef radinger - 1.10-1 - initial release