|
|
|
@ -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 <tigro@msvsphere-os.ru> - 1.30.2-4
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.30.2-4
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
|
|
* Sat Aug 10 2024 Michal Schorm <mschorm@redhat.com> - 1.30.2-3
|
|
|
|
|
- Update %%devel package Recommends to Requires
|
|
|
|
|
|
|
|
|
|
* Tue Jul 23 2024 Michal Schorm <mschorm@redhat.com> - 1.30.2-2
|
|
|
|
|
- Remove usage of OpenSSL Engine
|
|
|
|
|
|
|
|
|
|
* Tue Jul 23 2024 Julian Sikorski <belegdol@fedoraproject.org> - 1.30.2-1
|
|
|
|
|
- Update to 1.30.2
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.28.1-5
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.28.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.28.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jul 30 2023 Julian Sikorski <belegdol@fedoraproject.org> - 1.28.1-2
|
|
|
|
|
- Upload updated source
|
|
|
|
|
|
|
|
|
|
* Sun Jul 30 2023 Julian Sikorski <belegdol@fedoraproject.org> - 1.28.1-1
|
|
|
|
|
- Update to 1.28.1
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.28.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 30 2023 Lukas Javorsky <ljavorsk@redhat.com> - 1.28.0-2
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Tue May 16 2023 Julian Sikorski <belegdol@fedoraproject.org> - 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 <belegdol@fedoraproject.org> - 1.26.0-1
|
|
|
|
|
- Update to 1.26.0
|
|
|
|
|
- Switch to bz2 sources
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.24.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Sep 03 2022 Julian Sikorski <belegdol@fedoraproject.org> - 1.24.0-2
|
|
|
|
|
- Rebuild due to disappearing side tag
|
|
|
|
|
|
|
|
|
|
* Sat Aug 13 2022 Julian Sikorski <belegdol@fedoraproject.org> - 1.24.0-1
|
|
|
|
|
- Update to 1.24.0
|
|
|
|
|
|
|
|
|
|
* Sun Jul 31 2022 Julian Sikorski <belegdol@fedoraproject.org> - 1.22.2-1
|
|
|
|
|
- Update to 1.22.2
|
|
|
|
|
|
|
|
|
|
* Fri Jul 08 2022 Julian Sikorski <belegdol@fedoraproject.org> - 1.22.1-1
|
|
|
|
|
- Update to 1.22.1
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 04 2020 Fabio Alessandro Locati <me@fale.io> - 1.16.1-1
|
|
|
|
|
* Bump to 1.16.1
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.8-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.8-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.8-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.8-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 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 <uwog@uwog.net> 0.3.8-1
|
|
|
|
|
- Initial spec file
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|