Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37842535
en ru br
ALT Linux repos
S:3.5.0-alt1.git00e9cf5c

Group :: Development/C++
RPM: optional-lite

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: optional-lite
Version: 3.5.0
Release: alt1.git00e9cf5c

Summary: optional lite: A single-file header-only version of a C++17-like optional
License: BSL-1.0
Group: Development/C++
Url: https://github.com/martinmoene/optional-lite.git

Source: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires(pre): rpm-macros-cmake cmake
BuildRequires: gcc-c++ libstdc++10-devel libcxx

%description
A single-file header-only version of a C++17-like optional,
a nullable object for C++98, C++11 and later

%prep
%setup
%patch -p1

%build
%cmake -DCMAKE_BUILD_TYPE=Release

%cmake_build

%install
%cmake_install

%files
%_includedir/*
%_libdir/cmake/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin