From d2074aed1007bb2f0fea9cdc71cd1b540f197268 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 18:06:32 +0300 Subject: [PATCH] import rust-wayland-backend-0.3.7-1.el10 --- .gitignore | 1 + .rust-wayland-backend.metadata | 1 + SOURCES/rust2rpm.toml | 4 + SPECS/rust-wayland-backend.spec | 176 ++++++++++++++++++++++++++++++++ 4 files changed, 182 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-wayland-backend.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-wayland-backend.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..af18235 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/wayland-backend-0.3.7.crate diff --git a/.rust-wayland-backend.metadata b/.rust-wayland-backend.metadata new file mode 100644 index 0000000..f2b87d0 --- /dev/null +++ b/.rust-wayland-backend.metadata @@ -0,0 +1 @@ +dc84d5a35a9411ca40cfcb54d509b404b0a6f2af SOURCES/wayland-backend-0.3.7.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..553347c --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/SPECS/rust-wayland-backend.spec b/SPECS/rust-wayland-backend.spec new file mode 100644 index 0000000..f76dbd4 --- /dev/null +++ b/SPECS/rust-wayland-backend.spec @@ -0,0 +1,176 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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 26 +# * tests can only be run in-tree +%bcond_with check +%global debug_package %{nil} + +%global crate wayland-backend + +Name: rust-wayland-backend +Version: 0.3.7 +Release: %autorelease +Summary: Low-level bindings to the Wayland protocol + +License: MIT +URL: https://crates.io/crates/wayland-backend +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Low-level bindings to the Wayland protocol.} + +%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.txt +%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}+client_system-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+client_system-devel %{_description} + +This package contains library source intended for building other packages which +use the "client_system" feature of the "%{crate}" crate. + +%files -n %{name}+client_system-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+dlopen-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dlopen-devel %{_description} + +This package contains library source intended for building other packages which +use the "dlopen" feature of the "%{crate}" crate. + +%files -n %{name}+dlopen-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+log-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+log-devel %{_description} + +This package contains library source intended for building other packages which +use the "log" feature of the "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+raw-window-handle-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+raw-window-handle-devel %{_description} + +This package contains library source intended for building other packages which +use the "raw-window-handle" feature of the "%{crate}" crate. + +%files -n %{name}+raw-window-handle-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rwh_06-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rwh_06-devel %{_description} + +This package contains library source intended for building other packages which +use the "rwh_06" feature of the "%{crate}" crate. + +%files -n %{name}+rwh_06-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+server_system-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+server_system-devel %{_description} + +This package contains library source intended for building other packages which +use the "server_system" feature of the "%{crate}" crate. + +%files -n %{name}+server_system-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 - 0.3.7-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Sep 18 2024 Fabio Valentini - 0.3.7-1 +- Update to version 0.3.7; Fixes RHBZ#2309819 + +* Sun Aug 11 2024 Fabio Valentini - 0.3.6-1 +- Update to version 0.3.6; Fixes RHBZ#2295707 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jun 10 2024 Fabio Valentini - 0.3.4-1 +- Update to version 0.3.4; Fixes RHBZ#2284051 + +* Tue Jan 30 2024 Fabio Valentini - 0.3.3-1 +- Update to version 0.3.3; Fixes RHBZ#2260826 + +* Sat Jan 27 2024 Fedora Release Engineering - 0.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Dec 28 2023 Aleksei Bavshin - 0.3.2-1 +- Initial import (rhbz#2255177) +## END: Generated by rpmautospec