Initial import

epel10
Orion Poplawski 2 years ago
parent 70a77707da
commit 555d432a59

1
.gitignore vendored

@ -0,0 +1 @@
/lebe-0.5.2.crate

@ -0,0 +1,70 @@
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate lebe
Name: rust-lebe
Version: 0.5.2
Release: %autorelease
Summary: Tiny, dead simple, high performance endianness conversions with a generic API
License: BSD-3-Clause
URL: https://crates.io/crates/lebe
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Tiny, dead simple, high performance endianness conversions with a generic API.}
%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-BSD-3-Clause
%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
%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 (lebe-0.5.2.crate) = ae8fce41c9a934999dad672ad74acabac9d7998aac4f1d03b54910d4b941375b9e9721cb1bfc8cd7cfcc4206fc0b18d725b0ea256a3a10a125a8d5848ed761ae
Loading…
Cancel
Save