diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8d1479f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/bitvec_helpers-*.crate diff --git a/rust-bitvec_helpers.spec b/rust-bitvec_helpers.spec new file mode 100644 index 0000000..4c14793 --- /dev/null +++ b/rust-bitvec_helpers.spec @@ -0,0 +1,92 @@ +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate bitvec_helpers + +Name: rust-bitvec_helpers +Version: 3.1.2 +Release: %autorelease +Summary: BitVec based bitstream reader and writer + +License: MIT +URL: https://crates.io/crates/bitvec_helpers +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +BitVec based bitstream reader and writer.} + +%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}+bitstream-io-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bitstream-io-devel %{_description} + +This package contains library source intended for building other packages which +use the "bitstream-io" feature of the "%{crate}" crate. + +%files -n %{name}+bitstream-io-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+bitvec-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bitvec-devel %{_description} + +This package contains library source intended for building other packages which +use the "bitvec" feature of the "%{crate}" crate. + +%files -n %{name}+bitvec-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 +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..0e13572 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (bitvec_helpers-3.1.2.crate) = deca709f063d07532292902076a5b1b7f5a9e34993d108eac57bc5f5252056391b1ac6a32005ce3fa731a707c5609771a45250af095e8031902f0893302d5102