Initial import; Fixes: RHBZ#2224770

epel10
Davide Cavalca 2 years ago
parent 76393baf70
commit 3d18f6b7a7

1
.gitignore vendored

@ -0,0 +1 @@
/lv2-0.6.0.crate

@ -0,0 +1,242 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate lv2
Name: rust-lv2
Version: 0.6.0
Release: %autorelease
Summary: Safe, fast, and ergonomic framework to create LV2 plugins
License: MIT OR Apache-2.0
URL: https://crates.io/crates/lv2
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
# Not supported by rust-lv2
ExcludeArch: ppc64le s390x
%global _description %{expand:
A safe, fast, and ergonomic framework to create LV2 plugins.}
%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
%license %{crate_instdir}/docs/LICENSE.md
%doc %{crate_instdir}/CONTRIBUTING.md
%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
%package -n %{name}+full-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+full-devel %{_description}
This package contains library source intended for building other packages which
use the "full" feature of the "%{crate}" crate.
%files -n %{name}+full-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lv2-atom-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lv2-atom-devel %{_description}
This package contains library source intended for building other packages which
use the "lv2-atom" feature of the "%{crate}" crate.
%files -n %{name}+lv2-atom-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lv2-core-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lv2-core-devel %{_description}
This package contains library source intended for building other packages which
use the "lv2-core" feature of the "%{crate}" crate.
%files -n %{name}+lv2-core-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lv2-midi-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lv2-midi-devel %{_description}
This package contains library source intended for building other packages which
use the "lv2-midi" feature of the "%{crate}" crate.
%files -n %{name}+lv2-midi-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lv2-state-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lv2-state-devel %{_description}
This package contains library source intended for building other packages which
use the "lv2-state" feature of the "%{crate}" crate.
%files -n %{name}+lv2-state-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lv2-sys-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lv2-sys-devel %{_description}
This package contains library source intended for building other packages which
use the "lv2-sys" feature of the "%{crate}" crate.
%files -n %{name}+lv2-sys-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lv2-time-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lv2-time-devel %{_description}
This package contains library source intended for building other packages which
use the "lv2-time" feature of the "%{crate}" crate.
%files -n %{name}+lv2-time-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lv2-units-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lv2-units-devel %{_description}
This package contains library source intended for building other packages which
use the "lv2-units" feature of the "%{crate}" crate.
%files -n %{name}+lv2-units-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lv2-urid-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lv2-urid-devel %{_description}
This package contains library source intended for building other packages which
use the "lv2-urid" feature of the "%{crate}" crate.
%files -n %{name}+lv2-urid-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lv2-worker-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lv2-worker-devel %{_description}
This package contains library source intended for building other packages which
use the "lv2-worker" feature of the "%{crate}" crate.
%files -n %{name}+lv2-worker-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+minimal_plugin-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+minimal_plugin-devel %{_description}
This package contains library source intended for building other packages which
use the "minimal_plugin" feature of the "%{crate}" crate.
%files -n %{name}+minimal_plugin-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+plugin-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+plugin-devel %{_description}
This package contains library source intended for building other packages which
use the "plugin" feature of the "%{crate}" crate.
%files -n %{name}+plugin-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+urid-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+urid-devel %{_description}
This package contains library source intended for building other packages which
use the "urid" feature of the "%{crate}" crate.
%files -n %{name}+urid-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+wmidi-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+wmidi-devel %{_description}
This package contains library source intended for building other packages which
use the "wmidi" feature of the "%{crate}" crate.
%files -n %{name}+wmidi-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-0.6.0.crate) = 062c3fd2f642fb9dc1e97a3bd38c7cfc84f501866f540466b48bd075f81f30f02bee165079140be3ec2772a58aa3263b6f130e0d23ff95b123e679480dcf64ad
Loading…
Cancel
Save