forked from pool/go-sendxmpp
Added: * Add support for sending Out of Band Data (OOB). * Add SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA512 support (via go-xmpp commit bef3e54). * Add support for messages of type headline. Changed: * Print --help output to stdout instead of stderr. * Print sent stanzas when --debug is used (via go-xmpp commit 9129a110df1b). * Allow JIDs without localpart. * Use single quotes for attributes in stanzas created by github.com/beevik/etree (vial etree v1.1.4). * Fix SRV lookup when the domain has a CNAME (via xmppsrv v0.2.5). * Fall back to directTLS on port 5223 (instead of StartTLS on port 5222) if no SRV records are provided and -t is set. * Remove trailing newlines in interactive mode. OBS-URL: https://build.opensuse.org/package/show/network:messaging:xmpp/go-sendxmpp?expand=0&rev=12
51 lines
1.4 KiB
RPMSpec
51 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package go-sendxmpp
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: go-sendxmpp
|
|
Version: 0.6.0
|
|
Release: 0
|
|
Summary: A little tool to send messages to an XMPP contact or MUC
|
|
License: BSD-2-Clause
|
|
Group: Productivity/Networking/Instant Messenger
|
|
URL: https://salsa.debian.org/mdosch/go-sendxmpp
|
|
Source: %{name}-%{version}.tar.gz
|
|
Source1: vendor.tar.gz
|
|
BuildRequires: golang-packaging
|
|
|
|
%description
|
|
A little tool to send messages to an XMPP contact or MUC.
|
|
|
|
%prep
|
|
%setup -q -a1
|
|
|
|
%build
|
|
go build \
|
|
-mod=vendor \
|
|
-buildmode=pie
|
|
|
|
%install
|
|
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
|
|
install -d %{buildroot}%{_mandir}/man1
|
|
install -D -m0644 man/%{name}.1 %{buildroot}%{_mandir}/man1
|
|
|
|
%files
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
|
|
%changelog
|