commit 7a262c2a448362622bc6853c9ac5c89b3737815f Author: tigro Date: Mon Jan 15 20:36:46 2024 +0300 import rust-bindgen0.63-0.63.0-1.el9 diff --git a/.rust-bindgen0.63.metadata b/.rust-bindgen0.63.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/bindgen-0.63.0.crate b/SOURCES/bindgen-0.63.0.crate new file mode 100644 index 0000000..503d943 Binary files /dev/null and b/SOURCES/bindgen-0.63.0.crate differ diff --git a/SPECS/rust-bindgen0.63.spec b/SPECS/rust-bindgen0.63.spec new file mode 100644 index 0000000..19ec631 --- /dev/null +++ b/SPECS/rust-bindgen0.63.spec @@ -0,0 +1,202 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate bindgen + +Name: rust-bindgen0.63 +Version: 0.63.0 +Release: %autorelease +Summary: Automatically generates Rust FFI bindings to C and C++ libraries + +License: BSD-3-Clause +URL: https://crates.io/crates/bindgen +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Automatically generates Rust FFI bindings to C and C++ libraries.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+log-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+log-devel %{_description} + +This package contains library source intended for building other packages which +use the "log" feature of the "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+logging-devel %{_description} + +This package contains library source intended for building other packages which +use the "logging" feature of the "%{crate}" crate. + +%files -n %{name}+logging-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+runtime-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+runtime-devel %{_description} + +This package contains library source intended for building other packages which +use the "runtime" feature of the "%{crate}" crate. + +%files -n %{name}+runtime-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+static-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+static-devel %{_description} + +This package contains library source intended for building other packages which +use the "static" feature of the "%{crate}" crate. + +%files -n %{name}+static-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+testing_only_docs-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+testing_only_docs-devel %{_description} + +This package contains library source intended for building other packages which +use the "testing_only_docs" feature of the "%{crate}" crate. + +%files -n %{name}+testing_only_docs-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+testing_only_extra_assertions-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+testing_only_extra_assertions-devel %{_description} + +This package contains library source intended for building other packages which +use the "testing_only_extra_assertions" feature of the "%{crate}" crate. + +%files -n %{name}+testing_only_extra_assertions-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+testing_only_libclang_5-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+testing_only_libclang_5-devel %{_description} + +This package contains library source intended for building other packages which +use the "testing_only_libclang_5" feature of the "%{crate}" crate. + +%files -n %{name}+testing_only_libclang_5-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+testing_only_libclang_9-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+testing_only_libclang_9-devel %{_description} + +This package contains library source intended for building other packages which +use the "testing_only_libclang_9" feature of the "%{crate}" crate. + +%files -n %{name}+testing_only_libclang_9-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+which-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+which-devel %{_description} + +This package contains library source intended for building other packages which +use the "which" feature of the "%{crate}" crate. + +%files -n %{name}+which-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+which-rustfmt-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+which-rustfmt-devel %{_description} + +This package contains library source intended for building other packages which +use the "which-rustfmt" feature of the "%{crate}" crate. + +%files -n %{name}+which-rustfmt-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.63.0-1 +- Rebuilt for MSVSphere 9.3 + +* Sun Sep 17 2023 Fabio Valentini - 0.63.0-1 +- Initial import (bindgen 0.63 compat package)