# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate num-format Name: rust-%{crate} Version: 0.4.0 Release: 1%{?dist} Summary: Rust crate for producing string-representations of numbers, formatted according to international standards # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/num-format Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Rust crate for producing string-representations of numbers, formatted according to international standards.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT %doc README.md README.tpl %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+cfg-if-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cfg-if-devel %{_description} This package contains library source intended for building other packages which use "cfg-if" feature of "%{crate}" crate. %files -n %{name}+cfg-if-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+encoding_rs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+encoding_rs-devel %{_description} This package contains library source intended for building other packages which use "encoding_rs" feature of "%{crate}" crate. %files -n %{name}+encoding_rs-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "lazy_static" feature of "%{crate}" crate. %files -n %{name}+lazy_static-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+libc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libc-devel %{_description} This package contains library source intended for building other packages which use "libc" feature of "%{crate}" crate. %files -n %{name}+libc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+num-bigint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+num-bigint-devel %{_description} This package contains library source intended for building other packages which use "num-bigint" feature of "%{crate}" crate. %files -n %{name}+num-bigint-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+num-format-windows-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+num-format-windows-devel %{_description} This package contains library source intended for building other packages which use "num-format-windows" feature of "%{crate}" crate. %files -n %{name}+num-format-windows-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+widestring-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+widestring-devel %{_description} This package contains library source intended for building other packages which use "widestring" feature of "%{crate}" crate. %files -n %{name}+widestring-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+winapi-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+winapi-devel %{_description} This package contains library source intended for building other packages which use "winapi" feature of "%{crate}" crate. %files -n %{name}+winapi-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+with-num-bigint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-num-bigint-devel %{_description} This package contains library source intended for building other packages which use "with-num-bigint" feature of "%{crate}" crate. %files -n %{name}+with-num-bigint-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+with-serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-serde-devel %{_description} This package contains library source intended for building other packages which use "with-serde" feature of "%{crate}" crate. %files -n %{name}+with-serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+with-system-locale-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-system-locale-devel %{_description} This package contains library source intended for building other packages which use "with-system-locale" feature of "%{crate}" crate. %files -n %{name}+with-system-locale-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %changelog %autochangelog