2018-03-19 21:41:12 +00:00
|
|
|
%global packname iterators
|
|
|
|
%global rlibdir %{_datadir}/R/library
|
|
|
|
|
|
|
|
Name: R-%{packname}
|
2019-08-17 08:23:24 +00:00
|
|
|
Version: 1.0.12
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Provides Iterator Construct
|
2018-03-19 21:41:12 +00:00
|
|
|
|
|
|
|
License: ASL 2.0
|
2019-01-23 00:55:22 +00:00
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
2018-03-19 21:41:12 +00:00
|
|
|
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:
|
2018-07-22 20:42:34 +00:00
|
|
|
# Suggests: R-RUnit, R-foreach
|
2018-03-19 21:41:12 +00:00
|
|
|
# LinkingTo:
|
|
|
|
# Enhances:
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2018-07-22 20:42:34 +00:00
|
|
|
BuildRequires: R-devel
|
|
|
|
BuildRequires: tex(latex)
|
|
|
|
BuildRequires: R-utils
|
2018-03-19 21:41:12 +00:00
|
|
|
BuildRequires: R-RUnit
|
2018-07-22 20:42:34 +00:00
|
|
|
BuildRequires: R-foreach
|
2018-03-19 21:41:12 +00:00
|
|
|
|
|
|
|
%description
|
2019-08-17 08:23:24 +00:00
|
|
|
Support for iterators, which allow a programmer to traverse through all the
|
|
|
|
elements of a vector, list, or other collection of data.
|
2018-03-19 21:41:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
2018-03-24 00:07:07 +00:00
|
|
|
# Fix permissions.
|
|
|
|
chmod +x %{packname}/inst/unitTests/runTestSuite.sh
|
|
|
|
|
2018-03-19 21:41:12 +00:00
|
|
|
|
|
|
|
%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
|
2019-08-17 08:23:24 +00:00
|
|
|
%doc %{rlibdir}/%{packname}/NEWS
|
2018-03-19 21:41:12 +00:00
|
|
|
%{rlibdir}/%{packname}/INDEX
|
|
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
|
|
%{rlibdir}/%{packname}/Meta
|
|
|
|
%{rlibdir}/%{packname}/R
|
|
|
|
%{rlibdir}/%{packname}/help
|
|
|
|
%{rlibdir}/%{packname}/examples
|
|
|
|
%{rlibdir}/%{packname}/unitTests
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-08-17 08:23:24 +00:00
|
|
|
* Sat Aug 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.12-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-08-12 05:00:53 +00:00
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.10-4
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
2019-07-24 16:38:25 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 12:16:56 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-22 20:42:34 +00:00
|
|
|
* Sun Jul 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.10-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2018-07-12 19:29:41 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-19 21:41:12 +00:00
|
|
|
* Sat Mar 17 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.9-1
|
|
|
|
- initial package for Fedora
|