Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37842731
en ru br
Репозитории ALT
S:3.5.0-alt1.git00e9cf5c
www.altlinux.org/Changes

Группа :: Разработка/C++
Пакет: optional-lite

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin