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
This commit is contained in:
Ondřej Súkup 2018-05-13 09:05:30 +00:00 committed by Git OBS Bridge
parent c0e13565fc
commit 2d3da65f67
4 changed files with 48 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98db7e730f0ce908eb656ac10d713ae6a885676621391d54f00b719752f18c5f
size 54970

3
i3status-2.12.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6fc6881536043391ab4bed369d956f99d1088965d8bcebed18d1932de3ba791a
size 57162

View File

@ -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

View File

@ -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 <email@pfeiffer.pw>
#
# 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