Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:other_peoples_important_tools
cargo-make
cargo-make.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cargo-make.spec of Package cargo-make
# # spec file for package cargo-make # # Copyright (c) 2023 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: cargo-make Version: 0.37.4~0 Release: 0 Summary: Rust task runner and build tool License: Apache-2.0 URL: https://github.com/sagiegurari/cargo-make Source0: %{name}-%{version}.tar.zst Source1: vendor.tar.zst BuildRequires: cargo-packaging ExclusiveArch: %{rust_tier1_arches} %description The cargo-make task runner enables to define and configure sets of tasks and run them as a flow. A task is a command, script, rust code, or other sub tasks to execute. Tasks can have dependencies which are also tasks that will be executed before the task itself. With a simple toml based configuration file, you can define a multi platform build script that can run build, test, generate documentation, run bench tests, run security validations and more, executed by running a single command. %package bash-completion Summary: Bash completion for makers Requires: %{name} = %{version} Supplements: (%{name} and bash-completion) BuildArch: noarch %description bash-completion Bash command line completion support for makers. %prep %autosetup -p1 -a1 %build export CARGO_PROFILE_RELEASE_LTO=true export CARGO_PROFILE_RELEASE_STRIP=true export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 %{cargo_build} %install install -D -m 0755 target/release/%{name} -t %{buildroot}/%{_bindir} install -D -m 0755 target/release/makers -t %{buildroot}/%{_bindir} install -D -p -m 644 extra/shell/makers-completion.bash -t %{buildroot}%{_datadir}/bash-completion/completions/ %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_bindir}/makers %files bash-completion %{_datadir}/bash-completion/completions/makers-completion.bash %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