File walker.spec of Package walker

# spec file for package walker

Name:           walker
Version:        2.11.3
Release:        0
Summary:        Walker - A lightweight application launcher
License:        MIT
Group:          System/GUI/Other
URL:            https://github.com/abenz1267/walker
Source0:        %{name}-%{version}.tar.gz
Source1:        registry.tar.zst
BuildRequires:  pkgconfig(poppler-glib)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(gtk4-layer-shell-0)
BuildRequires:  pkgconfig(cairo)
BuildRequires:  pkgconfig(protobuf)

# Pull in the latest rust/cargo toolchain
BuildRequires:  cargo
# This contains rpm macros to assist with building
BuildRequires:  cargo-packaging
# Disable this line if you wish to support all platforms.
# In most situations, you will likely only target tier1 arches for user facing components.
ExclusiveArch:  %{rust_tier1_arches}


%description
Walker is a lightweight application launcher built with GTK4 and Go. It provides a fast and minimalistic interface for launching applications.

%prep
%autosetup -p1 -a1

%build
export CARGO_HOME=$PWD/.cargo
%{cargo_build}

%install
export CARGO_HOME=$PWD/.cargo
%{cargo_install}

%files
%{_bindir}/walker
%doc README.md
%license LICENSE

%changelog
openSUSE Build Service is sponsored by