add: rust-motd (#6837) (#6845)

This commit is contained in:
Raboneko
2025-10-23 20:39:01 -07:00
committed by GitHub
parent f43c25ddde
commit bc30424b7a
3 changed files with 41 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "rust-motd.spec"
}
}
+35
View File
@@ -0,0 +1,35 @@
Name: rust-motd
Version: 2.1.0
Release: 1%?dist
Summary: Beautiful, useful, configurable MOTD generation with zero runtime dependencies
URL: https://github.com/rust-motd/rust-motd
Source0: %url/archive/refs/tags/v%{version}.tar.gz
License: MIT
BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold perl
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%summary.
%prep
%autosetup -n %{name}-%{version}
%cargo_prep_online
%build
%cargo_build
%install
%cargo_install
%cargo_license_summary_online
%{cargo_license_online -a} > LICENSE.dependencies
%files
%doc README.md DEVELOPING.md CHANGELOG.md example_config.toml example_config.kdl
%license LICENSE
%license LICENSE.dependencies
%{_bindir}/rust-motd
%changelog
* Thu Oct 23 2025 Owen Zimmerman <owen@fyralabs.com>
- Intial Commit
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("rust-motd/rust-motd"));