SHA256
7
0
forked from pool/omemo-utils
Files
omemo-utils/omemo-utils.spec

50 lines
1.5 KiB
RPMSpec

#
# spec file for package omemo-utils
#
# Copyright (c) 2024 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/
#
Name: omemo-utils
Version: 1.0.0
Release: 0
Summary: Utilities for OMEMO media sharing
License: MIT
Group: Productivity/Networking/Instant Messenger
URL: https://github.com/wstrm/omemo-utils
Source: https://github.com/wstrm/omemo-utils/archive/v%{version}.tar.gz
Patch0: https://github.com/wstrm/omemo-utils/commit/866db1fc3577c93e1be44d558feca5b5a679d33c.patch#/omemo-utils-1.0.0-man.patch
# PATCH-FIX-UPSTREAM gh#wstrm/omemo-utils#5
Patch1: omemo-utils-1.0.0-fix-server-decryption.patch
BuildRequires: libcurl-devel
BuildRequires: libgcrypt-devel >= 1.7.0
%description
Utilities for OMEMO media sharing.
%prep
%autosetup -p1
%build
%make_build PREFIX=%{_prefix}
%install
%make_install PREFIX=%{_prefix}
%files
%{_bindir}/omut
%{_mandir}/man1/omut.1%{?ext_man}
%changelog