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

Группа :: Система/Библиотеки
Пакет: libsignal-protocol-c

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

%def_enable check

Name: libsignal-protocol-c
Version: 2.3.3
Release: alt1.1

Summary: Signal Protocol C library
Group: System/Libraries
License: GPL-3.0
Url: https://github.com/signalapp/libsignal-protocol-c

Vcs: https://github.com/signalapp/libsignal-protocol-c.git
Source: %url/archive/v%version/%name-%version.tar.gz

BuildRequires(pre): rpm-macros-cmake
BuildRequires: cmake gcc-c++ libssl-devel
%{?_enable_check:BuildRequires: libcheck-devel ctest}

%description
This is a ratcheting forward secrecy protocol that works in synchronous
and asynchronous messaging environments.

%package devel
Summary: Development files for %name
Group: Development/C++
Requires: %name = %EVR

%description devel
Development files for %name library.

%prep
%setup -n %name-%version

%build
%cmake -DBUILD_SHARED_LIBS=ON \
%{?_enable_check:-DBUILD_TESTING=1}
%nil
%cmake_build

%install
%cmake_install

%check
export LD_LIBRARY_PATH=%buildroot%_libdir
pushd %_cmake__builddir/tests
ctest -V
popd

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

%files devel
%_includedir/signal
%_libdir/%name.so
%_pkgconfigdir/%name.pc

%changelog

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

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