From 31f69e3512d0e60e016b272eb1274402c37977fb Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 14 Dec 2024 21:07:44 +0300 Subject: [PATCH] import asio-1.30.2-4.el10 --- .asio.metadata | 2 +- .gitignore | 2 +- SPECS/asio.spec | 150 ++++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 129 insertions(+), 25 deletions(-) diff --git a/.asio.metadata b/.asio.metadata index 66ccc2d..3af97db 100644 --- a/.asio.metadata +++ b/.asio.metadata @@ -1 +1 @@ -823ce7ab96e3b8e6457a96263a9c865664971e7e SOURCES/asio-28d9b8d.tar.gz +d20b85f55489698db4d2305970ddc00c09eb5cb0 SOURCES/asio-1.30.2.tar.bz2 diff --git a/.gitignore b/.gitignore index d37f89a..f718430 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/asio-28d9b8d.tar.gz +SOURCES/asio-1.30.2.tar.bz2 diff --git a/SPECS/asio.spec b/SPECS/asio.spec index 89488c0..cba3367 100644 --- a/SPECS/asio.spec +++ b/SPECS/asio.spec @@ -1,26 +1,35 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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 + # asio only ships headers, so no debuginfo package is needed %global debug_package %{nil} -%global commit 28d9b8d6df708024af5227c551673fdb2519f5bf -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - Name: asio -Version: 1.10.8 -Release: 7%{?dist} +Version: 1.30.2 +Release: %autorelease Summary: A cross-platform C++ library for network programming -Group: System Environment/Libraries -License: Boost +License: BSL-1.0 URL: https://think-async.com -Source0: https://github.com/chriskohlhoff/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz - -%if 0%{?rhel} == 5 -%endif +Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildRequires: autoconf BuildRequires: automake -BuildRequires: openssl-devel BuildRequires: boost-devel +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: openssl-devel +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 11 +BuildRequires: openssl-devel-engine +%endif BuildRequires: perl-generators %description @@ -30,9 +39,11 @@ modern C++ approach. %package devel Summary: Header files for asio -Group: Development/Libraries -Requires: openssl-devel -Requires: boost-devel +Requires: openssl-devel +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 11 +Requires: openssl-devel-engine +%endif +Requires: boost-devel %description devel Header files you can use to develop applications with asio. @@ -42,25 +53,116 @@ that provides developers with a consistent asynchronous I/O model using a modern C++ approach. %prep -%setup -qn %{name}-%{commit}/%{name} +%autosetup %build -./autogen.sh +autoreconf --install %configure -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install %files devel -%{!?_licensedir:%global license %doc} -%doc src/doc/* +%doc doc/* %license LICENSE_1_0.txt -%dir %{_includedir}/asio -%{_includedir}/asio/* +%{_includedir}/asio/ %{_includedir}/asio.hpp +%{_libdir}/pkgconfig/asio.pc %changelog +* Sat Dec 14 2024 Arkady L. Shane - 1.30.2-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Oct 29 2024 Troy Dawson - 1.30.2-4 +- Bump release for October 2024 mass rebuild: + +* Sat Aug 10 2024 Michal Schorm - 1.30.2-3 +- Update %%devel package Recommends to Requires + +* Tue Jul 23 2024 Michal Schorm - 1.30.2-2 +- Remove usage of OpenSSL Engine + +* Tue Jul 23 2024 Julian Sikorski - 1.30.2-1 +- Update to 1.30.2 + +* Mon Jun 24 2024 Troy Dawson - 1.28.1-5 +- Bump release for June 2024 mass rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.28.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 1.28.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jul 30 2023 Julian Sikorski - 1.28.1-2 +- Upload updated source + +* Sun Jul 30 2023 Julian Sikorski - 1.28.1-1 +- Update to 1.28.1 + +* Wed Jul 19 2023 Fedora Release Engineering - 1.28.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue May 30 2023 Lukas Javorsky - 1.28.0-2 +- migrated to SPDX license + +* Tue May 16 2023 Julian Sikorski - 1.28.0-1 +- Update to 1.28.0 and cleanup the .spec +- Update to 1.28.0 +- Sort BuildRequires alphabetically +- Switch to %%%%autosetup + +* Fri Mar 10 2023 Julian Sikorski - 1.26.0-1 +- Update to 1.26.0 +- Switch to bz2 sources + +* Wed Jan 18 2023 Fedora Release Engineering - 1.24.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Sep 03 2022 Julian Sikorski - 1.24.0-2 +- Rebuild due to disappearing side tag + +* Sat Aug 13 2022 Julian Sikorski - 1.24.0-1 +- Update to 1.24.0 + +* Sun Jul 31 2022 Julian Sikorski - 1.22.2-1 +- Update to 1.22.2 + +* Fri Jul 08 2022 Julian Sikorski - 1.22.1-1 +- Update to 1.22.1 + +* Wed Jul 20 2022 Fedora Release Engineering - 1.16.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 1.16.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 1.16.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.16.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 1.16.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jul 04 2020 Fabio Alessandro Locati - 1.16.1-1 +* Bump to 1.16.1 + +* Tue Jan 28 2020 Fedora Release Engineering - 1.10.8-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 1.10.8-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 1.10.8-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 1.10.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 1.10.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild @@ -219,3 +321,5 @@ make install DESTDIR=%{buildroot} * Wed Nov 21 2007 Marc Maurer 0.3.8-1 - Initial spec file + +## END: Generated by rpmautospec