# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate clang-sys Name: rust-clang-sys0.13 Version: 0.13.0 Release: %autorelease Summary: Rust bindings for libclang License: Apache-2.0 URL: https://crates.io/crates/clang-sys Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust bindings for libclang.} %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.txt %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch Requires: clang-devel >= 3.5 %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}+clang_3_5-devel Summary: %{summary} BuildArch: noarch Requires: clang-devel >= 3.5 %description -n %{name}+clang_3_5-devel %{_description} This package contains library source intended for building other packages which use the "clang_3_5" feature of the "%{crate}" crate. %files -n %{name}+clang_3_5-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+clang_3_6-devel Summary: %{summary} BuildArch: noarch Requires: clang-devel >= 3.6 %description -n %{name}+clang_3_6-devel %{_description} This package contains library source intended for building other packages which use the "clang_3_6" feature of the "%{crate}" crate. %files -n %{name}+clang_3_6-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+clang_3_7-devel Summary: %{summary} BuildArch: noarch Requires: clang-devel >= 3.7 %description -n %{name}+clang_3_7-devel %{_description} This package contains library source intended for building other packages which use the "clang_3_7" feature of the "%{crate}" crate. %files -n %{name}+clang_3_7-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+clang_3_8-devel Summary: %{summary} BuildArch: noarch Requires: clang-devel >= 3.8 %description -n %{name}+clang_3_8-devel %{_description} This package contains library source intended for building other packages which use the "clang_3_8" feature of the "%{crate}" crate. %files -n %{name}+clang_3_8-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+clang_3_9-devel Summary: %{summary} BuildArch: noarch Requires: clang-devel >= 3.9 %description -n %{name}+clang_3_9-devel %{_description} This package contains library source intended for building other packages which use the "clang_3_9" feature of the "%{crate}" crate. %files -n %{name}+clang_3_9-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+clippy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+clippy-devel %{_description} This package contains library source intended for building other packages which use the "clippy" feature of the "%{crate}" crate. %files -n %{name}+clippy-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gte_clang_3_6-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gte_clang_3_6-devel %{_description} This package contains library source intended for building other packages which use the "gte_clang_3_6" feature of the "%{crate}" crate. %files -n %{name}+gte_clang_3_6-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gte_clang_3_7-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gte_clang_3_7-devel %{_description} This package contains library source intended for building other packages which use the "gte_clang_3_7" feature of the "%{crate}" crate. %files -n %{name}+gte_clang_3_7-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gte_clang_3_8-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gte_clang_3_8-devel %{_description} This package contains library source intended for building other packages which use the "gte_clang_3_8" feature of the "%{crate}" crate. %files -n %{name}+gte_clang_3_8-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gte_clang_3_9-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gte_clang_3_9-devel %{_description} This package contains library source intended for building other packages which use the "gte_clang_3_9" feature of the "%{crate}" crate. %files -n %{name}+gte_clang_3_9-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lazy_static-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lazy_static-devel %{_description} This package contains library source intended for building other packages which use the "lazy_static" feature of the "%{crate}" crate. %files -n %{name}+lazy_static-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libloading-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libloading-devel %{_description} This package contains library source intended for building other packages which use the "libloading" feature of the "%{crate}" crate. %files -n %{name}+libloading-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 %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires echo 'clang-devel >= 3.5' %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog