-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathleenfetch.spec
More file actions
43 lines (33 loc) · 1.02 KB
/
leenfetch.spec
File metadata and controls
43 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Name: leenfetch
Version: 1.2.1
Release: 1%{?dist}
Summary: a modern, minimal, and the fastest system info tool, written in Rust.
License: MIT
URL: https://github.com/drunkleen/leenfetch
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: cargo
BuildRequires: rust
BuildRequires: rust-packaging
BuildRequires: libX11-devel
BuildRequires: libXrandr-devel
%description
Leenfetch is a fast and modern Neofetch alternative written in Rust,
displaying minimal yet useful system information, fully customizable.
%prep
%autosetup -n leenfetch-%{version}
%build
# Release build
cargo build --release
%install
# Install binary
install -Dm0755 target/release/leenfetch %{buildroot}%{_bindir}/leenfetch
# Install man page
install -Dm0644 leenfetch.1 %{buildroot}%{_mandir}/man1/leenfetch.1
%files
%license LICENSE
%doc README.md
%{_bindir}/leenfetch
%{_mandir}/man1/leenfetch.1.gz
%changelog
* Sat Oct 25 2025 DrunkLeen <snape@drunkleen.com> - 1.2.1
- Initial COPR release