Initial import; Fixes: RHBZ#2224765

epel10
Davide Cavalca 2 years ago
parent 216dc26531
commit 8618ab1161

1
.gitignore vendored

@ -0,0 +1 @@
/lv2-time-0.1.3.crate

@ -0,0 +1,72 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate lv2-time
Name: rust-lv2-time
Version: 0.1.3
Release: %autorelease
Summary: Rust-lv2's wrapper of LV2's time types
License: MIT OR Apache-2.0
URL: https://crates.io/crates/lv2-time
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
# Not supported by rust-lv2
ExcludeArch: ppc64le s390x
%global _description %{expand:
Rust-lv2's wrapper of LV2's time types.}
%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}/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 (lv2-time-0.1.3.crate) = 42cd5ac29317b13f075d145b26967a439db158a51ccc17bbd76501bbc223a3adeb7ea5c507b57fd44bcac39e1cac297cbab50bb5503f117def720c559d770cfd
Loading…
Cancel
Save