i3blocks package update

Signed-off-by: guibuilder_pel7x64builder0 <guibuilder@powerel.org>
master
guibuilder_pel7x64builder0 2020-04-14 00:58:27 +02:00
parent 3c14ef3559
commit 0bb9e08701
1 changed files with 17 additions and 23 deletions

View File

@ -1,43 +1,37 @@
Name: i3blocks
Version: 1.5
Name: i3blocks
Version: 1.5
Release: 1%{?dist}
Summary: A feed generator for text based status bars
License: GPL
URL: https://github.com/vivien/i3blocks
Source0: https://github.com/vivien/i3blocks/archive/%{version}.tar.gz
#BuildRequires:
#Requires:
Summary: Highly flexible status line for the i3 window manager
License: GPLv3+
URL: https://github.com/vivien/i3blocks/
Source0: https://github.com/vivien/i3blocks/releases/download/%{version}/i3blocks-%{version}.tar.gz
BuildRequires: gcc


%description
i3blocks executes your command lines and generates a status line from their output.
Commands are scheduled at configured time intervals, upon signal reception or on clicks.
The generated line is meant to be displayed by the i3 window manager through its i3bar component,
as an alternative to i3status.
i3blocks is meant to be highly flexible but intuitive.
No library package is required, just output what your status bar expects,
from your favorite programming language and your preferred format.
i3blocks is a highly flexible status line for the i3 window manager.
It handles clicks, signals and language-agnostic user scripts.


%prep
%setup -q
%autosetup


%build
./autogen.sh
%configure
make %{?_smp_mflags}
%make_build CFLAGS="%{optflags} -Iinclude" LDFLAGS="%{__global_ldflags}" PREFIX="%{_prefix}"


%install
%make_install
%make_install PREFIX="%{_prefix}"


%files
%{_sysconfdir}/i3blocks.conf
%{_bindir}/i3blocks
%{_datadir}/bash-completion/completions/i3blocks
%{_mandir}/man1/i3blocks.1.gz
%{_bindir}/%{name}
%{_sysconfdir}/%{name}.conf
%{_mandir}/man1/%{name}.1.gz
%{_datadir}/bash-completion/completions/%{name}


%changelog