%global packname iterators %global rlibdir %{_datadir}/R/library Name: R-%{packname} Version: 1.0.12 Release: 1%{?dist} Summary: Provides Iterator Construct License: ASL 2.0 URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz # Here's the R view of the dependencies world: # Depends: R-utils # Imports: # Suggests: R-RUnit, R-foreach # LinkingTo: # Enhances: BuildArch: noarch Requires: R-core Requires: R-utils Suggests: R-RUnit Suggests: R-foreach BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-utils BuildRequires: R-RUnit BuildRequires: R-foreach %description Support for iterators, which allow a programmer to traverse through all the elements of a vector, list, or other collection of data. %prep %setup -q -c -n %{packname} # Fix permissions. chmod +x %{packname}/inst/unitTests/runTestSuite.sh %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}/unitTests %changelog * Sat Aug 17 2019 Elliott Sales de Andrade - 1.0.12-1 - Update to latest version * Thu Jan 31 2019 Fedora Release Engineering - 1.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Jul 22 2018 Elliott Sales de Andrade - 1.0.10-1 - Update to latest version * Thu Jul 12 2018 Fedora Release Engineering - 1.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Mar 17 2018 Elliott Sales de Andrade - 1.0.9-1 - initial package for Fedora