Initial package

epel9
Peter Robinson 5 years ago
parent a04767570f
commit 7ca4f84dfb

1
.gitignore vendored

@ -0,0 +1 @@
/keccak-0.1.0.crate

@ -0,0 +1,85 @@
# Generated by rust2rpm 13
%bcond_without check
%global debug_package %{nil}
%global crate keccak
Name: rust-%{crate}
Version: 0.1.0
Release: 1%{?dist}
Summary: Keccak-f sponge function
# Upstream license specification: CC0-1.0
License: CC0
URL: https://crates.io/crates/keccak
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Keccak-f sponge function.}
%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
%{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}+no_unroll-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+no_unroll-devel %{_description}
This package contains library source intended for building other packages
which use "no_unroll" feature of "%{crate}" crate.
%files -n %{name}+no_unroll-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
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Sat Jul 18 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.1.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (keccak-0.1.0.crate) = 5514a50d52979ed616290309cb27d17fd1521ee89ff51131fc2cd2ab38bae2a22f00749b8de2ab75420d557c7400b4f59a9bddaa532efffb22a5fed5fbcdf65d
Loading…
Cancel
Save