162 lines
5.3 KiB
RPMSpec
162 lines
5.3 KiB
RPMSpec
%bcond_with bootstrap
|
|
|
|
%global packname iterators
|
|
%global packver 1.0.14
|
|
%global rlibdir %{_datadir}/R/library
|
|
|
|
Name: R-%{packname}
|
|
Version: %{packver}
|
|
Release: 9.1.riscv64%{?dist}
|
|
Summary: Provides Iterator Construct
|
|
|
|
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
|
|
License: Apache-2.0
|
|
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: R-utils
|
|
# Imports:
|
|
# Suggests: R-RUnit, R-foreach
|
|
# LinkingTo:
|
|
# Enhances:
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: R-devel
|
|
BuildRequires: tex(latex)
|
|
BuildRequires: R-utils
|
|
%if %{without bootstrap}
|
|
BuildRequires: R-RUnit
|
|
BuildRequires: R-foreach
|
|
%endif
|
|
|
|
%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
|
|
%if %{without bootstrap}
|
|
%{_bindir}/R CMD check %{packname}
|
|
%endif
|
|
|
|
|
|
%files
|
|
%dir %{rlibdir}/%{packname}
|
|
%doc %{rlibdir}/%{packname}/doc
|
|
%doc %{rlibdir}/%{packname}/html
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
|
%doc %{rlibdir}/%{packname}/NEWS.md
|
|
%{rlibdir}/%{packname}/INDEX
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
%{rlibdir}/%{packname}/Meta
|
|
%{rlibdir}/%{packname}/R
|
|
%{rlibdir}/%{packname}/help
|
|
%{rlibdir}/%{packname}/examples
|
|
%{rlibdir}/%{packname}/unitTests
|
|
|
|
|
|
%changelog
|
|
* Mon Aug 12 2024 Jason Montleon <jmontleo@redhat.com> - 1.0.14-9.1.riscv64
|
|
- Turn off bootstrap (riscv64)
|
|
|
|
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 1.0.14-9
|
|
- convert license to SPDX
|
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.0.14-7
|
|
- R-maint-sig mass rebuild
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.0.14-3
|
|
- R-maint-sig mass rebuild
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Fri Aug 19 2022 Tom Callaway <spot@fedoraproject.org> - 1.0.14-1
|
|
- update to 1.0.14
|
|
- rebuild for R 4.2.1
|
|
- bootstrap on
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 1.0.13-4
|
|
- bootstrap off
|
|
|
|
* Mon Jun 14 2021 Tom Callaway <spot@fedoraproject.org> - 1.0.13-3
|
|
- bootstrap
|
|
- Rebuilt for R 4.1.0
|
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Thu Oct 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.13-1
|
|
- Update to latest version (#1888534)
|
|
- Re-enable check
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Thu Jun 4 2020 Tom Callaway <spot@fedoraproject.org> - 1.0.12-3
|
|
- conditionalize check, break loop with foreach
|
|
- rebuild for R 4
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Sat Aug 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.12-1
|
|
- Update to latest version
|
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.10-4
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Sun Jul 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.10-1
|
|
- Update to latest version
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Sat Mar 17 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.9-1
|
|
- initial package for Fedora
|