Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37736705
en ru br
ALT Linux repos
S:0.3-alt2

Group :: Graphical desktop/Other
RPM: wlgreet

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: wlgreet
Version: 0.3
Release: alt1
Summary: Wayland greeter for greetd
License: GPL-3.0
Group: Graphical desktop/Other
Url: https://git.sr.ht/~kennylevinsen/wlgreet

Source: %name-%version.tar
Source1: %name-%version-vendor.tar

BuildRequires: /proc
BuildRequires: rust
BuildRequires: rust-cargo

%description
Raw wayland greeter for greetd, to be run under sway or similar.

Note that cage is currently not supported
due to it lacking wlr-layer-shell-unstable support.

%prep
%setup -a1

mkdir -p .cargo
cat > .cargo/config <<EOF
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
EOF

%build
cargo build \
--release \
%{?_smp_mflags} \
--offline \
%nil

%install
install -Dm755 target/release/wlgreet %buildroot%_bindir/wlgreet

%check
cargo test --release

%files
%doc LICENSE
%doc README.md
%_bindir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin