diff --git a/fastfetch-2.34.0.tar.gz b/fastfetch-2.34.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4085901069a181df734359e300e225f76f703a3e Binary files /dev/null and b/fastfetch-2.34.0.tar.gz differ diff --git a/fastfetch.spec b/fastfetch.spec new file mode 100644 index 0000000000000000000000000000000000000000..688d5fc1aeac835388249c859b89678dfb2346c2 --- /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 - 2.34.0-1 +- Init package diff --git a/fastfetch.src.rpm b/fastfetch.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..3c95cc88e606546228430d059ca0a9a7d88b7cac Binary files /dev/null and b/fastfetch.src.rpm differ diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..6a72f2b5fc6857f32c6c1b469544cd5ec42727af --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +fastfetch-2.34.0.tar.gz +fastfetch.spec