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

Группа :: Система/Библиотеки
Пакет: libmcl

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

%define rname mcl

Name: lib%rname
Version: 0.1.12
Release: alt1

Summary: A collection of C++20 utilities which is common to a number of merry's projects.
License: MIT
Group: System/Libraries

Url: https://github.com/merryhime/%rname
Packager: Nazarov Denis <nenderus at altlinux.org>

ExclusiveArch: x86_64 aarch64

# https://github.com/merryhime/%rname/archive/refs/tags/%version/%rname-%version.tar.gz

Source: %rname-%version.tar

Patch0: %rname-soname-alt.patch

BuildRequires: catch2-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libfmt-devel

%description
A collection of C++20 utilities which is common to a number of merry's projects.

%package devel
Summary: Header files for %name
Group: Development/C

%description devel
Header files for %name

%prep
%setup -n %rname-%version
%patch0 -p1

%build
%cmake \
-DCMAKE_INSTALL_LIBDIR:PATH=%_libdir \
-DBUILD_SHARED_LIBS:BOOL=TRUE
%cmake_build

%install
%cmake_install

%files
%doc LICENSE README
%_libdir/%name.so.*

%files devel
%_libdir/cmake/%rname
%_libdir/%name.so
%_includedir/%rname

%changelog

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

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