## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global packname units %global packvers 0.8 %global packrel 5 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: %{packvers}.%{packrel} Release: %autorelease Summary: Measurement Units for R Vectors License: GPL-2.0-or-later URL: https://cran.r-project.org/package=%{packname} Source0: %{url}&version=%{packvers}-%{packrel}#/%{packname}_%{packvers}-%{packrel}.tar.gz BuildRequires: R-devel >= 3.0.0 BuildRequires: udunits2-devel BuildRequires: R-Rcpp-devel >= 0.12.10 # BuildRequires: R-NISTunits, R-measurements # BuildRequires: R-magrittr, R-pillar >= 1.3.0, R-dplyr >= 1.0.0, R-vctrs >= 0.3.1 # BuildRequires: R-ggplot2 > 3.2.1, R-vdiffr BuildRequires: R-testthat >= 3.0.0 # BuildRequires: R-knitr, R-rmarkdown Recommends: R-xml2 Obsoletes: R-units-devel < 0.6.3 %description Support for measurement units in R vectors, matrices and arrays: automatic propagation, conversion, derivation and simplification of units; raising errors in case of unit incompatibility. Compatible with the POSIXct, Date and difftime classes. Uses the UNIDATA udunits library and unit database for unit compatibility checking and conversion. Documentation about 'units' is provided in the paper by Pebesma, Mailund & Hiebert (2016, ), included in this package as a vignette; see 'citation("units")' for details. %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 export LANG=C.UTF-8 export _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check --no-manual --ignore-vignettes %{packname} %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %doc %{rlibdir}/%{packname}/CITATION %doc %{rlibdir}/%{packname}/NEWS.md %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/DESCRIPTION %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %{rlibdir}/%{packname}/demo %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/share %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 0.8.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 0.8.5-4 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.8.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.8.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Dec 06 2023 Iñaki Úcar - 0.8.5-1 - Update to 0.8-5 * Wed Sep 13 2023 Iñaki Úcar - 0.8.4-1 - Update to 0.8-4 * Wed Aug 16 2023 Iñaki Úcar - 0.8.3-1 - Update to 0.8-3 * Wed Jul 19 2023 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Apr 27 2023 Iñaki Úcar - 0.8.2-1 - Update to 0.8-2 * Fri Apr 21 2023 Iñaki Úcar - 0.8.1-4 - No check manual * Fri Apr 21 2023 Iñaki Úcar - 0.8.1-3 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Dec 10 2022 Iñaki Úcar - 0.8.1-1 - Update to 0.8-1 * Sat Sep 03 2022 Tom spot Callaway - 0.8.0-3 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Feb 05 2022 Iñaki Úcar - 0.8.0-1 - Update to 0.8-0 * Wed Jan 19 2022 Fedora Release Engineering - 0.7.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Tom spot Callaway - 0.7.2-1 - update to 0.7-2, rebuild for R 4.1.0 * Sat Feb 27 2021 Iñaki Úcar - 0.7.0-2 - fix year * Sat Feb 27 2021 Iñaki Úcar - 0.7.0-1 - Update to 0.7-0 * Mon Jan 25 2021 Fedora Release Engineering - 0.6.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.6.6-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.6.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 07 2020 Tom Callaway - 0.6.6-2 - rebuild for R 4 * Fri Mar 20 2020 Iñaki Úcar - 0.6.6-1 - Update to 0.6-6 * Thu Feb 06 2020 Iñaki Úcar - 0.6.5-3 - resubmitted due to s390x failure in Mass Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Jan 07 2020 Iñaki Úcar - 0.6.5-1 - update to 0.6-5 * Thu Aug 22 2019 Iñaki Úcar - 0.6.4-1 - update to 0.6-4 * Mon Aug 12 2019 Elliott Sales de Andrade - 0.6.3-4 - Exclude Suggests for unavailable packages. * Mon Aug 12 2019 Elliott Sales de Andrade - 0.6.3-3 - Remove explicit dependencies provided by automatic dependency generator. * Sun Aug 04 2019 Iñaki Úcar - 0.6.3-2 - add dropped -devel subpackage to Obsoletes * Wed Jul 31 2019 Iñaki Úcar - 0.6.3-1 - update to 0.6-3 * Wed Jul 24 2019 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Dec 05 2018 Iñaki Úcar - 0.6.2-1 - update to 0.6-2 * Sat Sep 22 2018 Iñaki Úcar - 0.6.1-1 - update to 0.6-1 * Wed Aug 15 2018 Iñaki Úcar - 0.6.0-2 - bump release to trigger a build * Tue Aug 14 2018 Iñaki Úcar - 0.6.0-1 - initial import (#1615816) ## END: Generated by rpmautospec