Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package omemo-utils for openSUSE:Factory 
checked in at 2022-10-11 18:03:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/omemo-utils (Old)
 and      /work/SRC/openSUSE:Factory/.omemo-utils.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "omemo-utils"

Tue Oct 11 18:03:26 2022 rev:2 rq:1009766 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/omemo-utils/omemo-utils.changes  2020-06-26 
21:49:31.554615473 +0200
+++ /work/SRC/openSUSE:Factory/.omemo-utils.new.2275/omemo-utils.changes        
2022-10-11 18:05:51.814115239 +0200
@@ -1,0 +2,5 @@
+Tue Oct 11 11:07:56 UTC 2022 - Michael Vetter <[email protected]>
+
+- Add omemo-utils-1.0.0-man.patch: Install man page
+
+-------------------------------------------------------------------

New:
----
  omemo-utils-1.0.0-man.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ omemo-utils.spec ++++++
--- /var/tmp/diff_new_pack.JoPW7V/_old  2022-10-11 18:05:52.214115886 +0200
+++ /var/tmp/diff_new_pack.JoPW7V/_new  2022-10-11 18:05:52.218115892 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package omemo-utils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,7 @@
 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
 BuildRequires:  libcurl-devel
 BuildRequires:  libgcrypt-devel >= 1.7.0
 
@@ -32,6 +33,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %make_build PREFIX=%{_prefix}
@@ -41,5 +43,6 @@
 
 %files
 %{_bindir}/omut
+%{_mandir}/man1/omut.1%{?ext_man}
 
 %changelog

++++++ omemo-utils-1.0.0-man.patch ++++++
>From 866db1fc3577c93e1be44d558feca5b5a679d33c Mon Sep 17 00:00:00 2001
From: Michael Vetter <[email protected]>
Date: Tue, 11 Oct 2022 12:03:10 +0200
Subject: [PATCH] Add basic man page

---
 Makefile |  2 ++
 omut.1   | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 omut.1

diff --git a/Makefile b/Makefile
index ed216d1..74e4e2b 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@ all: test omut
 install: omut
        mkdir -p $(DESTDIR)$(PREFIX)/bin
        cp omut $(DESTDIR)$(PREFIX)/bin
+       mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+       cp omut.1 $(DESTDIR)$(PREFIX)/share/man/man1/omut.1
 
 uninstall: omut
        rm $(DESTDIR)$(PREFIX)/bin/omut
diff --git a/omut.1 b/omut.1
new file mode 100644
index 0000000..253d8c4
--- /dev/null
+++ b/omut.1
@@ -0,0 +1,33 @@
+.TH man 1 "2022-10-11" "1.0.0" "Utilities for OMEMO media sharing"
+.SH NAME
+omemo-utils - Utilities for OMEMO media sharing
+.SH SYNOPSIS
+.B omut
+[\-d] [\-o FILE] URL
+.SH DESCRIPTION
+.B omemo-utils
+ are utilities for OMEMO media sharing.
+The binary is called omut.
+By default the downloaded file will be send to standard output.
+.br
+.SH OPTIONS
+.TP
+.BI "\-d"
+Enable debug output.
+.br
+.TP
+.BI "\-o FILE"
+Redirect the output to a file.
+.SH BUGS
+Bugs can be reported by raising an issue at the Github issue tracker:
+.br
+.PP
+<https://github.com/wstrm/omemo-utils/issues>
+.br
+.SH AUTHOR
+Copyright (C) 2020 \- 2022  William Wennerstr??m <[email protected]>.
+.br
+Licensed under MIT.
+.br
+.br
+Man page is written by Michael Vetter <[email protected]>.

Reply via email to