i3status/i3status.spec
Ondřej Súkup 2d3da65f67 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
2018-05-13 09:05:30 +00:00

68 lines
2.1 KiB
RPMSpec

#
# spec file for package i3status
#
# 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
# 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 http://bugs.opensuse.org/
#
Name: i3status
Version: 2.12
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
BuildRequires: asciidoc
BuildRequires: libasound2
BuildRequires: libcap2
BuildRequires: libconfuse-devel
BuildRequires: libiw-devel
BuildRequires: libnl3-devel
BuildRequires: libpulse-devel
BuildRequires: libxslt-devel
BuildRequires: libyajl-devel
%description
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}"
%install
%make_install
%files
%license LICENSE
%doc CHANGELOG contrib/
%config(noreplace) %{_sysconfdir}/%{name}.conf
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog