commit 2ffb16b17a89faa08c4a9cb34d8d7fc0ca071c76 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:16:35 2024 +0300 import rust-lv2-atom-2.0.0-4.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..17b8711 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lv2-atom-2.0.0.crate diff --git a/.rust-lv2-atom.metadata b/.rust-lv2-atom.metadata new file mode 100644 index 0000000..24a4aca --- /dev/null +++ b/.rust-lv2-atom.metadata @@ -0,0 +1 @@ +367d6589e225aab2754b0eb5a894ef82cf57ba2b SOURCES/lv2-atom-2.0.0.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..26a946f --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-lv2-atom + +The rust-lv2-atom package diff --git a/SPECS/rust-lv2-atom.spec b/SPECS/rust-lv2-atom.spec new file mode 100644 index 0000000..98f68d9 --- /dev/null +++ b/SPECS/rust-lv2-atom.spec @@ -0,0 +1,113 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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-atom + +Name: rust-lv2-atom +Version: 2.0.0 +Release: %autorelease +Summary: Rust-lv2's Atom handling library + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/lv2-atom +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +# Not supported by rust-lv2 +ExcludeArch: ppc64le s390x + +%global _description %{expand: +Rust-lv2's Atom handling 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 + +%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 + +%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 +%ifarch aarch64 +# Remove broken test that fails to compile +rm tests/atom_integration.rs +%endif +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 2.0.0-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 2.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 2.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jul 24 2023 Davide Cavalca - 2.0.0-2 +- Stub out broken test on aarch64 + +* Sun Jul 23 2023 Davide Cavalca - 2.0.0-1 +- Initial import; Fixes: RHBZ#2224764 +## END: Generated by rpmautospec