commit 388b518ba896520d39017c7f05846f96790ef835 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:16:23 2024 +0300 import rust-lv2-0.6.0-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..203fd6b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lv2-0.6.0.crate diff --git a/.rust-lv2.metadata b/.rust-lv2.metadata new file mode 100644 index 0000000..12c9a00 --- /dev/null +++ b/.rust-lv2.metadata @@ -0,0 +1 @@ +a1125429175f02ba2a1d5dc5187346c254e9238f SOURCES/lv2-0.6.0.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..1901360 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-lv2 + +The rust-lv2 package diff --git a/SPECS/rust-lv2.spec b/SPECS/rust-lv2.spec new file mode 100644 index 0000000..5474c1b --- /dev/null +++ b/SPECS/rust-lv2.spec @@ -0,0 +1,264 @@ +## 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 - 0.6.0-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Jul 25 2023 Davide Cavalca - 0.6.0-1 +- Initial import; Fixes: RHBZ#2224770 +## END: Generated by rpmautospec