## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 8; 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} Name: asio Version: 1.30.2 Release: %autorelease Summary: A cross-platform C++ library for network programming License: BSL-1.0 URL: https://think-async.com Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildRequires: autoconf BuildRequires: automake 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 The asio package contains a cross-platform C++ library for network programming that provides developers with a consistent asynchronous I/O model using a modern C++ approach. %package devel Summary: Header files for asio # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_header_only_libraries Provides: %{name}-static = %{version}-%{release} 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. The asio package contains a cross-platform C++ library for network programming that provides developers with a consistent asynchronous I/O model using a modern C++ approach. %package doc Summary: Documentation for asio BuildArch: noarch %description doc Detailed documentation of the asio library. The asio package contains a cross-platform C++ library for network programming that provides developers with a consistent asynchronous I/O model using a modern C++ approach. %prep %autosetup %build autoreconf --install %configure %make_build %install %make_install %files devel %license LICENSE_1_0.txt %{_includedir}/asio/ %{_includedir}/asio.hpp %{_libdir}/pkgconfig/asio.pc %files doc %doc doc/* %changelog ## START: Generated by rpmautospec * Wed Oct 23 2024 Benjamin A. Beasley - 1.30.2-8 - Add virtual Provide for asio-static * Thu Oct 03 2024 Julian Sikorski - 1.30.2-5 - Split documentation to a separate subpackage * Tue Jul 30 2024 Michal Schorm - 1.30.2-4 - Update %%devel package Recommends to Requires * Mon Jul 22 2024 Michal Schorm - 1.30.2-3 - [Fix for Fedora Change] - remove usage of OpenSSL Engine * Wed Jul 17 2024 Fedora Release Engineering - 1.30.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Apr 16 2024 Julian Sikorski - 1.30.2-1 - Update to 1.30.2 * 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 * Wed Aug 02 2017 Fedora Release Engineering - 1.10.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.10.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 03 2017 Jonathan Wakely - 1.10.8-4 - Rebuilt for Boost 1.64 * Fri Feb 10 2017 Fedora Release Engineering - 1.10.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jan 27 2017 Jonathan Wakely - 1.10.8-2 - Rebuilt for Boost 1.63 * Sun Dec 11 2016 Fabio Alessandro Locati - 1.10.8-1 - Update to 1.10.8 * Tue Sep 13 2016 Fabio Alessandro Locati - 1.10.7-1 - Update to 1.10.7 * Wed Feb 03 2016 Fedora Release Engineering - 1.10.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 14 2016 Jonathan Wakely - 1.10.6-6 - Rebuilt for Boost 1.60 * Sat Jan 02 2016 Fabio Alessandro Locati - 1.10.6-5 - Remove useless pieces of the spec - Conform to more recent SPEC style - Fix date in changelog that was giving warnings * Sat Jan 02 2016 Fabio Alessandro Locati - 1.10.6-4 - Move from define to global * Thu Aug 27 2015 Jonathan Wakely - 1.10.6-3 - Rebuilt for Boost 1.59 * Wed Jul 29 2015 Fedora Release Engineering - 1.10.6-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 * Sun Jul 26 2015 Fabio Alessandro Locati -1.10.6-1 - Update to 1.10.6 version * Wed Jul 22 2015 David Tardon - 1.10.4-5 - rebuild for Boost 1.58 * Wed Jun 17 2015 Fedora Release Engineering - 1.10.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jan 26 2015 Petr Machata - 1.10.4-3 - Rebuild for boost 1.57.0 * Sat Oct 11 2014 Fabio Alessandro Locati - 1.10.4-2 - Forgot to update the commit id * Sat Oct 11 2014 Fabio Alessandro Locati - 1.10.4-1 - Update to 1.10.4 version * Sun Aug 10 2014 Fabio Alessandro Locati - 1.10.3-1 - Update to 1.10.3 version * Sat Jun 07 2014 Fedora Release Engineering - 1.4.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri May 23 2014 Petr Machata - 1.4.8-8 - Rebuild for boost 1.55.0 * Sat Aug 03 2013 Fedora Release Engineering - 1.4.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 30 2013 Petr Machata - 1.4.8-6 - Rebuild for boost 1.54.0 * Sun Feb 10 2013 Denis Arnaud - 1.4.8-5 - Rebuild for Boost-1.53.0 * Sat Feb 09 2013 Denis Arnaud - 1.4.8-4 - Rebuild for Boost-1.53.0 * Wed Jul 18 2012 Fedora Release Engineering - 1.4.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 1.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Aug 3 2011 Peter Robinson - 1.4.8-1 - Update to 1.4.8 bugfix release * Mon Feb 07 2011 Fedora Release Engineering - 1.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jun 18 2010 Dan HorĂ¡k 1.4.1-3 - fix FTBFS #538893 and #599857 (patch by Petr Machata) * Mon Jul 27 2009 Marc Maurer 1.4.1-2 - The tarball is now a gzip archive * Mon Jul 27 2009 Marc Maurer 1.4.1-1 - New upstream release * Fri Jul 24 2009 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 25 2008 Marc Maurer 1.2.0-1 - New upstream release * Sun Apr 06 2008 Marc Maurer 1.0.0-2 - Upstream removed the executable permissions on the docs * Sun Apr 06 2008 Marc Maurer 1.0.0-1 - New upstream release * Wed Feb 20 2008 Fedora Release Engineering - 0.3.8-8 - Autorebuild for GCC 4.3 * Sun Dec 02 2007 Marc Maurer 0.3.8-7 - Rebuild to include a tarball with original timestamps * Thu Nov 29 2007 Marc Maurer 0.3.8-6 - Use release %%{?dist} tag - Move BuildRequires to the main package - Preserve timestamps - Remove spurious executable permissions from documentation * Wed Nov 28 2007 Marc Maurer 0.3.8-5 - Don't require a nonexisting %%{name} package for -devel - Add openssl-devel and boost-devel to the buildRequires list - Remove unused post/postun sections for now - Fix -devel description - Use %%{version} in source URL - Add COPYING to the doc section - Preserve timestamps of installed files - Use %%defattr(-,root,root,-) - Include developer documentation - Move the make call to the %%check section * Sun Nov 25 2007 Marc Maurer 0.3.8-4 - Don't use BA noarch * Fri Nov 23 2007 Marc Maurer 0.3.8-3 - Move the license file to the -devel package, so no main package will be created for now - Added BuildArch: noarch * Fri Nov 23 2007 Marc Maurer 0.3.8-2 - Make BuildRoot fedora packaging standard compliant - Disable building of debuginfo packages - Include full source URL * Wed Nov 21 2007 Marc Maurer 0.3.8-1 - Initial spec file ## END: Generated by rpmautospec