Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37850603
en ru br
Репозитории ALT

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

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%global appname cmakerc

Name: cmrc
Version: 2.0.1
Release: alt1

Summary: Standalone CMake-Based C++ Resource Compiler

License: MIT
Group: Development/C++
Url: https://github.com/vector-of-bool/cmrc

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url : %url/archive/%version/%name-%version.tar.gz

Source: %name-%version.tar
BuildArch: noarch

# https://github.com/vector-of-bool/cmrc/pull/40

Patch100: %name-installation.patch

BuildRequires(pre): rpm-macros-cmake
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: ctest

%description
CMakeRC is a resource compiler provided in a single CMake script that can
easily be included in another project.

For the purpose of this project, a resource compiler is a tool that will
compile arbitrary data into a program. The program can then read this data
from without needing to store that data on disk external to the program.}

%prep
%setup
%patch100 -p1

%build
%cmake -G Ninja \
   -DCMAKE_BUILD_TYPE=Release \
   -DBUILD_TESTS:BOOL=ON
%cmake_build

%check
%ctest

%install
%cmake_install

%files
%doc README.md
%doc LICENSE.txt
%_datadir/cmake/%appname/

%changelog

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

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