asio/asio.spec

61 lines
1.5 KiB
RPMSpec

%define gitver %(echo %version | tr . -)
Name: asio
Version: 1.29.0
Release: 1mamba
Summary: Cross-platform C++ library for ASynchronous network I/O
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://think-async.com/Asio/
Source: https://github.com/chriskohlhoff/asio.git/asio-%{gitver}/asio-%{version}.tar.bz2
License: Boost Software License
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description
Cross-platform C++ library for ASynchronous network I/O.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Cross-platform C++ library for ASynchronous network I/O
Requires: pkg-config
%description -n lib%{name}-devel
Cross-platform C++ library for ASynchronous network I/O.
This package contains libraries and header files for developing applications that use %{name}.
#% debug_package
%prep
%setup -q
cd asio
./autogen.sh
%build
cd asio
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C asio
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/asio.hpp
%dir %{_includedir}/asio
%{_includedir}/asio/*
%{_libdir}/pkgconfig/asio.pc
%doc asio/COPYING
%changelog
* Fri Mar 15 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.29.0-1mamba
- update to 1.29.0
* Fri Nov 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.1-1mamba
- package created using the webbuild interface