# Generated by rust2rpm 27 %bcond check 1 # prevent library files from being installed %global cargo_install_lib 0 Name: walker Version: 1.0.3 Release: %autorelease Summary: Multi-Purpose Launcher with a lot of features License: # FIXME SourceLicense: GPL-3.0-only URL: https://github.com/abenz1267/walker Source: %{url}/archive/v%{version}/%{name}-v%{version}.tar.gz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: pkgconfig(cairo-gobject) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(graphene-gobject-1.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(gtk4-layer-shell-0) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(poppler-glib) BuildRequires: protobuf-compiler %global _description %{expand: %{summary}.} %description %{_description} %prep %autosetup -p1 cargo vendor %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install %cargo_install %if %{with check} %check %cargo_test %endif %files %license LICENSE %license LICENSE.dependencies %license cargo-vendor.txt %doc README.md %{_bindir}/walker %changelog %autochangelog