commit 9157d2cccd7dbe89f7a01dff4ad453b6c3636a51 Author: MSVSphere Packaging Team Date: Fri Dec 20 18:07:09 2024 +0300 import rust-wayland-scanner-0.31.5-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..17e480d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/wayland-scanner-0.31.5.crate diff --git a/.rust-wayland-scanner.metadata b/.rust-wayland-scanner.metadata new file mode 100644 index 0000000..24989ab --- /dev/null +++ b/.rust-wayland-scanner.metadata @@ -0,0 +1 @@ +5e391d0cdfc3e00317b30e748ca101491b472c76 SOURCES/wayland-scanner-0.31.5.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..91cdb7f --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,2 @@ +[requires] +test = ["rustfmt"] diff --git a/SPECS/rust-wayland-scanner.spec b/SPECS/rust-wayland-scanner.spec new file mode 100644 index 0000000..33e5600 --- /dev/null +++ b/SPECS/rust-wayland-scanner.spec @@ -0,0 +1,169 @@ +## 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 +%bcond_without check +%global debug_package %{nil} + +%global crate wayland-scanner + +Name: rust-wayland-scanner +Version: 0.31.5 +Release: %autorelease +Summary: Wayland Scanner for generating rust APIs from XML wayland protocol files + +License: MIT +URL: https://crates.io/crates/wayland-scanner +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 +%if %{with check} +BuildRequires: rustfmt +%endif + +%global _description %{expand: +Wayland Scanner for generating rust APIs from XML wayland protocol +files.} + +%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 + +%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.31.5-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Sep 18 2024 Fabio Valentini - 0.31.5-1 +- Update to version 0.31.5; Fixes RHBZ#2309824 + +* Sun Aug 11 2024 Fabio Valentini - 0.31.4-1 +- Update to version 0.31.4; Fixes RHBZ#2295713 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.31.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jun 10 2024 Fabio Valentini - 0.31.2-1 +- Update to version 0.31.2; Fixes RHBZ#2284059 + +* Tue Jan 30 2024 Fabio Valentini - 0.31.1-1 +- Update to version 0.31.1; Fixes RHBZ#2260829 + +* Sat Jan 27 2024 Fedora Release Engineering - 0.31.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Dec 28 2023 Aleksei Bavshin - 0.31.0-1 +- Update to 0.31.0 (rhbz#2156606) + +* Sat Jul 22 2023 Fedora Release Engineering - 0.29.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 0.29.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 13 2022 Fabio Valentini - 0.29.5-1 +- Update to version 0.29.5; Fixes RHBZ#2121425 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.29.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Feb 26 2022 Zbigniew Jędrzejewski-Szmek - 0.29.4-2 +- Empty rebuild + +* Fri Feb 25 2022 Zbigniew Jędrzejewski-Szmek - 0.29.4-1 +- Version 0.29.4 (rhbz#1985663) + +* Sat Jan 22 2022 Fedora Release Engineering - 0.28.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.28.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jul 19 2021 Fabio Valentini - 0.28.6-1 +- Update to version 0.28.6; Fixes RHBZ#1977496 + +* Fri May 21 2021 Fabio Valentini - 0.28.5-1 +- Update to version 0.28.5. + +* Mon Mar 01 2021 Fabio Valentini - 0.28.4-1 +- Update to version 0.28.4. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.28.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Dec 31 2020 Fabio Valentini - 0.28.3-1 +- Update to version 0.28.3. + +* Mon Nov 09 2020 Fabio Valentini - 0.28.2-1 +- Update to version 0.28.2. +- Fixes RHBZ#1895848 + +* Thu Oct 15 2020 Stefano Figura - 0.28.1-1 +- Update to version 0.28.1. + +* Sun Oct 04 2020 Fabio Valentini - 0.28.0-1 +- Update to version 0.28.0. + +* Wed Jul 29 2020 Fedora Release Engineering - 0.26.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jun 14 09:34:56 CEST 2020 Igor Raits - 0.26.6-2 +- Include license and readme + +* Thu Jun 04 2020 Michel Alexandre Salim - 0.26.6-1 +- Update to 0.26.6 + +* Fri May 22 14:42:00 PDT 2020 Michel Alexandre Salim - 0.26.5-1 +- Initial package + +## END: Generated by rpmautospec