## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 haven %global packver 2.5.4 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: %{packver} Release: %autorelease Summary: Import and Export 'SPSS', 'Stata' and 'SAS' Files License: MIT 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-cli >= 3.0.0, R-forcats >= 0.2.0, R-hms, R-lifecycle, R-methods, R-readr >= 0.1.0, R-rlang >= 0.4.0, R-tibble, R-tidyselect, R-vctrs >= 0.3.0 # Suggests: R-covr, R-crayon, R-fs, R-knitr, R-pillar >= 1.4.0, R-rmarkdown, R-testthat >= 3.0.0, R-utf8 # LinkingTo: R-cpp11 # Enhances: BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-cli >= 3.0.0 BuildRequires: R-forcats >= 0.2.0 BuildRequires: R-hms BuildRequires: R-lifecycle BuildRequires: R-methods BuildRequires: R-readr >= 0.1.0 BuildRequires: R-rlang >= 0.4.0 BuildRequires: R-tibble BuildRequires: R-tidyselect BuildRequires: R-vctrs >= 0.3.0 BuildRequires: R-cpp11-devel BuildRequires: R-crayon BuildRequires: R-fs BuildRequires: R-knitr BuildRequires: R-pillar >= 1.4.0 BuildRequires: R-rmarkdown BuildRequires: R-testthat >= 3.0.0 BuildRequires: R-utf8 %description Import foreign statistical formats into R via the embedded 'ReadStat' C library, . %prep %setup -q -c -n %{packname} # Don't need coverage; it's not packaged either. sed -i 's/covr, //g' %{packname}/DESCRIPTION %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 %ifnarch ppc64le %{_bindir}/R CMD check --ignore-vignettes %{packname} %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS.md %license %{rlibdir}/%{packname}/LICENSE %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %{rlibdir}/%{packname}/examples %dir %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/libs/%{packname}.so %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 2.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Apr 26 2024 Iñaki Úcar - 2.5.4-1 - Update to latest version * Thu Apr 25 2024 Iñaki Úcar - 2.5.2-8 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.5.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri May 12 2023 Iñaki Úcar - 2.5.2-4 - Ignore vignettes * Fri Apr 21 2023 Iñaki Úcar - 2.5.2-3 - R-maint-sig mass rebuild * Fri Mar 03 2023 Tom Callaway - 2.5.2-2 - ppc64le is being weird again * Fri Mar 3 2023 Tom Callaway - 2.5.2-1 - update to 2.5.2 * Wed Jan 19 2022 Fedora Release Engineering - 2.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 2.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Tom Callaway - 2.4.1-2 - Rebuilt for R 4.1.0 * Sun Apr 25 2021 Elliott Sales de Andrade - 2.4.1-1 - Update to latest version (#1949745) * Mon Jan 25 2021 Fedora Release Engineering - 2.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 20 2020 Elliott Sales de Andrade - 2.3.1-1 - Update to latest version - Fixes rhbz#1842613 * Sun Jun 7 2020 Tom Callaway - 2.3.0-2 - rebuild for R 4 * Sun May 24 2020 Elliott Sales de Andrade - 2.3.0-1 - Update to latest version * Tue Jan 28 2020 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 13 2019 Elliott Sales de Andrade - 2.2.0-1 - Update to latest version * Sun Aug 11 2019 Elliott Sales de Andrade - 2.1.1-3 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jul 17 2019 Elliott Sales de Andrade - 2.1.1-1 - Update to latest version * Fri May 17 2019 Elliott Sales de Andrade - 2.1.0-1 - initial package for Fedora ## END: Generated by rpmautospec