%global packname RUnit %global rlibdir %{_datadir}/R/library Name: R-%{packname} Version: 0.4.32 Release: 18%{?dist} Summary: R Unit test framework # Automatically converted from old format: GPLv2 - review is highly recommended. License: GPL-2.0-only URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz Patch0: R-RUnit-0.4.25-no-buildroot-path-in-html.patch # Here's the R view of the dependencies world: # Depends: R-utils >= 2.5.0, R-methods >= 2.5.0, R-graphics >= 2.5.0 # Imports: # Suggests: R-XML >= 3.1.0 # LinkingTo: # Enhances: BuildArch: noarch BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-utils >= 2.5.0 BuildRequires: R-methods >= 2.5.0 BuildRequires: R-graphics >= 2.5.0 BuildRequires: R-XML >= 3.1.0 %description R functions implementing a standard Unit Testing framework, with additional code inspection and report generation tools. %prep %setup -q -c -n %{packname} %patch -P0 -p1 -b .no-buildroot-path-in-html %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}/doc %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 %{rlibdir}/%{packname}/examples %{rlibdir}/%{packname}/share %{rlibdir}/%{packname}/unitTests %changelog * Mon Jul 29 2024 Miroslav Suchý - 0.4.32-18 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 0.4.32-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 0.4.32-16 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.4.32-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.4.32-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.4.32-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 0.4.32-12 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 0.4.32-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Aug 19 2022 Tom Callaway - 0.4.32-10 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 0.4.32-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.4.32-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.4.32-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 7 2021 Tom Callaway - 0.4.32-6 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 0.4.32-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.4.32-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 3 2020 Tom Callaway - 0.4.32-3 - Rebuild for R 4 * Tue Jan 28 2020 Fedora Release Engineering - 0.4.32-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 26 2019 Elliott Sales de Andrade - 0.4.32-1 - Update to latest version * Mon Aug 12 2019 Elliott Sales de Andrade - 0.4.26-19 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 0.4.26-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.4.26-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.4.26-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 02 2018 José Abílio Matos - 0.4.26-15 - rebuild with R 3.5.0 * Wed Feb 07 2018 Fedora Release Engineering - 0.4.26-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.4.26-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.4.26-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.4.26-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jun 16 2015 Fedora Release Engineering - 0.4.26-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 0.4.26-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Aug 02 2013 Fedora Release Engineering - 0.4.26-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Apr 11 2013 Tom Callaway - 0.4.26-7 - rebuild for R3 * Wed Feb 13 2013 Fedora Release Engineering - 0.4.26-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 0.4.26-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 0.4.26-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 09 2011 Tom Callaway - 0.4.26-3 - rebuild for R 2.14.0 * Mon Feb 07 2011 Fedora Release Engineering - 0.4.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Oct 26 2010 pingou 0.4.26-1 - Update to version 0.4.26 * Thu Oct 14 2010 pingou 0.4.26-1 - Update to version 0.4.26 * Thu Jan 21 2010 Tom "spot" Callaway 0.4.25-2 - do not embed buildroot path in R docs * Thu Dec 17 2009 pingou 0.4.25-1 - Update to 0.4.25 * Sat Nov 21 2009 pingou 0.4.22-3 - Rebuild for R-2.10.0 - Remove %%post and %%postun - Adapt %%files to R-2.10.0 * Fri Jul 24 2009 Fedora Release Engineering - 0.4.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jun 04 2009 pingou 0.4.22-1 - Update to 0.4.22 * Fri Apr 03 2009 pingou 0.4.21-3 - The package should not list all the file twice... * Wed Apr 01 2009 pingou 0.4.21-2 - Remove CONTENTS INDEX and NAMESPACE from %%doc - Use the macro in Source0 * Tue Feb 24 2009 pingou 0.4.21-1 - initial package for Fedora