commit f345516ab328c398b9a92e889783c190e8119db1 Author: MSVSphere Packaging Team Date: Fri Dec 20 18:07:21 2024 +0300 import rust-wayland-sys-0.31.5-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7076c11 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/wayland-sys-0.31.5.crate diff --git a/.rust-wayland-sys.metadata b/.rust-wayland-sys.metadata new file mode 100644 index 0000000..922e146 --- /dev/null +++ b/.rust-wayland-sys.metadata @@ -0,0 +1 @@ +98c5fe9c30325b6a8c94e23ca47d628d77cb4cef SOURCES/wayland-sys-0.31.5.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..5ab7f00 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,8 @@ +[requires] +lib = ["wayland-devel"] + +[requires.features] +client = ["pkgconfig(wayland-client)"] +cursor = ["pkgconfig(wayland-cursor)"] +egl = ["pkgconfig(wayland-egl)"] +server = ["pkgconfig(wayland-server)"] diff --git a/SPECS/rust-wayland-sys.spec b/SPECS/rust-wayland-sys.spec new file mode 100644 index 0000000..fe21774 --- /dev/null +++ b/SPECS/rust-wayland-sys.spec @@ -0,0 +1,265 @@ +## 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-sys + +Name: rust-wayland-sys +Version: 0.31.5 +Release: %autorelease +Summary: FFI bindings to the various libwayland-*.so libraries + +License: MIT +URL: https://crates.io/crates/wayland-sys +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +FFI bindings to the various libwayland-*.so libraries. You should only +need this crate if you are working on custom wayland protocol +extensions. Look at the crate wayland-client for usable bindings.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch +Requires: wayland-devel + +%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-devel +Summary: %{summary} +BuildArch: noarch +Requires: pkgconfig(wayland-client) + +%description -n %{name}+client-devel %{_description} + +This package contains library source intended for building other packages which +use the "client" feature of the "%{crate}" crate. + +%files -n %{name}+client-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+cursor-devel +Summary: %{summary} +BuildArch: noarch +Requires: pkgconfig(wayland-cursor) + +%description -n %{name}+cursor-devel %{_description} + +This package contains library source intended for building other packages which +use the "cursor" feature of the "%{crate}" crate. + +%files -n %{name}+cursor-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}+egl-devel +Summary: %{summary} +BuildArch: noarch +Requires: pkgconfig(wayland-egl) + +%description -n %{name}+egl-devel %{_description} + +This package contains library source intended for building other packages which +use the "egl" feature of the "%{crate}" crate. + +%files -n %{name}+egl-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+libc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libc-devel %{_description} + +This package contains library source intended for building other packages which +use the "libc" feature of the "%{crate}" crate. + +%files -n %{name}+libc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+memoffset-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+memoffset-devel %{_description} + +This package contains library source intended for building other packages which +use the "memoffset" feature of the "%{crate}" crate. + +%files -n %{name}+memoffset-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+once_cell-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+once_cell-devel %{_description} + +This package contains library source intended for building other packages which +use the "once_cell" feature of the "%{crate}" crate. + +%files -n %{name}+once_cell-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+server-devel +Summary: %{summary} +BuildArch: noarch +Requires: pkgconfig(wayland-server) + +%description -n %{name}+server-devel %{_description} + +This package contains library source intended for building other packages which +use the "server" feature of the "%{crate}" crate. + +%files -n %{name}+server-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#2309826 + +* Fri Aug 09 2024 Fabio Valentini - 0.31.4-1 +- Update to version 0.31.4; Fixes RHBZ#2295711 + +* 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#2284060 + +* Sat Jan 27 2024 Fedora Release Engineering - 0.31.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Dec 22 2023 Aleksei Bavshin - 0.31.1-1 +- Update to 0.31.1 (rhbz#2212358) + +* Sat Jul 22 2023 Fedora Release Engineering - 0.30.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Apr 02 2023 Aleksei Bavshin - 0.30.1-1 +- Update to 0.30.1 + +* 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 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.29.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Feb 25 2022 Zbigniew Jędrzejewski-Szmek - 0.29.4-1 +- Version 0.29.4 (rhbz#1985666) + +* 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#1977498 + +* 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#1895849 + +* 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 + +* Fri Jun 26 2020 Michel Alexandre Salim - 0.26.6-2 +- Package license and docs + +* Thu Jun 04 2020 Michel Alexandre Salim - 0.26.6-1 +- Update to 0.26.6 + +* Fri May 22 14:31:57 PDT 2020 Michel Alexandre Salim - 0.26.5-1 +- Initial package + +## END: Generated by rpmautospec