diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2024-05-01 14:30:20 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2024-05-01 14:30:20 +0000 |
commit | ec30a984c7e1bd89cad0eca44dc7a534a269d94e (patch) | |
tree | 25ad910449bca92eaa96579a2ac0e8b51461c7d9 | |
parent | 2f613484949252285a8c7c3dc8638b6a4602523a (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rust-ssh-cipher.spec | 146 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 148 insertions, 0 deletions
@@ -0,0 +1 @@ +/ssh-cipher-0.2.0.crate diff --git a/rust-ssh-cipher.spec b/rust-ssh-cipher.spec new file mode 100644 index 0000000..68099d3 --- /dev/null +++ b/rust-ssh-cipher.spec @@ -0,0 +1,146 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate ssh-cipher + +Name: rust-ssh-cipher +Version: 0.2.0 +Release: %autorelease +Summary: Pure Rust implementation of SSH symmetric encryption + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/ssh-cipher +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Pure Rust implementation of SSH symmetric encryption including support +for the modern aes128-gcm@openssh.com/aes256-gcm@openssh.com and +chacha20-poly1305@openssh.com algorithms as well as legacy support for +older ciphers. Built on the pure Rust cryptography implementations +maintained by the RustCrypto organization.} + +%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}+aes-cbc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+aes-cbc-devel %{_description} + +This package contains library source intended for building other packages which +use the "aes-cbc" feature of the "%{crate}" crate. + +%files -n %{name}+aes-cbc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+aes-ctr-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+aes-ctr-devel %{_description} + +This package contains library source intended for building other packages which +use the "aes-ctr" feature of the "%{crate}" crate. + +%files -n %{name}+aes-ctr-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+aes-gcm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+aes-gcm-devel %{_description} + +This package contains library source intended for building other packages which +use the "aes-gcm" feature of the "%{crate}" crate. + +%files -n %{name}+aes-gcm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+chacha20poly1305-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chacha20poly1305-devel %{_description} + +This package contains library source intended for building other packages which +use the "chacha20poly1305" feature of the "%{crate}" crate. + +%files -n %{name}+chacha20poly1305-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}+tdes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tdes-devel %{_description} + +This package contains library source intended for building other packages which +use the "tdes" feature of the "%{crate}" crate. + +%files -n %{name}+tdes-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -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 @@ +bc32a4ef838fed1786ea6cd1278e6732 ssh-cipher-0.2.0.crate |