%global packname nanotime %global packver 0.3.6 %global rlibdir %{_libdir}/R/library %global __suggests_exclude ^R\\((xts)\\) # Not yet available. %global with_suggests 0 Name: R-%{packname} Version: %{packver} Release: 8%{?dist} Summary: Nanosecond-Resolution Time Support for R License: GPLv2+ 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: # Imports: R-methods, R-bit64, R-RcppCCTZ >= 0.2.9, R-zoo # Suggests: R-tinytest, R-data.table, R-xts # LinkingTo: R-Rcpp, R-RcppCCTZ, R-RcppDate # Enhances: BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-methods BuildRequires: R-bit64 BuildRequires: R-RcppCCTZ-devel >= 0.2.9 BuildRequires: R-zoo BuildRequires: R-Rcpp-devel BuildRequires: R-RcppDate-devel BuildRequires: R-tinytest BuildRequires: R-data.table %if %{with_suggests} BuildRequires: R-xts %endif %description Full 64-bit resolution date and time functionality with nanosecond granularity is provided, with easy transition to and from the standard 'POSIXct' type. Three additional classes offer interval, period and duration functionality for nanosecond-resolution timestamps. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: R-Rcpp-devel Requires: R-RcppCCTZ-devel Requires: R-RcppDate-devel %description devel Development files for %{name}. %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 %if %{with_suggests} %{_bindir}/R CMD check %{packname} %else _R_CHECK_FORCE_SUGGESTS_=0 %{_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.Rd %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %{rlibdir}/%{packname}/demo %{rlibdir}/%{packname}/tinytest %dir %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/libs/%{packname}.so %files devel %{rlibdir}/%{packname}/include %changelog * Wed Jul 17 2024 Fedora Release Engineering - 0.3.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 0.3.6-7 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.3.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.3.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.3.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 0.3.6-3 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 0.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Sep 3 2022 Tom Callaway - 0.3.6-1 - update to 0.3.6 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 0.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Tom Callaway - 0.3.2-3 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 0.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Sep 05 2020 Elliott Sales de Andrade - 0.3.2-1 - Update to latest version (#1875711) * Fri Aug 14 2020 Elliott Sales de Andrade - 0.3.1-1 - Update to latest version (#1866958) * Mon Jul 27 2020 Fedora Release Engineering - 0.2.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 7 2020 Tom Callaway - 0.2.4-5 - rebuild for R 4 * Tue Jan 28 2020 Fedora Release Engineering - 0.2.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Aug 11 2019 Elliott Sales de Andrade - 0.2.4-3 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun May 26 2019 Elliott Sales de Andrade - 0.2.4-1 - Update to latest version * Thu Jan 31 2019 Fedora Release Engineering - 0.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 22 2019 Elliott Sales de Andrade - 0.2.3-1 - Update to latest version * Sun Jul 22 2018 Elliott Sales de Andrade - 0.2.2-1 - Update to latest version * Fri Jul 13 2018 Elliott Sales de Andrade - 0.2.1-1 - initial package for Fedora