forked from pool/i3status
5b122ac871
- Update to 2.7 version * Skip a day in the Discordian calendar when St. Tib's Day has passed * colors: Handle down wireless interfaces just like ethernet interfaces * temperature: introduce max_threshold * battery: colorize output even without discharge rate * ddate: Reduce the season day to 0-9 to properly print ordinal suffixes * add good, degraded and bad colors per module * config: introduce an utf-8 character so that editors are forced to use utf-8 * ddate: Teen ordinal numbers always use a 'th' suffix. * make SIGUSR1 do nothing, so that killall -USR1 i3status will force an update * changing volume color from bad to degraded if muted * make refreshs align with minutes * wifi: properly display ad-hoc networks * Bugfix: output auto detect: properly detect ambiguous situations * Add tztime module to support multiple different timezones * battery: add option to show capacity without decimals * Add colorized output for load avg * ipv6: properly handle colors for output_format == xmobar * contrib: fix premature insetion of status message into JSON - Spec file cleanup * rebased i3status-makefile.patch and renamed as i3status-2.7-makefile.patch OBS-URL: https://build.opensuse.org/request/show/159299 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/i3status?expand=0&rev=3
67 lines
2.1 KiB
RPMSpec
67 lines
2.1 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
#
|
|
# spec file for package i3status
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
|
#
|
|
# 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.7
|
|
Release: 0
|
|
Summary: I3 Status Bar
|
|
License: BSD-3-Clause
|
|
Group: System/Monitoring
|
|
Source: http://i3wm.org/i3status/i3status-%{version}.tar.bz2
|
|
Patch1: i3status-2.7-makefile.patch
|
|
Url: http://i3wm.org/i3status/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: alsa-devel
|
|
BuildRequires: libconfuse-devel
|
|
BuildRequires: libiw-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
|
|
hogging your CPU as much as spawning the corresponding amount of shell commands
|
|
would.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1 -p1
|
|
|
|
chmod -x contrib/*.*
|
|
%build
|
|
%__make %{?_smp_mflags} \
|
|
OPTFLAGS="%{optflags}" \
|
|
PREFIX="%{_prefix}" \
|
|
SYSCONFDIR="%{_sysconfdir}"
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc CHANGELOG LICENSE contrib/
|
|
%config(noreplace) %{_sysconfdir}/i3status.conf
|
|
%{_bindir}/i3status
|
|
%doc %{_mandir}/man1/i3status.1*
|
|
|
|
%changelog
|