commit 4ecb7937e86d76fb25ab1985cca50a09ec8dd7603fac6da3ffc7bd56f60683d1 Author: Michael Vetter Date: Thu Dec 8 07:51:53 2022 +0000 Accepting request 1041286 from home:uncomfyhalomacro I want to maintain fastfetch in utilities OBS-URL: https://build.opensuse.org/request/show/1041286 OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/fastfetch-1.7.5.tar.gz b/fastfetch-1.7.5.tar.gz new file mode 100644 index 0000000..24b0c33 --- /dev/null +++ b/fastfetch-1.7.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9807568c2c5a10240c635e1e9ad5dbe63326eb730ca3aac005e19d91d2cd1c5 +size 449086 diff --git a/fastfetch.changes b/fastfetch.changes new file mode 100644 index 0000000..ecac048 --- /dev/null +++ b/fastfetch.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Dec 7 21:59:05 UTC 2022 - Soc Virnyl Estela + +- Initial spec for fastfetch 1.7.5 diff --git a/fastfetch.spec b/fastfetch.spec new file mode 100644 index 0000000..031b65a --- /dev/null +++ b/fastfetch.spec @@ -0,0 +1,84 @@ +# +# spec file for package fastfetch +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: fastfetch +Version: 1.7.5 +Release: 0 +Summary: Neofetch-like tool written in C +License: MIT +Group: Productivity/Text/Utilities +URL: https://github.com/LinusDierheimer/fastfetch +Source: https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: Mesa-devel +BuildRequires: cmake +BuildRequires: vulkan-headers +BuildRequires: pkgconfig(ImageMagick) +BuildRequires: pkgconfig(chafa) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(libpci) +BuildRequires: pkgconfig(libxfconf-0) +BuildRequires: pkgconfig(ocl-icd) +BuildRequires: pkgconfig(rpm) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(vulkan) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xrandr) +BuildRequires: pkgconfig(zlib) +Recommends: ImageMagick +Recommends: Mesa +Recommends: chafa +Recommends: dbus-1 +Recommends: dconf +Recommends: glib2-tools +Recommends: pciutils +Recommends: rpm +Recommends: sqlite3 +Recommends: vulkan-tools +Recommends: xfconf +Recommends: xrandr +Recommends: zlib + +%description +Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. +It is written in pure c, with performance and customizability in mind. Currently Linux, Android, FreeBSD, +MacOS and Windows 7+ are supported. + +%prep +%setup -q + +sed -i "s|\#\!\/usr\/bin\/env bash||g" completions/bash + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%files +%license LICENSE +%doc README.md CHANGELOG.md +%{_bindir}/flashfetch +%{_bindir}/%{name} +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/config.conf +%{_datadir}/%{name}/ +%{_datadir}/bash-completion/ + +%changelog