-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathway-edges.spec
More file actions
36 lines (26 loc) · 894 Bytes
/
Copy pathway-edges.spec
File metadata and controls
36 lines (26 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
%bcond_without check
Name: way-edges
Version: 0.12.1
Release: %autorelease
Summary: Light weight wayland client focusing on widgets hidden in your screen edge.
License: MIT
URL: https://github.com/way-edges/way-edges
Source: https://github.com/way-edges/way-edges/archive/refs/tags/%{version}.tar.gz
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: gcc libxkbcommon-devel cairo-devel pulseaudio-libs
%description
Light weight wayland client focusing on widgets hidden in your screen edge.
%global debug_package %{nil}
%prep
%autosetup -n %{name}-%{version} -p1
cargo vendor
%build
RUSTFLAGS="--cfg tokio_unstable --cfg tokio_uring" cargo build --release
%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cp target/release/way-edges $RPM_BUILD_ROOT%{_bindir}
%files
%doc README.md
%{_bindir}/way-edges
%changelog
%autochangelog