Initial import; Fixes: RHBZ#2224767

epel10
Davide Cavalca 2 years ago
parent 1945bd8b20
commit b4927153db

1
.gitignore vendored

@ -0,0 +1 @@
/lv2-state-2.0.0.crate

@ -0,0 +1,11 @@
--- lv2-state-2.0.0/Cargo.toml 2020-10-23T15:19:57+00:00
+++ lv2-state-2.0.0/Cargo.toml 2023-07-22T17:21:13.702257+00:00
@@ -34,7 +34,7 @@
version = "2.1.0"
[dev-dependencies.mktemp]
-version = "0.4.0"
+version = "0.5"
[badges.maintenance]
status = "passively-maintained"

@ -0,0 +1,75 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate lv2-state
Name: rust-lv2-state
Version: 2.0.0
Release: %autorelease
Summary: Rust-lv2's state handling library
License: MIT OR Apache-2.0
URL: https://crates.io/crates/lv2-state
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * bump mktemp to 0.5
Patch: lv2-state-fix-metadata.diff
BuildRequires: rust-packaging >= 21
# Not supported by rust-lv2
ExcludeArch: ppc64le s390x
%global _description %{expand:
Rust-lv2's state handling 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-state-2.0.0.crate) = f40b705deda782fcb2028c2cf44b7d5348373433211f56d1bfc669e37480c41482f8fd679b4869fa4fbc7216f80eb0cca4c9eb7f238b7fa1410baf844beff20d
Loading…
Cancel
Save