From 1c9e1d59b86311f4e4d0c0f39f34c5d11d8960a8 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 17 Sep 2024 09:09:23 +0000 Subject: automatic import of neofetch --- .gitignore | 1 + bashenv.patch | 8 ++++++++ neofetch.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 60 insertions(+) create mode 100644 bashenv.patch create mode 100644 neofetch.spec create mode 100644 sources 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 - 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 -- cgit v1.2.3