Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Dead_Mozay:rust:crates
rust-bindgen
rust-bindgen.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rust-bindgen.spec of Package rust-bindgen
# # spec file for package rust-bindgen # # Copyright (c) 2020 Dead Mozay <dead_mozay@opensuse.org>. # # 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/ # # Generated by rust2rpm 13-13-33.5 %bcond_without check %global crate bindgen Name: rust-%{crate} Version: 0.53.1 Release: 0 Summary: Automatically generates Rust FFI bindings to C and C++ libraries Group: Development/Libraries/Rust # Upstream license specification: BSD-3-Clause License: BSD-3-Clause URL: https://crates.io/crates/bindgen Source: %{crates_source} # PATCH-FIX-OPENSUSE bindgen-fix-metadata.diff -- Initial patched metadata Patch0: bindgen-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging BuildRequires: (crate(bitflags/default) >= 1.0.3 with crate(bitflags/default) < 2.0.0) BuildRequires: (crate(cexpr/default) >= 0.3.6 with crate(cexpr/default) < 0.4.0) BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) BuildRequires: (crate(clang-sys/clang_6_0) >= 0.29.0 with crate(clang-sys/clang_6_0) < 0.30.0) BuildRequires: (crate(clang-sys/default) >= 0.29.0 with crate(clang-sys/default) < 0.30.0) BuildRequires: (crate(clang-sys/runtime) >= 0.29.0 with crate(clang-sys/runtime) < 0.30.0) BuildRequires: (crate(clap/default) >= 2.0.0 with crate(clap/default) < 3.0.0) BuildRequires: (crate(env_logger/default) >= 0.7.0 with crate(env_logger/default) < 0.8.0) BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(lazycell/default) >= 1.0.0 with crate(lazycell/default) < 2.0.0) BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) BuildRequires: (crate(peeking_take_while/default) >= 0.1.2 with crate(peeking_take_while/default) < 0.2.0) BuildRequires: (crate(proc-macro2) >= 1.0.0 with crate(proc-macro2) < 2.0.0) BuildRequires: (crate(quote) >= 1.0.0 with crate(quote) < 2.0.0) BuildRequires: (crate(regex/std) >= 1.0.0 with crate(regex/std) < 2.0.0) BuildRequires: (crate(regex/unicode) >= 1.0.0 with crate(regex/unicode) < 2.0.0) BuildRequires: (crate(rustc-hash/default) >= 1.0.1 with crate(rustc-hash/default) < 2.0.0) BuildRequires: (crate(shlex/default) >= 0.1.0 with crate(shlex/default) < 0.2.0) BuildRequires: (crate(which) >= 3.0.0 with crate(which) < 4.0.0) %if %{with check} BuildRequires: (crate(clap/default) >= 2.0.0 with crate(clap/default) < 3.0.0) BuildRequires: (crate(diff/default) >= 0.1.0 with crate(diff/default) < 0.2.0) BuildRequires: (crate(shlex/default) >= 0.1.0 with crate(shlex/default) < 0.2.0) %endif %global _description %{expand: Automatically generates Rust FFI bindings to C and C++ libraries.} %description %{_description} %if ! %{__cargo_skip_build} %package -n %{crate} Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} %doc README.md %license LICENSE %{_bindir}/bindgen %endif %package devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+clap-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+clap-devel %{_description} This package contains library source intended for building other packages which use "clap" feature of "%{crate}" crate. %files -n %{name}+clap-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+env_logger-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+env_logger-devel %{_description} This package contains library source intended for building other packages which use "env_logger" feature of "%{crate}" crate. %files -n %{name}+env_logger-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+log-devel %{_description} This package contains library source intended for building other packages which use "log" feature of "%{crate}" crate. %files -n %{name}+log-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+logging-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+logging-devel %{_description} This package contains library source intended for building other packages which use "logging" feature of "%{crate}" crate. %files -n %{name}+logging-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+runtime-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+runtime-devel %{_description} This package contains library source intended for building other packages which use "runtime" feature of "%{crate}" crate. %files -n %{name}+runtime-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+static-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+static-devel %{_description} This package contains library source intended for building other packages which use "static" feature of "%{crate}" crate. %files -n %{name}+static-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+testing_only_docs-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+testing_only_docs-devel %{_description} This package contains library source intended for building other packages which use "testing_only_docs" feature of "%{crate}" crate. %files -n %{name}+testing_only_docs-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+testing_only_extra_assertions-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+testing_only_extra_assertions-devel %{_description} This package contains library source intended for building other packages which use "testing_only_extra_assertions" feature of "%{crate}" crate. %files -n %{name}+testing_only_extra_assertions-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+testing_only_libclang_3_8-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+testing_only_libclang_3_8-devel %{_description} This package contains library source intended for building other packages which use "testing_only_libclang_3_8" feature of "%{crate}" crate. %files -n %{name}+testing_only_libclang_3_8-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+testing_only_libclang_3_9-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+testing_only_libclang_3_9-devel %{_description} This package contains library source intended for building other packages which use "testing_only_libclang_3_9" feature of "%{crate}" crate. %files -n %{name}+testing_only_libclang_3_9-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+testing_only_libclang_4-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+testing_only_libclang_4-devel %{_description} This package contains library source intended for building other packages which use "testing_only_libclang_4" feature of "%{crate}" crate. %files -n %{name}+testing_only_libclang_4-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+testing_only_libclang_5-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+testing_only_libclang_5-devel %{_description} This package contains library source intended for building other packages which use "testing_only_libclang_5" feature of "%{crate}" crate. %files -n %{name}+testing_only_libclang_5-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+testing_only_libclang_9-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+testing_only_libclang_9-devel %{_description} This package contains library source intended for building other packages which use "testing_only_libclang_9" feature of "%{crate}" crate. %files -n %{name}+testing_only_libclang_9-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+which-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+which-devel %{_description} This package contains library source intended for building other packages which use "which" feature of "%{crate}" crate. %files -n %{name}+which-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+which-rustfmt-devel Summary: %{summary} Group: Development/Libraries/Rust BuildArch: noarch %description -n %{name}+which-rustfmt-devel %{_description} This package contains library source intended for building other packages which use "which-rustfmt" feature of "%{crate}" crate. %files -n %{name}+which-rustfmt-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor