Files
packages/anda/misc/uwufetch/uwufetch.spec
T
Raboneko 57950dd120 chore(uwufetch): Update for semi-active branch (#7761) (#7767)
* chore(uwufetch): Update for new semi-active branch



* fix: Spec



* Try `gh`??



* fix: I see the issue...cursed



* Unintelligent moment



* Just do this



---------


(cherry picked from commit 872a56a20e)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
2025-11-29 07:22:03 -06:00

57 lines
1.5 KiB
RPMSpec

%global commit f3d4503e72fa5b7dff466e527453cfbf2c95cc01
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global fulldate 2024-02-14
%global commit_date %(echo %{fulldate} | sed 's/-//g')
%global ver 2.1
%global debug_package %{nil}
Name: uwufetch
Version: %{ver}^%{commit_date}git.%{shortcommit}
Release: 1%?dist
Summary: A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace.
License: GPL-3.0
URL: https://github.com/ad-oliviero/uwufetch
BuildRequires: make gcc git anda-srpm-macros
Requires: freecolor
Requires: xwininfo
Recommends: lshw
%description
A meme system info tool for (almost) all your Linux/Unix-based systems, based on the nyan/UwU trend on r/linuxmasterrace.
%package devel
Summary: Development files for UwUFetch.
Requires: %{name}
%description devel
This package contains delevoplent files for UwUFetch.
%prep
%git_clone %{url} %{commit}
%build
%make_build
%install
%make_install DESTDIR=%{buildroot}%{_prefix}
mkdir -p %{buildroot}%{_libdir}
mv %{buildroot}%{_prefix}/lib/libfetch.so %{buildroot}%{_libdir}/libfetch.so
%files
%doc CODE_OF_CONDUCT.md
%doc README.md
%license LICENSE
%license res/COPYRIGHT.md
%dir %{_prefix}/lib/uwufetch
%{_prefix}/lib/uwufetch/*
%{_mandir}/man1/uwufetch.1.gz
%{_bindir}/uwufetch
%files devel
%{_libdir}/libfetch.so
%{_includedir}/fetch.h
%changelog
* Thu Jun 22 2023 Alyxia Sother <alyxia@riseup.net>
- Initial package.