Группа :: Разработка/Прочее
Пакет: libolm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: libolm
Version: 3.2.6
Release: alt2
Summary: An implementation of the Double Ratchet cryptographic ratchet
Group: Development/Other
License: Apache v2.0
Url: https://gitlab.matrix.org/matrix-org/olm.git
Source: %name-%version.tar
Patch0: 0001-Fix-build-on-GCC13.patch
BuildRequires: cmake ctest gcc-c++
%description
An implementation of the Double Ratchet cryptographic ratchet described by
https://whispersystems.org/docs/specifications/doubleratchet/, written
in C and C++11 and exposed as a C API.
The specification of the Olm ratchet can be found in `<docs/olm.rst>`.
This library also includes an implementation of the Megolm cryptographic
ratchet, as specified in `<docs/megolm.rst>`.
%package devel
Summary: Development files for %name
Group: Development/Other
Requires: %name = %version-%release
%description devel
The %name-devel package contains C++ header files for developing
applications that use %name.
%prep
%setup
%patch0 -p1
%build
%cmake
%cmake_build
%install
%cmakeinstall_std
%check
%make_build test
%files
%doc README.md
%doc LICENSE
%_libdir/*.so.*
%files devel
%doc docs
%_libdir/*.so
%_includedir/olm
%_libdir/cmake/Olm
%_pkgconfigdir/olm.pc
%changelog
…
Полный changelog можно просмотреть здесь
Name: libolm
Version: 3.2.6
Release: alt2
Summary: An implementation of the Double Ratchet cryptographic ratchet
Group: Development/Other
License: Apache v2.0
Url: https://gitlab.matrix.org/matrix-org/olm.git
Source: %name-%version.tar
Patch0: 0001-Fix-build-on-GCC13.patch
BuildRequires: cmake ctest gcc-c++
%description
An implementation of the Double Ratchet cryptographic ratchet described by
https://whispersystems.org/docs/specifications/doubleratchet/, written
in C and C++11 and exposed as a C API.
The specification of the Olm ratchet can be found in `<docs/olm.rst>`.
This library also includes an implementation of the Megolm cryptographic
ratchet, as specified in `<docs/megolm.rst>`.
%package devel
Summary: Development files for %name
Group: Development/Other
Requires: %name = %version-%release
%description devel
The %name-devel package contains C++ header files for developing
applications that use %name.
%prep
%setup
%patch0 -p1
%build
%cmake
%cmake_build
%install
%cmakeinstall_std
%check
%make_build test
%files
%doc README.md
%doc LICENSE
%_libdir/*.so.*
%files devel
%doc docs
%_libdir/*.so
%_includedir/olm
%_libdir/cmake/Olm
%_pkgconfigdir/olm.pc
%changelog
…
Полный changelog можно просмотреть здесь