Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
just
just.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File just.spec of Package just
# # spec file for package just # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: just Version: 1.37.0 Release: 0 Summary: Commmand runner License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (MIT OR Unlicense) AND Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND MIT AND CC0-1.0 Group: Development/Tools/Building URL: https://github.com/casey/just Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.zst Source2: cargo_config BuildRequires: bash-completion BuildRequires: cargo-packaging BuildRequires: fish BuildRequires: git BuildRequires: git-core BuildRequires: python3-base BuildRequires: zsh BuildRequires: zstd %description Just is a command runner. Although it shares some similarities with "make", it is not a build system. %package bash-completion Summary: Bash Completion for %{name} Group: System/Shells Supplements: (%{name} and bash-completion) Requires: bash-completion BuildArch: noarch %description bash-completion Bash command-line completion support for %{name}. %package fish-completion Summary: Fish Completion for %{name} Group: System/Shells Supplements: (%{name} and fish) Requires: fish BuildArch: noarch %description fish-completion Fish command-line completion support for %{name}. %package zsh-completion Summary: Zsh Completion for %{name} Group: System/Shells Supplements: (%{name} and zsh) Requires: zsh BuildArch: noarch %description zsh-completion Zsh command-line completion support for %{name}. %prep %autosetup -a1 mkdir -p .cargo cp %{SOURCE2} .cargo/config %build %{cargo_build} --all-features mkdir completions ./target/release/just --completions bash > completions/just.bash ./target/release/just --completions fish > completions/just.fish ./target/release/just --completions zsh > completions/just.zsh %install %{cargo_install} --all-features install -Dm644 -T completions/%{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} install -Dm644 -T completions/%{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish install -Dm644 -T completions/%{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name} %check # Bash uses `git rev-parse --show-toplevel` # for the bash tests to work git init %{cargo_test} --all %files %license LICENSE %doc *.md %{_bindir}/%{name} %files bash-completion %{_datadir}/bash-completion/* %files fish-completion %dir %{_datadir}/fish %{_datadir}/fish/* %files zsh-completion %dir %{_datadir}/zsh %{_datadir}/zsh/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor