summaryrefslogtreecommitdiff
path: root/fastfetch.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-06-17 08:01:16 +0000
committerCoprDistGit <infra@openeuler.org>2025-06-17 08:01:16 +0000
commit8ae9fe31043a01579e63fb7068bf601f8df79cdc (patch)
tree5481c5116b414accbada13d6da0720c0286b3b01 /fastfetch.spec
parent443787e022f85b4abfce421be377763dedc38644 (diff)
automatic import of fastfetchopeneuler22.03_LTS_SP4
Diffstat (limited to 'fastfetch.spec')
-rw-r--r--fastfetch.spec95
1 files changed, 95 insertions, 0 deletions
diff --git a/fastfetch.spec b/fastfetch.spec
new file mode 100644
index 0000000..688d5fc
--- /dev/null
+++ b/fastfetch.spec
@@ -0,0 +1,95 @@
+%global __cmake_in_source_build 1
+
+Name: fastfetch
+Version: 2.34.0
+Release: 1%{?dist}
+Summary: Like neofetch, but much faster because written in c
+
+License: MIT
+URL: https://github.com/fastfetch-cli/fastfetch
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: python3
+BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: hwdata
+BuildRequires: wayland-devel
+BuildRequires: libxcb-devel
+BuildRequires: libXrandr-devel
+BuildRequires: dconf-devel
+BuildRequires: dbus-devel
+BuildRequires: sqlite-devel
+BuildRequires: ImageMagick-devel
+BuildRequires: zlib-devel
+BuildRequires: libglvnd-devel
+BuildRequires: mesa-libOSMesa-devel
+BuildRequires: glib2-devel
+BuildRequires: ocl-icd-devel
+BuildRequires: rpm-devel
+BuildRequires: libdrm-devel
+BuildRequires: pulseaudio-libs-devel
+BuildRequires: elfutils-libelf-devel
+BuildRequires: libddcutil-devel
+BuildRequires: vulkan-loader-devel
+#BuildRequires: chafa-devel
+#BuildRequires: yyjson-devel
+
+Recommends: hwdata
+Recommends: libxcb
+Recommends: libXrandr
+Recommends: dconf
+Recommends: sqlite
+Recommends: zlib
+Recommends: libglvnd-glx
+Recommends: ImageMagick
+Recommends: glib2
+Recommends: ocl-icd
+Recommends: chafa
+Recommends: ddcutil
+Recommends: libdrm
+Recommends: pulseaudio-libs
+Recommends: elfutils-libelf
+
+Provides: fastfetch-bash-completion = %{version}%{release}
+Provides: fastfetch-zsh-completion = %{version}%{release}
+Provides: fastfetch-fish-completion = %{version}%{release}
+
+ExcludeArch: %{ix86}
+
+%description
+fastfetch is a neofetch-like tool for fetching system information and
+displaying them in a pretty way. It is written in c to achieve much better
+performance, in return only Linux and Android are supported. It also uses
+mechanisms like multithreading and caching to finish as fast as possible.
+
+
+%prep
+%autosetup -p1
+
+
+%build
+%cmake -DBUILD_TESTS=ON -DBUILD_FLASHFETCH=OFF
+%cmake_build
+
+
+%check
+%ctest
+
+
+%install
+%cmake_install
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/%{name}
+%{_datadir}/%{name}/
+%{_mandir}/man1/fastfetch.1*
+%{_datadir}/bash-completion/completions/%{name}
+%{_datadir}/fish/vendor_completions.d/%{name}.fish
+%{_datadir}/zsh/site-functions/_%{name}
+
+%changelog
+* Thu Jan 9 2025 lichaoran <pkwarcraft@hotmail.com> - 2.34.0-1
+- Init package