You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-wayland-backend/SPECS/rust-wayland-backend.spec

177 lines
4.9 KiB

## 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 <packager@msvsphere-os.ru> - 0.3.7-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Wed Sep 18 2024 Fabio Valentini <decathorpe@gmail.com> - 0.3.7-1
- Update to version 0.3.7; Fixes RHBZ#2309819
* Sun Aug 11 2024 Fabio Valentini <decathorpe@gmail.com> - 0.3.6-1
- Update to version 0.3.6; Fixes RHBZ#2295707
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jun 10 2024 Fabio Valentini <decathorpe@gmail.com> - 0.3.4-1
- Update to version 0.3.4; Fixes RHBZ#2284051
* Tue Jan 30 2024 Fabio Valentini <decathorpe@gmail.com> - 0.3.3-1
- Update to version 0.3.3; Fixes RHBZ#2260826
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Dec 28 2023 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.3.2-1
- Initial import (rhbz#2255177)
## END: Generated by rpmautospec