Initial import (#2211916)

epel9 imports/e9/rust-cbc-0.1.2-1.el9
Fabio Valentini 2 years ago
parent 74f49a0d18
commit 12a7d68256
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/cbc-0.1.2.crate

@ -1,3 +0,0 @@
# rust-cbc
The rust-cbc package

@ -0,0 +1,118 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate cbc
Name: rust-cbc
Version: 0.1.2
Release: %autorelease
Summary: Cipher Block Chaining (CBC) block cipher mode of operation
License: MIT OR Apache-2.0
URL: https://crates.io/crates/cbc
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Cipher Block Chaining (CBC) block cipher mode of operation.}
%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-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%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}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+block-padding-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+block-padding-devel %{_description}
This package contains library source intended for building other packages which
use the "block-padding" feature of the "%{crate}" crate.
%files -n %{name}+block-padding-devel
%ghost %{crate_instdir}/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 the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+zeroize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zeroize-devel %{_description}
This package contains library source intended for building other packages which
use the "zeroize" feature of the "%{crate}" crate.
%files -n %{name}+zeroize-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

@ -0,0 +1 @@
SHA512 (cbc-0.1.2.crate) = d3b33deff64d839ad25141f1c3b5fbeaa21f71aee7b58dbed91e7d257f93e68073c8d4a63d4c4eb9775c20f00bb0ceeee714a8218e85a231f30cd7423022f820
Loading…
Cancel
Save