Files
crow/crow.spec

71 lines
2.1 KiB
RPMSpec

#
# spec file for package crow
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sourceName Crow
%define sourceVersion 1.0-5
Name: crow
Version: 1.0+5
Release: 0
Summary: C++ framework for HTTP or Websocket web services
BuildArch: noarch
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://github.com/CrowCpp/Crow
Source: %{sourceName}-%{sourceVersion}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: boost-devel
BuildRequires: libboost_system-devel
BuildRequires: libboost_date_time-devel
Recommends: opennssl
Recommends: libz1
%description
Crow is a C++ framework for creating HTTP or Websocket web services.
It uses routing similar to Python's Flask, has type-safe handlers, a
processing speed comparable to Pistache and Restinio, and comes with
a Mustache-based templating library. Crow is header-only.
%package devel
Summary: Development files for Crow
%description devel
Crow is a C++ framework for creating HTTP or Websocket web services.
It uses routing similar to Python's Flask, has type-safe handlers, a
processing speed comparable to Pistache and Restinio, and comes with
a Mustache-based templating library. Crow is header-only.
%prep
%autosetup -n %{sourceName}-%{sourceVersion}
%build
%cmake -DCROW_BUILD_EXAMPLES=OFF -DCROW_BUILD_TESTS=OFF
%install
%cmake_install
%files devel
%license LICENSE
%doc README.md
%{_includedir}/%{name}
%{_includedir}/%{name}.h
/usr/lib/cmake
/usr/lib/cmake/%{sourceName}
%changelog