diff --git a/CODEOWNERS b/CODEOWNERS index a838442c91..80bada7762 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -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 \ No newline at end of file +/anda/audio/distrho @korewaChino diff --git a/anda/tools/fuc/anda.hcl b/anda/tools/fuc/anda.hcl new file mode 100644 index 0000000000..be1a58f807 --- /dev/null +++ b/anda/tools/fuc/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "fuc.spec" + } +} diff --git a/anda/tools/fuc/fuc.spec b/anda/tools/fuc/fuc.spec new file mode 100644 index 0000000000..08f1a5e84a --- /dev/null +++ b/anda/tools/fuc/fuc.spec @@ -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 +- Initial package diff --git a/anda/tools/fuc/update.rhai b/anda/tools/fuc/update.rhai new file mode 100644 index 0000000000..f6a1b02b70 --- /dev/null +++ b/anda/tools/fuc/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("SUPERCILEX/fuc"));