Initial import; Fixes: RHBZ#2224761

epel10
Davide Cavalca 2 years ago
parent a6ad914871
commit 36f670cde0

1
.gitignore vendored

@ -0,0 +1 @@
/lv2-core-3.0.0.crate

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