commit c95b5c6917f23a978aee9065ec7a80a845a00a6b Author: MSVSphere Packaging Team Date: Fri Dec 20 16:16:47 2024 +0300 import rust-lv2-core-3.0.0-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45aec1c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lv2-core-3.0.0.crate diff --git a/.rust-lv2-core.metadata b/.rust-lv2-core.metadata new file mode 100644 index 0000000..0af1f8a --- /dev/null +++ b/.rust-lv2-core.metadata @@ -0,0 +1 @@ +32d5091a3445745bd9fc5ead558781c4ef2128a3 SOURCES/lv2-core-3.0.0.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..9334734 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-lv2-core + +The rust-lv2-core package diff --git a/SPECS/rust-lv2-core.spec b/SPECS/rust-lv2-core.spec new file mode 100644 index 0000000..f42b21c --- /dev/null +++ b/SPECS/rust-lv2-core.spec @@ -0,0 +1,94 @@ +## 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-core + +Name: rust-lv2-core +Version: 3.0.0 +Release: %autorelease +Summary: Rust-lv2's core library + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/lv2-core +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +# Not supported by rust-lv2 +ExcludeArch: ppc64le s390x + +%global _description %{expand: +Rust-lv2's core 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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 3.0.0-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 3.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 3.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jul 23 2023 Davide Cavalca - 3.0.0-1 +- Initial import; Fixes: RHBZ#2224761 +## END: Generated by rpmautospec