# Generated by rust2rpm 28 %bcond check 1 # prevent library files from being installed %global cargo_install_lib 0 %global crate workmux Name: rust-workmux Version: 0.1.271 Release: %autorelease Summary: Opinionated workflow tool that orchestrates git worktrees and tmux License: MIT URL: https://crates.io/crates/workmux Source: %{crates_source} Source: workmux-0.1.271-vendor.tar.xz # Automatically generated patch to strip dependencies and normalize metadata Patch: workmux-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 26 %global _description %{expand: An opinionated workflow tool that orchestrates git worktrees and tmux.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-3.0 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-3-Clause # BSL-1.0 # CC0-1.0 # ISC # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR LGPL-2.1-or-later # Unlicense OR MIT # Zlib # Zlib OR Apache-2.0 OR MIT License: %{shrink: (MIT OR Apache-2.0) AND Unicode-3.0 AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND BSL-1.0 AND CC0-1.0 AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) } # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %license cargo-vendor.txt %doc CHANGELOG.md %doc README.md %{_bindir}/workmux %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install %cargo_install %if %{with check} %check # temp disable tests # %%cargo_test %endif %changelog %autochangelog