Initial import; Fixes: RHBZ#2224763

epel10
Davide Cavalca 2 years ago
parent 14dd418ee4
commit 1acae3110f

1
.gitignore vendored

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

@ -0,0 +1,72 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate lv2-units
Name: rust-lv2-units
Version: 0.1.3
Release: %autorelease
Summary: Rust-lv2's wrapper of LV2's unit types
License: MIT OR Apache-2.0
URL: https://crates.io/crates/lv2-units
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 unit 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-units-0.1.3.crate) = f95316a912ed461e1a7db4f033831c8b8ed53f5a0837b1fb51513f9ee4f7a486724274e0dac19674bc91526f9d3a76999ad4bf8b2636d2a0521909c285f02adf
Loading…
Cancel
Save