Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
>
libomemo-c
> _service:tar_git:libomemo-c.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:libomemo-c.spec of Package libomemo-c
# # spec file for package libomemo-c # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define c_lib libomemo-c Name: libomemo-c Version: 0.5.0 Release: 4 Summary: Fork of libsignal-protocol-c adding support for OMEMO XEP-0384 0.5.0+ License: GPL-3.0-only Group: Development/Libraries/C and C++ URL: https://github.com/dino/libomemo-c Source: %{name}-%{version}.tar.bz2 BuildRequires: cmake >= 2.8.4 BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: pkgconfig(openssl) >= 1.0 %description This is a fork of libsignal-protocol-c, an implementation of Signal's ratcheting forward secrecy protocol that works in synchronous and asynchronous messaging. The fork adds support for OMEMO as defined in XEP-0384 versions 0.3.0 and later. %package -n libomemo-c-devel Summary: Development files for libomemo-c Group: Development/Libraries/C and C++ Requires: %{c_lib} = %{version} %description -n libomemo-c-devel Development files and headers for libomemo-c %prep %autosetup -n %{name}-%{version}/upstream -p1 %build touch .git mkdir -p build pushd build %cmake .. \ -DBUILD_TESTING=OFF %make_build popd %install pushd build %make_install popd %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -n %{c_lib} %license LICENSE %doc README.md %{_libdir}/libomemo* %files devel %dir %{_includedir}/omemo %{_includedir}/omemo/*.h %{_libdir}/libomemo-c.so %{_libdir}/pkgconfig/libomemo-c.pc %changelog