commit 2865321a18dbab833c8456dfa6183b2d55e8ebc365fd61963e1fe5329da299ee Author: Michael Vetter Date: Tue Mar 28 06:57:00 2023 +0000 Accepting request 1074787 from home:AndreasStieger rust-based optimized cp(z)/rm(z) OBS-URL: https://build.opensuse.org/request/show/1074787 OBS-URL: https://build.opensuse.org/package/show/utilities/fuc?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..dc2d982 --- /dev/null +++ b/_service @@ -0,0 +1,26 @@ + + + https://github.com/SUPERCILEX/fuc.git + @PARENT_TAG@ + git + 1.1.7 + * + (\d+\.\d+\.\d+) + \1 + enable + + + + *.tar + zst + + + + fuc + zst + true + + + fuc + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..93e9613 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/SUPERCILEX/fuc.git + 2538616b8b43e5118422bb907e6d2f12c1d54342 \ No newline at end of file diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/fuc-1.1.7.tar.zst b/fuc-1.1.7.tar.zst new file mode 100644 index 0000000..976f467 --- /dev/null +++ b/fuc-1.1.7.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b251c2afef193927fe906d85e6d3e6448d1503242299f0920c7f658e3fdc1ff6 +size 41227 diff --git a/fuc.changes b/fuc.changes new file mode 100644 index 0000000..a746412 --- /dev/null +++ b/fuc.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Mar 27 21:11:02 UTC 2023 - andreas.stieger@gmx.de + +- initial package (1.1.7) diff --git a/fuc.obsinfo b/fuc.obsinfo new file mode 100644 index 0000000..a8ed026 --- /dev/null +++ b/fuc.obsinfo @@ -0,0 +1,4 @@ +name: fuc +version: 1.1.7 +mtime: 1679948336 +commit: 2538616b8b43e5118422bb907e6d2f12c1d54342 diff --git a/fuc.spec b/fuc.spec new file mode 100644 index 0000000..1bd8960 --- /dev/null +++ b/fuc.spec @@ -0,0 +1,55 @@ +# +# spec file for package fuc +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: fuc +Version: 1.1.7 +Release: 0 +Summary: Modern unix commands focused on performance +License: Apache-2.0 +URL: https://github.com/SUPERCILEX/fuc +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +Source2: cargo_config +# for cargo_install -p +BuildRequires: cargo-packaging >= 1.2.0 +ExclusiveArch: %{rust_tier1_arches} + +%description +The FUC-ing project provides modern unix commands focused on performance. +This package provides the commands "rmz" and "cpz", with a CLI interface +compatible with "rm" and "cp", respectively, in a "zippy" faster version. + +%prep +%autosetup -a1 +mkdir .cargo +cp %{SOURCE2} .cargo/config + +%build +%{cargo_build} --all + +%install +%{cargo_install -p cpz} +%{cargo_install -p rmz} + +%files +%license LICENSE +%doc README.md +%{_bindir}/cpz +%{_bindir}/rmz + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..ec1f507 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c80e71556bb324dfad0f1d32f3cda8735e0966a739f6a651ea91d176a64d0f0d +size 24248544