commit 732e606ffe7c987de6f5f102e6f5a225187b88a862df63da6496a0cde7867fef Author: Caleb Crane Date: Thu Feb 9 03:23:36 2023 +0000 osc copypac from project:home:ccrane:branches:Virtualization package:virtiofsd revision:5 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtiofsd?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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..48e4cea --- /dev/null +++ b/_service @@ -0,0 +1,30 @@ + + + https://gitlab.com/virtio-fs/virtiofsd.git + git + virtiofsd + v1.5.0 + @PARENT_TAG@ + [v]?([^\+]+)(.*) + \1 + + + + + + + + *.tar + xz + + + + virtiofsd + + + + virtiofsd + xz + false + + 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/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..fd859c9 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9392681d23c428baac88847134e4500ce4d97adc40432083de3dc8ca4d3813 +size 6580972 diff --git a/virtiofsd-1.5.0.tar.xz b/virtiofsd-1.5.0.tar.xz new file mode 100644 index 0000000..89c46e8 --- /dev/null +++ b/virtiofsd-1.5.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a6b4dbb336607986326b3738404e45f059324ac3fec7a7963c6eb2e61e3b2c1 +size 90552 diff --git a/virtiofsd.spec b/virtiofsd.spec new file mode 100644 index 0000000..cf9ea05 --- /dev/null +++ b/virtiofsd.spec @@ -0,0 +1,55 @@ +# +# spec file for package virtiofsd +# +# 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: virtiofsd +Version: 1.5.0 +Release: 0 +Summary: vhost-user virtio-fs device backend written in Rust +Group: Development/Libraries/Rust +License: Apache-2.0 +URL: https://gitlab.com/virtio-fs/virtiofsd +Source0: %{name}-%{version}.tar.xz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: cargo-packaging +BuildRequires: libcap-ng-devel +BuildRequires: libseccomp-devel +ExclusiveArch: x86_64 + +%description +vhost-user virtio-fs device backend written in Rust + +%files +%doc README.md +%{_bindir}/virtiofsd + +%prep +%autosetup -a1 +mkdir .cargo +cp %{SOURCE2} .cargo/config + +%build +%{cargo_build} + +%install +%{cargo_install} + +%check +%{cargo_test} + +%changelog