Fedora KOJI is configured in a way that ignores weak dependencies. The 'Recommends:' in this packages are meant to allow potential outside consumer to not be blocked by them in special cases. However the main consumer - Fedora KOJI - won't work with them. Fixing so they work well for their main (and the only intended?) consumer - Fedora KOJI.
65 lines
1.5 KiB
RPMSpec
65 lines
1.5 KiB
RPMSpec
# 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
|
|
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.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
autoreconf --install
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files devel
|
|
%doc doc/*
|
|
%license LICENSE_1_0.txt
|
|
%{_includedir}/asio/
|
|
%{_includedir}/asio.hpp
|
|
%{_libdir}/pkgconfig/asio.pc
|
|
|
|
%changelog
|
|
%autochangelog
|