# Generated by rust2rpm 26 %bcond_without check %global ver 1.2.1 %global commit a7fc5bcb86a318f7a6652e2c268583003cf23c85 %global date 20240426.18 Name: pop-launcher Version: %{ver}~git%{date}.%{sub %{commit} 1 7} 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 # To create these sources: # * git clone the repository # * cargo vendor > .vendor/config.toml # * rm -rf vendor # * tar -pcJf $name-$commit.tar.xz Source: pop-launcher-%{commit}.tar.xz # To create the vendor tarball: # * git clone the repository # * cargo vendor # * tar -pcJf $name-$commit-vendor.tar.xz Source: pop-launcher-%{commit}-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: fd-find %global _description %{expand: %{summary}.} %description %{_description} %prep %autosetup -n pop-launcher-%{commit} -p1 -a1 %cargo_prep -N cat .vendor/config.toml >> .cargo/config %build just build-release --offline --frozen %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt %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 %dir %{_prefix}/lib/pop-launcher %{_prefix}/lib/pop-launcher/* %changelog %autochangelog