parent
6e71e12d3e
commit
7e71ea2096
@ -0,0 +1 @@
|
||||
/bankstown-lv2-1.0.0.crate
|
@ -0,0 +1,61 @@
|
||||
# Generated by rust2rpm 25
|
||||
%bcond_without check
|
||||
|
||||
%global crate bankstown-lv2
|
||||
|
||||
Name: rust-bankstown-lv2
|
||||
Version: 1.0.0
|
||||
Release: %autorelease
|
||||
Summary: Barebones, fast LV2 bass enhancement plugin
|
||||
|
||||
License: MIT
|
||||
URL: https://crates.io/crates/bankstown-lv2
|
||||
Source: %{crates_source}
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: make
|
||||
|
||||
# Not supported by rust-lv2
|
||||
ExcludeArch: ppc64le s390x
|
||||
|
||||
%global _description %{expand:
|
||||
Bankstown is a barebones, fast LV2 bass enhancement plugin implementing
|
||||
halfway-decent three-stage psychoacoustic bass approximation.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
License: MIT OR Apache-2.0
|
||||
Requires: lv2
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%doc README.md
|
||||
%{_libdir}/lv2/bankstown.lv2/
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version} -p1
|
||||
%cargo_prep
|
||||
|
||||
%generate_buildrequires
|
||||
%cargo_generate_buildrequires
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%{cargo_license_summary}
|
||||
%{cargo_license} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
%make_install LIBDIR="%{_libdir}"
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
Loading…
Reference in new issue