You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-lv2/SPECS/rust-lv2.spec

265 lines
7.3 KiB

## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 3;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# 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
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.6.0-3
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Jul 25 2023 Davide Cavalca <dcavalca@fedoraproject.org> - 0.6.0-1
- Initial import; Fixes: RHBZ#2224770
## END: Generated by rpmautospec