From 8834861ca27fee110accd54c66920e345c3ad66a6f6c84178e3c6215a5a68c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 00:23:38 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main rust-bindgen revision 0d88da98ea994db8849d74c06a82dba3 --- .gitattributes | 23 +++++++++++++++++ _service | 9 +++++++ cargo_config | 5 ++++ rust-bindgen-0.63.0.tar.gz | 3 +++ rust-bindgen.changes | 4 +++ rust-bindgen.spec | 52 ++++++++++++++++++++++++++++++++++++++ vendor.tar.xz | 3 +++ 7 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 cargo_config create mode 100644 rust-bindgen-0.63.0.tar.gz create mode 100644 rust-bindgen.changes create mode 100644 rust-bindgen.spec create mode 100644 vendor.tar.xz 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..753eb93 --- /dev/null +++ b/_service @@ -0,0 +1,9 @@ + + + rust-bindgen-0.63.0 + true + + + rust-bindgen-0.63.0 + + 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/rust-bindgen-0.63.0.tar.gz b/rust-bindgen-0.63.0.tar.gz new file mode 100644 index 0000000..df32352 --- /dev/null +++ b/rust-bindgen-0.63.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fdfea04da35b9f602967426e4a5893e4efb453bceb0d7954efb1b3c88caaf33 +size 2280505 diff --git a/rust-bindgen.changes b/rust-bindgen.changes new file mode 100644 index 0000000..0dd883d --- /dev/null +++ b/rust-bindgen.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Jan 15 14:20:26 UTC 2023 - Martin Hauke + +- Initial package, version 0.63.0 diff --git a/rust-bindgen.spec b/rust-bindgen.spec new file mode 100644 index 0000000..c48231f --- /dev/null +++ b/rust-bindgen.spec @@ -0,0 +1,52 @@ +# +# spec file for package rust-bindgen +# +# Copyright (c) 2023, Martin Hauke +# +# 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: rust-bindgen +Version: 0.63.0 +Release: 0 +Summary: Automatically generates Rust FFI bindings to C and C++ libraries +License: BSD-3-Clause +Group: Development/Languages/Rust +#Git-Clone: https://github.com/rust-lang/rust-bindgen.git +URL: https://rust-lang.github.io/rust-bindgen/ +Source: https://github.com/rust-lang/rust-bindgen/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: cargo +BuildRequires: cargo-packaging +BuildRequires: rust + +%description +Automatically generates Rust FFI bindings to C (and some C++) libraries. + +%prep +%autosetup -p 1 -a 1 +install -D -m 0644 %{SOURCE2} .cargo/config + +%build +%{cargo_build} + +%install +install -D -m 0755 target/release/bindgen %{buildroot}%{_bindir}/bindgen + +%files +%license LICENSE +%doc CHANGELOG.md README.md +%{_bindir}/bindgen + +%changelog diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..0990bf0 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87f76c4f6b76566bdece470d64637a737b44398a167b1d1e36d457d94d0349e7 +size 7018508