summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-09-17 09:09:23 +0000
committerCoprDistGit <infra@openeuler.org>2024-09-17 09:09:23 +0000
commit1c9e1d59b86311f4e4d0c0f39f34c5d11d8960a8 (patch)
treeea07960a434e4e2194a263c687370ee9e310074a
parent1022d72689e9b320eb2332102f747ac24fd16304 (diff)
automatic import of neofetchopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--bashenv.patch8
-rw-r--r--neofetch.spec50
-rw-r--r--sources1
4 files changed, 60 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..fa6a2ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/neofetch-7.1.0.tar.gz
diff --git a/bashenv.patch b/bashenv.patch
new file mode 100644
index 0000000..3863e88
--- /dev/null
+++ b/bashenv.patch
@@ -0,0 +1,8 @@
+--- neofetch.orig 2020-08-03 02:37:41.000000000 +0800
++++ neofetch 2022-08-08 16:10:10.823144200 +0800
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env bash
++#!/usr/bin/bash
+ # vim: noai:ts=4:sw=4:expandtab
+ # shellcheck source=/dev/null
+ # shellcheck disable=2009
diff --git a/neofetch.spec b/neofetch.spec
new file mode 100644
index 0000000..6e17dd2
--- /dev/null
+++ b/neofetch.spec
@@ -0,0 +1,50 @@
+Name: neofetch
+Version: 7.1.0
+Release: 1
+Summary: CLI system information tool written in Bash
+
+License: MIT
+URL: https://github.com/dylanaraps/%{name}
+Source0: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz
+Patch0: bashenv.patch
+
+BuildArch: noarch
+BuildRequires: make
+Requires: bash >= 3.2
+Recommends: bind-utils
+Recommends: coreutils
+Recommends: gawk
+Recommends: grep
+Recommends: pciutils
+Recommends: catimg
+Recommends: caca-utils
+Recommends: ImageMagick
+Recommends: jp2a
+Recommends: w3m-img
+Recommends: xdpyinfo
+Recommends: xprop
+Recommends: xrandr
+Recommends: xrdb
+Recommends: xwininfo
+
+%description
+Neofetch displays information about your system next to an image, your OS logo, or any ASCII file of your choice. The main purpose of Neofetch is to be used in screenshots to show other users what OS/distribution you're running, what theme/icons you're using and more.
+
+%prep
+%autosetup
+
+%build
+
+%install
+%make_install
+
+%files
+%{_bindir}/%{name}
+%license LICENSE.md
+%doc README.md
+%{_mandir}/man1/%{name}.1*
+
+%changelog
+
+* Mon Aug 8 2022 Ariel Heleneto <ArielHeleneto@outlook.com> - 7.1.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..1a63066
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+37ba9026fdd353f66d822fdce16420a8 neofetch-7.1.0.tar.gz