From 2d3da65f675c9aebde452d19ff05f9f60159a3fd49998e3372986903b8e45d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 13 May 2018 09:05:30 +0000 Subject: [PATCH] Accepting request 606560 from home:avindra:branches:X11:windowmanagers - update to version 2.12: * show IP address when address has a label * treat zero battery capacity as "not available" * add IPv6 address when IPv4 isn't available * call tzset at each time print to pick up time zone changes * doc: fixed minor typos * be more cautious about handling invalid battery measurements. * fix CPU unit tests * use local timezone for battery %emptytime * fix memory leak/use BEGINS_WITH macro * _first_: add check for virtual ethernet devices * add battery capacity parsing * multiple CPU support for cpu_usage * remove useless checks (we use char, not unsigned char) to fix compilation warnings * disk: sanitize trailing slashes * suppress printing :00 seconds of remaining battery lifetime, as apm(4)'s estimate only has a granularity of minutes. * Makefile: make PKG_CONFIG overridable * man page updates - cleanup with spec-cleaner - use https urls - remove yajl fallback from source to ensure ours is used - remove SLOC comment from description (no longer valid) OBS-URL: https://build.opensuse.org/request/show/606560 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/i3status?expand=0&rev=16 --- i3status-2.11.tar.bz2 | 3 --- i3status-2.12.tar.bz2 | 3 +++ i3status.changes | 28 ++++++++++++++++++++++++++++ i3status.spec | 37 +++++++++++++++++-------------------- 4 files changed, 48 insertions(+), 23 deletions(-) delete mode 100644 i3status-2.11.tar.bz2 create mode 100644 i3status-2.12.tar.bz2 diff --git a/i3status-2.11.tar.bz2 b/i3status-2.11.tar.bz2 deleted file mode 100644 index e5f32d7..0000000 --- a/i3status-2.11.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98db7e730f0ce908eb656ac10d713ae6a885676621391d54f00b719752f18c5f -size 54970 diff --git a/i3status-2.12.tar.bz2 b/i3status-2.12.tar.bz2 new file mode 100644 index 0000000..6a23115 --- /dev/null +++ b/i3status-2.12.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6fc6881536043391ab4bed369d956f99d1088965d8bcebed18d1932de3ba791a +size 57162 diff --git a/i3status.changes b/i3status.changes index 7bf7198..a0b8f86 100644 --- a/i3status.changes +++ b/i3status.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Sat May 12 03:32:58 UTC 2018 - avindra@opensuse.org + +- update to version 2.12: + * show IP address when address has a label + * treat zero battery capacity as "not available" + * add IPv6 address when IPv4 isn't available + * call tzset at each time print to pick up time zone changes + * doc: fixed minor typos + * be more cautious about handling invalid battery measurements. + * fix CPU unit tests + * use local timezone for battery %emptytime + * fix memory leak/use BEGINS_WITH macro + * _first_: add check for virtual ethernet devices + * add battery capacity parsing + * multiple CPU support for cpu_usage + * remove useless checks (we use char, not unsigned char) to fix + compilation warnings + * disk: sanitize trailing slashes + * suppress printing :00 seconds of remaining battery lifetime, as + apm(4)'s estimate only has a granularity of minutes. + * Makefile: make PKG_CONFIG overridable + * man page updates +- cleanup with spec-cleaner +- use https urls +- remove yajl fallback from source to ensure ours is used +- remove SLOC comment from description (no longer valid) + ------------------------------------------------------------------- Wed Apr 12 20:47:43 UTC 2017 - arun@gmx.de diff --git a/i3status.spec b/i3status.spec index 9ed1a8f..74306bb 100644 --- a/i3status.spec +++ b/i3status.spec @@ -1,7 +1,7 @@ # # spec file for package i3status # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Thomas Pfeiffer # # All modifications and additions to the file contributed by third parties @@ -18,14 +18,13 @@ Name: i3status -Version: 2.11 +Version: 2.12 Release: 0 Summary: I3 Status Bar License: BSD-3-Clause Group: System/Monitoring -Source: http://i3wm.org/i3status/%{name}-%{version}.tar.bz2 -Url: http://i3wm.org/i3status/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: https://i3wm.org/i3status/ +Source0: https://i3wm.org/i3status/%{name}-%{version}.tar.bz2 BuildRequires: alsa-devel BuildRequires: asciidoc BuildRequires: libasound2 @@ -38,33 +37,31 @@ BuildRequires: libxslt-devel BuildRequires: libyajl-devel %description -i3status is a small program (about 1500 SLOC) for generating a status bar for -i3bar, dzen2, xmobar or similar programs. It is designed to be very efficient -by issuing a very small number of system calls, as one generally wants to -update such a status line every second. This ensures that even under high load, -your status bar is updated correctly. Also, it saves a bit of energy by not +i3status is a small program for generating a status bar for i3bar, dzen2, +xmobar or similar programs. It is designed to be very efficient by issuing +a very small number of system calls, as one generally wants to update such +a status line every second. This ensures that even under high load, your +status bar is updated correctly. Also, it saves a bit of energy by not hogging your CPU as much as spawning the corresponding amount of shell commands would. %prep %setup -q - +rm -fr yajl-fallback chmod -x contrib/*.* %build -%__make %{?_smp_mflags} \ - OPTFLAGS="%{optflags}" \ - PREFIX="%{_prefix}" \ - SYSCONFDIR="%{_sysconfdir}" +make %{?_smp_mflags} \ + OPTFLAGS="%{optflags}" %install %make_install %files -%defattr(-,root,root) -%doc CHANGELOG LICENSE contrib/ -%config(noreplace) %{_sysconfdir}/i3status.conf -%{_bindir}/i3status -%doc %{_mandir}/man1/i3status.1* +%license LICENSE +%doc CHANGELOG contrib/ +%config(noreplace) %{_sysconfdir}/%{name}.conf +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1%{?ext_man} %changelog