From 98aedbc34208e3fd37a199c6c00351d4134e808ea9b46d6bf2a3410bdd47e718 Mon Sep 17 00:00:00 2001
From: Philipp Seiler
Date: Sun, 27 Oct 2019 18:09:43 +0000
Subject: [PATCH] Accepting request 729576 from
home:dancermak:branches:X11:windowmanagers
update to version 2.13
OBS-URL: https://build.opensuse.org/request/show/729576
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/i3status?expand=0&rev=21
---
i3status-2.12.tar.bz2 | 3 ---
i3status-2.13.tar.bz2 | 3 +++
i3status-2.13.tar.bz2.asc | 16 +++++++++++
i3status.changes | 31 ++++++++++++++++++++++
i3status.keyring | 56 +++++++++++++++++++++++++++++++++++++++
i3status.spec | 56 ++++++++++++++++++++++++++-------------
6 files changed, 143 insertions(+), 22 deletions(-)
delete mode 100644 i3status-2.12.tar.bz2
create mode 100644 i3status-2.13.tar.bz2
create mode 100644 i3status-2.13.tar.bz2.asc
create mode 100644 i3status.keyring
diff --git a/i3status-2.12.tar.bz2 b/i3status-2.12.tar.bz2
deleted file mode 100644
index 6a23115..0000000
--- a/i3status-2.12.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6fc6881536043391ab4bed369d956f99d1088965d8bcebed18d1932de3ba791a
-size 57162
diff --git a/i3status-2.13.tar.bz2 b/i3status-2.13.tar.bz2
new file mode 100644
index 0000000..ed789f6
--- /dev/null
+++ b/i3status-2.13.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ce89c9ff8565f62e88299f1a611229afdfc356b4e97368a5f8c4f06ad2fa1466
+size 201409
diff --git a/i3status-2.13.tar.bz2.asc b/i3status-2.13.tar.bz2.asc
new file mode 100644
index 0000000..4749c50
--- /dev/null
+++ b/i3status-2.13.tar.bz2.asc
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCgAdFiEEQk4U1wPnxtQ9nW82TnFg7UrI7h0FAl0Y+OoACgkQTnFg7UrI
+7h2rVQ//VptgbqdGqnoXT57cGv8qUqCKwhwR7NP/stx45MLuh7Zcs5Fn/kOCloLL
+Zj70orw6e9URwPldnSDDOS0au+OvLaCnQN1ZskIQ3LWxEOKAW9zK2qdnlK+AC2ps
+xUaiSPuoPRg1c/NoaIzBSIosH2hpCAQViaNP8MdfY/EZ72HAIvws3S2xF6zC5R8R
+V4g/ckuUYLE44dfUtioSrrh7mOVPLSbd+refHt3JuKgwaTq6PJg7QMcxYgZGosZu
+qXdaiik8hrHGKMW/J8HE9oKa0p8wStoXfvW19T+3sMUdRgf20E7vdCpmise8OjsB
+PrM9cuPn2eQT7VQC32HTAvkRbkZ0r6VUPrexJuHVAKjTIRCx/kIdR948Z222z+bh
+CwmoOAUVrYAD3H+cdmeTkhUR1OcZT/j0U3Y6V42RX2ETkNro7Gowy9w99lm/aNKu
+Sex9t36P0ELP7JoQY3ekKAXcjA0ks4Z3wndIcqDxSFHMqMF5Pnjr4kXIgFb1Ctfu
+j0FvhzrUxtp147hcoOibMi7cAEJqAPnAK2YopncabswHfBfTg0ThSkQM/GLhnLEY
+vW2HaiolPFDfbKGTSwoaPrKnjZ0yOO0PjnPC5NxPy+v+RDjMiYwILNNP+/Y82xCY
+DrlXMeE6STBPW5A/UMNYbTzC0DlhIqngF25VwoA8z8ZdrrGpI4g=
+=2ZfC
+-----END PGP SIGNATURE-----
diff --git a/i3status.changes b/i3status.changes
index 0b662bc..374fd34 100644
--- a/i3status.changes
+++ b/i3status.changes
@@ -1,3 +1,34 @@
+-------------------------------------------------------------------
+Mon Sep 9 08:50:37 UTC 2019 - Dan Čermák
+
+- update to version 2.13:
+ * add memory module
+ * add read_file module
+ * drop CAP_NET_ADMIN (not needed on Linux ≥ 2.6.37)
+ * switch to autotools
+ * battery: hide seconds by default
+ * wireless: add format_quality
+ * doc: clarify min_width not being supported with dzen2/xmobar
+ * battery: read multiple batteries on DragonFlyBSD
+ * make: don’t use pulseaudio on DragonFlyBSD
+ * wireless: detect interface type on DragonFlyBSD
+ * cpu usage: fix: correctly print usage for cpu 10
+ * cpu usage: fix: correctly print for invalid %cpu placeholder
+ * cpu usage: support non-consecutive CPUs
+ * time: add only_when_tz_different option
+ * ethernet: add %interface
+ * ethernet: fix speed display for 100 Gbit/s cards
+ * battery: handle POWER_SUPPLY_STATUS=Not charging
+ * volume: provide more natural volume percentage with ALSA
+ * volume: fix ALSA capture device monitoring
+ * volume: implement %devicename for PulseAudio and ALSA
+ * config: re-arrange disk after network interfaces
+ * fix: include sys/socket.h on macOS
+ * fix: strip network interface labels
+ * fix glob(3) error handling
+ * various testsuite improvements
+ * switch to clang-format-3.8
+
-------------------------------------------------------------------
Fri May 18 15:47:31 UTC 2018 - jengelh@inai.de
diff --git a/i3status.keyring b/i3status.keyring
new file mode 100644
index 0000000..97fa68f
--- /dev/null
+++ b/i3status.keyring
@@ -0,0 +1,56 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBEoVG4cBEADX2160pBoUf2vSWKbUa8soEMscBFjmb/NajCxwX/BlD1sVNyDm
+twZ74CNPS7X5GgNQoXCzkm7v18zOpON69/pwQ0C4T4P+dvewaDzi2+4/bZsXSor1
+mA3C9lHcKDbpH7jHkN2AbMnY3Z4LD46LA1qfCISAAKtx1h4peBF6Xhu743dKXrBa
+zg/TEJwWIWSyPKgIhur95yebD/Tws+gWlOfBKkF1v1PA+5sPmC8LyK5Rd1n9Sg1D
+j//4sWl8A4EwM4QUzSliZME775klV4mOBGbsTnhNjCymgDiXVNjoWdEIHoNfDsut
+E2czgSwsSrSPls/Kl1KuHyBiOWi4dl6MFaypcuSNEVNi5K+oJ7gmX/sy/TlF5Ofw
+KoBEPrcvulVT8aAM3azMfb/Fgo+GcEEYljV1yvSg7jSjCHxXgMyh/yMfZcPkwajp
+fNE5D7WAXgygpolM9dLIOBemDJxwWr0G7uhXNv3vSHpuUheb2REaJJwWHw1IuCmn
+gigD5mebQWRSmbEl66ygOFkps9FEq6KSm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KPMP/187duTP
+rW5A6WyAlttOzBBtaOyEgW1fM6TeGLRiQ5YePfp5sGr7J405er0upgT7nmiggnKT
+U7joq6GNP/cCOhja54+h5/HGveGrs9xpngdxNvMt7R26LOv4uYLsGMPus2Ek9YMC
+DO3p1zFzZmV4L0WRIEZNfKbPN+nPk/zv1hB92hKhn8uKGNf4s4T0iHE1JUM0ZWU3
+riMceMQ4KwZgYMvCFvQz5Y5+qCpScE3xWlGViDP1yj5XSt6NzrtgeXlnax0Oxy6L
+HDMRs8SDiZvLsNP10Q2IHn32WFUBfAi3I8kNSdnhSDDbynsVB48RkNGv212J/u7N
+qYsSuo8lwqAdFc1A10msaV5cDjfLumn0iOogloMul4t/Umal42IFi8UJq19m/Ujk
+wz3v6KlcNhuqJUvwRpTvCrMT+DkkI35NTbcrTjH5OAwcR93HP7cTbYctn89QdOBd
+P8oPqrCBmcCtBRKFdMUrnlMCYhVrdJienAtbKSipbmxziX+Lo9SlmLNKqy4caNz3
+HuowFkxw8IG6eSz/ap04Vxa97G5LrXD59bRoXEOQmlYmO4cAhtsY2i2GeEm5NFJV
+44ed8ek7TDSSmAEqLGLwyPmimFbZN0Le8rroyRU+IYBDAwv1oqQ4GJLvvcjrR86c
+lvBaQ1/2dDXBLz+nASWfFaa584Dwq9mi4YRI
+=mjdA
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/i3status.spec b/i3status.spec
index ce0ef3d..8f23fd7 100644
--- a/i3status.spec
+++ b/i3status.spec
@@ -1,7 +1,7 @@
#
# spec file for package i3status
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Thomas Pfeiffer
#
# All modifications and additions to the file contributed by third parties
@@ -13,28 +13,32 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: i3status
-Version: 2.12
+Version: 2.13
Release: 0
Summary: I3 Status Bar
License: BSD-3-Clause
Group: System/Monitoring
URL: https://i3wm.org/i3status/
-Source0: https://i3wm.org/i3status/%{name}-%{version}.tar.bz2
-BuildRequires: alsa-devel
+Source0: %{url}/%{name}-%{version}.tar.bz2
+Source1: %{url}/%{name}-%{version}.tar.bz2.asc
+# Michael Stapelberg's GPG key:
+# 424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D
+Source2: %{name}.keyring
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(libconfuse)
+BuildRequires: pkgconfig(libnl-genl-3.0)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(yajl)
+# man pages
BuildRequires: asciidoc
-BuildRequires: libasound2
-BuildRequires: libcap2
-BuildRequires: libconfuse-devel
-BuildRequires: libiw-devel
-BuildRequires: libnl3-devel
-BuildRequires: libpulse-devel
-BuildRequires: libxslt-devel
-BuildRequires: libyajl-devel
+BuildRequires: xmlto
%description
i3status is a program for generating a status bar for i3bar, dzen2,
@@ -44,16 +48,30 @@ second so that the bar is updated even under load. It saves a bit of
energy by being more efficient than shell commands.
%prep
-%setup -q
-rm -fr yajl-fallback
-chmod -x contrib/*.*
+%autosetup
+
+for f in contrib/*py; do
+ sed -i.orig "s:^#\!/usr/bin/env\s\+python\s\?$:#!%{__python3}:" $f
+ touch -r $f.orig $f
+ rm $f.orig
+done
+for f in contrib/*pl; do
+ sed -i.orig "s:^#\!/usr/bin/env\s\+perl\s\?$:#!%{__perl}:" $f
+ touch -r $f.orig $f
+ rm $f.orig
+done
%build
-make %{?_smp_mflags} \
- OPTFLAGS="%{optflags}"
+autoreconf -fi
+# out of source builds appear mandatory
+mkdir build && pushd build
+ln -s ../configure configure
+%configure
+%make_build
+popd
%install
-%make_install
+%make_install -C build
%files
%license LICENSE