Initial import (rhbz#2255177)

epel10
Aleksei Bavshin 1 year ago
parent 37385abc1f
commit 389c89d566
No known key found for this signature in database
GPG Key ID: 4F071603387A382A

1
.gitignore vendored

@ -0,0 +1 @@
/wayland-backend-0.3.2.crate

@ -0,0 +1,19 @@
Copyright (c) 2015 Elinor Berger
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

@ -0,0 +1,136 @@
# Generated by rust2rpm 25
# * Requires workspace packages:
# * Failed to open protocol file
# /builddir/build/BUILD/wayland-backend-0.3.2/../wayland-scanner/tests/scanner_assets/test-protocol.xml:
# No such file or directory (os error 2)
%bcond_with check
%global debug_package %{nil}
%global crate wayland-backend
Name: rust-wayland-backend
Version: 0.3.2
Release: %autorelease
Summary: Low-level bindings to the Wayland protocol
License: MIT
URL: https://crates.io/crates/wayland-backend
Source: %{crates_source}
# https://github.com/Smithay/wayland-rs/pull/683
Source: https://github.com/Smithay/wayland-rs/raw/master/LICENSE.txt
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 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}+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
cp -pav %{SOURCE1} .
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1,6 @@
[tests]
run = ["none"]
comments = [
"Requires workspace packages:",
"Failed to open protocol file /builddir/build/BUILD/wayland-backend-0.3.2/../wayland-scanner/tests/scanner_assets/test-protocol.xml: No such file or directory (os error 2)"
]

@ -0,0 +1 @@
SHA512 (wayland-backend-0.3.2.crate) = c54edaf21f5e17d121f653c10b024eca27bc09a360bfe3389b468c2c26ae7541b881b8c61a64d89e9dcaeafaacabdfe27aff0d152341a38dd13f547070341e96
Loading…
Cancel
Save