summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-21 06:40:57 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-21 06:40:57 +0000
commit685937d2653c095be2640b7aa66a1f1f029d396f (patch)
tree1a82f2a02a45a3d08f6fe9770c9e83f40d6a1e5b
parentf758c928b50051c52760f17fe288975d4df75672 (diff)
automatic import of i3blocksopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--i3blocks.spec50
-rw-r--r--sources1
3 files changed, 52 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0d801ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/i3blocks-1.5.tar.gz
diff --git a/i3blocks.spec b/i3blocks.spec
new file mode 100644
index 0000000..370aa57
--- /dev/null
+++ b/i3blocks.spec
@@ -0,0 +1,50 @@
+Name: i3blocks
+Version: 1.5
+Release: 1
+Summary: A feed generator for text based status bars
+License: GPLv3+
+URL: https://github.com/vivien/%{name}
+Source: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gcc
+BuildRequires: make
+
+%description
+A feed generator for text based status bars
+
+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.
+
+%prep
+%autosetup
+
+%build
+./autogen.sh
+%configure
+%make_build
+
+%install
+%make_install
+# these are useless in a i3bar/swaybar:
+rm -rf %{buildroot}/usr/share/bash-completion
+
+%files
+%license COPYING
+
+%{_bindir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+%{_mandir}/man1/%{name}.1.*
+
+%changelog
+* Fri Feb 10 2023 lichaoran <pkwarcraft@hotmail.com> - 1.5
+- Init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..9e1ff9b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5aa965d2c43db72e46c7410ad0685a20 i3blocks-1.5.tar.gz