# Generated by rust2rpm 26 %bcond_without check %global ver 1.2.1 %global commit a7fc5bcb86a318f7a6652e2c268583003cf23c85 %global date 20240328.17 Name: pop-launcher Version: %{ver}~%{date} Release: %autorelease Summary: Modular IPC-based desktop launcher service. SourceLicense: GPL-3.0-only AND MPL-2.0 # (Apache-2.0 OR MIT) AND BSD-3-Clause # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR ISC OR MIT # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-3-Clause # GPL-3.0 # GPL-3.0-only # ISC # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR BSD-2-Clause # MIT OR Apache-2.0 OR Zlib # MPL-2.0 # MPL-2.0 OR MIT OR Apache-2.0 # Unlicense OR MIT # Zlib # Zlib OR Apache-2.0 OR MIT License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND Apache-2.0 AND Apache-2.0 OR BSL-1.0 AND Apache-2.0 OR ISC OR MIT AND Apache-2.0 OR MIT AND Apache-2.0 WITH LLVM-exception AND Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT AND BSD-3-Clause AND GPL-3.0 AND GPL-3.0-only AND ISC AND MIT AND MIT OR Apache-2.0 AND MIT OR Apache-2.0 OR BSD-2-Clause AND MIT OR Apache-2.0 OR Zlib AND MPL-2.0 AND MPL-2.0 OR MIT OR Apache-2.0 AND Unlicense OR MIT AND Zlib AND Zlib OR Apache-2.0 OR MIT # LICENSE.dependencies contains a full license breakdown URL: https://github.com/pop-os/launcher Source: pop-launcher-%{ver}.tar.xz Source: pop-launcher-%{ver}-vendor.tar.xz Patch: symlink.patch BuildRequires: cargo-rpm-macros >= 25 BuildRequires: rustc BuildRequires: lld BuildRequires: cargo BuildRequires: mesa-libEGL-devel BuildRequires: libxkbcommon-devel BuildRequires: just Requires: libqalculate Requires: rust-fd-find %global _description %{expand: %{summary}.} %description %{_description} %prep %autosetup -n pop-launcher-%{ver} -p1 -a1 %cargo_prep -N cat .vendor/config.toml >> .cargo/config %build # %%cargo_build just build-release --offline --frozen %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install just rootdir=%{buildroot} install %if %{with check} %check %cargo_test %endif %files %license LICENSE %license plugins/COPYING %license LICENSE.dependencies # %% license cargo-vendor.txt %doc README.md %{_bindir}/pop-launcher %{_prefix}/lib/pop-launcher/* %changelog %autochangelog