## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 AsioHeaders %global packver 1.22.1-2 %global rlibdir %{_datadir}/R/library Name: R-%{packname} Version: 1.22.1.2 Release: %autorelease Summary: Asio C++ Header Files License: BSL-1.0 URL: https://CRAN.R-project.org/package=%{packname} Source: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz # Here's the R view of the dependencies world: # Depends: # Imports: # Suggests: # LinkingTo: # Enhances: BuildArch: noarch BuildRequires: R-devel BuildRequires: tex(latex) %description 'Asio' is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach. It is also included in Boost but requires linking when used with Boost. Standalone it can be used header-only (provided a recent compiler). 'Asio' is written and maintained by Christopher M. Kohlhoff, and released under the 'Boost Software License', Version 1.0. %package devel Summary: Asio C++ Header Files Provides: bundled(asio) = 1.22.1 Requires: openssl-devel %if 0%{?fedora} >= 41 Requires: openssl-devel-engine %endif Recommends: boost-devel %description devel 'Asio' is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach. It is also included in Boost but requires linking when used with Boost. Standalone it can be used header-only (provided a recent compiler). 'Asio' is written and maintained by Christopher M. Kohlhoff, and released under the 'Boost Software License', Version 1.0. %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 %{_bindir}/R CMD check %{packname} %files devel %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS.Rd %license %{rlibdir}/%{packname}/COPYRIGHTS %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/help %{rlibdir}/%{packname}/include %changelog ## START: Generated by rpmautospec * Thu Sep 26 2024 Elliott Sales de Andrade - 1.22.1.2-1 - Update to latest version * Wed Jul 24 2024 Miroslav Suchý - 1.22.1.1-10 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 1.22.1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 1.22.1.1-8 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.22.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.22.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.22.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 1.22.1.1-4 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1.22.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 2 2022 Tom Callaway - 1.22.1.1-2 - R 4.2 * Tue Aug 2 2022 Tom Callaway - 1.22.1.1-1 - update to 1.22.1-1 * Wed Jul 20 2022 Fedora Release Engineering - 1.16.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.16.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.16.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 7 2021 Tom Callaway - 1.16.1.1-4 - rebuild for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 1.16.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.16.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 21 2020 Elliott Sales de Andrade - 1.16.1.1-1 - Update to latest version * Thu Jun 25 2020 José Abílio Matos - 1.12.2.1-3 - bump version to ensure upgrade path (due to a F32 rebuild) * Wed Jun 3 2020 Tom Callaway - 1.12.2.1-2 - rebuild for R 4 * Sat Mar 14 2020 Elliott Sales de Andrade - 1.12.2.1-1 - Update to latest version * Tue Jan 28 2020 Fedora Release Engineering - 1.12.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Sep 11 2019 Elliott Sales de Andrade - 1.12.1.1-1 - initial package for Fedora ## END: Generated by rpmautospec