This commit is contained in:
windowsboy111
2023-01-18 17:56:15 +08:00
parent d4de89359d
commit 3567ab505c
4 changed files with 65 additions and 3 deletions
+1 -3
View File
@@ -9,8 +9,6 @@
/SECURITY.md @lleyton
/anda.hcl @lleyton
/comps.xml @lleyton
/requirements.txt @windowsboy111
/update.sh @windowsboy111
# Package maintainers
/anda/lib/libbismuth @lainsce
@@ -29,4 +27,4 @@
/anda/srpm-macros @korewaChino
/anda/rust/starship @korewaChino
/anda/rust/zellij @korewaChino
/anda/audio/distrho @korewaChino
/anda/audio/distrho @korewaChino
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "fuc.spec"
}
}
+58
View File
@@ -0,0 +1,58 @@
%global debug_package %{nil}
Name: fuc
Version: 1.1.3
Release: %autorelease
Summary: Modern, performance focused unix commands
URL: https://github.com/SUPERCILEX/fuc
Source0: https://raw.githubusercontent.com/SUPERCILEX/fuc/%{version}/README.md
Source1: https://raw.githubusercontent.com/SUPERCILEX/fuc/%{version}/LICENSE
%ifarch x86_64
Source2: %{url}/releases/download/%{version}/rmz-x86_64-unknown-linux-gnu
Source3: %{url}/releases/download/%{version}/cpz-x86_64-unknown-linux-gnu
%elifarch aarch64
Source2: %{url}/releases/download/%{version}/rmz-aarch64-unknown-linux-gnu
Source3: %{url}/releases/download/%{version}/cpz-aarch64-unknown-linux-gnu
%endif
License: Apache-2.0
Requires: cpz rmz
%description
Fast Unix Commands,
the FUC-ing project providing modern unix commands focused on performance.
%package -n rmz
Summary: Fast `rm` command from the FUC project
%description -n rmz
%{summary}. See the `fuc` package.
%package -n cpz
Summary: Fast `cp` command from the FUC project
%description -n cpz
%{summary}. See the `fuc` package.
%prep
%build
%install
install -Dm644 %{SOURCE0} "%{buildroot}/%{_datadir}/doc/%{name}/README.md"
install -Dm644 %{SOURCE1} "%{buildroot}/%{_datadir}/licenses/%{name}/LICENSE"
install -Dm755 %{SOURCE2} %{buildroot}/usr/bin/rmz
install -Dm755 %{SOURCE3} %{buildroot}/usr/bin/cpz
%files
%doc README.md
%license LICENSE
%files -n rmz
/usr/bin/rmz
%files -n cpz
/usr/bin/cpz
%changelog
* Wed Jan 18 2023 windowsboy111 <windowsboy111@fyralabs.com>
- Initial package
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("SUPERCILEX/fuc"));