Group :: Desktop gráfico/Outros
RPM: wlgreet
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
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
…
Todas as alterações você pod ver aqui