From 4291e8710acc7b70fb8a1d9b8f91c89a797b4bd0 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:15:18 +0300 Subject: [PATCH] import rust-cursor-icon-1.1.0-3.el10 --- .gitignore | 1 + .rust-cursor-icon.metadata | 1 + SPECS/rust-cursor-icon.spec | 129 ++++++++++++++++++++++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-cursor-icon.metadata create mode 100644 SPECS/rust-cursor-icon.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc72872 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cursor-icon-1.1.0.crate diff --git a/.rust-cursor-icon.metadata b/.rust-cursor-icon.metadata new file mode 100644 index 0000000..72ffa2e --- /dev/null +++ b/.rust-cursor-icon.metadata @@ -0,0 +1 @@ +666d4fd8d3fa2bb85f789693d087932b35a85a1b SOURCES/cursor-icon-1.1.0.crate diff --git a/SPECS/rust-cursor-icon.spec b/SPECS/rust-cursor-icon.spec new file mode 100644 index 0000000..72bbfa5 --- /dev/null +++ b/SPECS/rust-cursor-icon.spec @@ -0,0 +1,129 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate cursor-icon + +Name: rust-cursor-icon +Version: 1.1.0 +Release: %autorelease +Summary: Cross platform cursor icon type + +License: MIT OR Apache-2.0 OR Zlib +URL: https://crates.io/crates/cursor-icon +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Cross platform cursor icon type.} + +%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}/LICENSE-ZLIB +%doc %{crate_instdir}/CHANGELOG.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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -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 - 1.1.0-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Dec 28 2023 Aleksei Bavshin - 1.1.0-1 +- Initial import (rhbz#2255178) +## END: Generated by rpmautospec