Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 0fbdbf2ba78b2b76eeb83d54b56035b9 > files > 2

restinio-0.6.17-1.mga9.src.rpm

%global debug_package %nil

Name:		restinio
Summary:	RESTinio is a header-only C++14 library that gives you an embedded HTTP/Websocket server
Version:	0.6.17
Release:	%mkrel 1
License:	BSD
Group:		Development/C++
Url:		https://github.com/Stiffstream/restinio
Source0:	https://github.com/Stiffstream/restinio/releases/download/v.%{version}/restinio-%{version}.tar.bz2
BuildRequires:	cmake
BuildRequires:  doxygen
BuildRequires:	asio-devel
BuildRequires:	boost-devel
BuildRequires:	fmt-devel
BuildRequires:	http-parser-devel
BuildRequires:	openssl-devel
BuildRequires:	pcre2-devel
Provides:	restinio-devel = %{version}-%{release}
Requires:	asio-devel
Requires:	fmt-devel
Requires:	http-parser-devel
Requires:	pcre2-devel
Requires:	zlib-devel

%description
RESTinio is a header-only C++14 library that gives you an embedded HTTP/Websocket server. It
is based on standalone version of ASIO and targeted primarily for asynchronous processing of
HTTP-requests. Since v.0.4.1 Boost::ASIO (1.66 or higher) is also supported.

%prep
%autosetup -p1

%build
%global _vpath_srcdir dev
%cmake \
    -DRESTINIO_TEST:BOOL=OFF \
    -DRESTINIO_SAMPLE:BOOL=OFF \
    -DRESTINIO_BENCH:BOOL=OFF \
    -DRESTINIO_FIND_DEPS:BOOL=ON \
    -DRESTINIO_USE_EXTERNAL_HTTP_PARSER:BOOL=ON \
    -DRESTINIO_ALLOW_SOBJECTIZER:BOOL=OFF
%cmake_build

pushd dev
   doxygen -u
   doxygen
popd

%install
%cmake_install

%clean
echo "Don't clean"

%files
%license LICENSE*
%doc README.md
%doc dev/doc/html
%{_includedir}/restinio/
%{_libdir}/cmake/restinio/


%changelog
* Sat Jan 21 2023 wally <wally> 0.6.17-1.mga9
+ Revision: 1934665
- new version 0.6.17

* Thu Jul 28 2022 wally <wally> 0.6.16-1.mga9
+ Revision: 1872709
- new version 0.6.16

* Thu Mar 24 2022 umeabot <umeabot> 0.6.12-2.mga9
+ Revision: 1825474
- Mageia 9 Mass Rebuild

* Thu Dec 24 2020 wally <wally> 0.6.12-1.mga8
+ Revision: 1663475
- new version 0.6.12

* Wed Jul 08 2020 kekepower <kekepower> 0.6.8-2.mga8
+ Revision: 1603165
- Rebuild for fmt 7.0

* Sun May 24 2020 wally <wally> 0.6.8-1.mga8
+ Revision: 1587405
- imported package restinio