Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ojkastl_buildservice:Branch_systemsmanagement_jetporch
jetporch
jetporch.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jetporch.spec of Package jetporch
# # spec file for package jetporch # # Copyright (c) 2022 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/ # %define binary_name jetp Name: jetporch Version: 0.0.1 Release: 0 Summary: Next generation IT orchestration License: GPL-3.0 URL: https://github.com/jetporch/jetporch Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.zst Source2: cargo_config Source3: COPYING BuildRequires: cargo-packaging BuildRequires: openssl-devel BuildRequires: zstd Provides: jetp = %{version} %description Jetporch - the Jet Enterprise Professional Orchestrator Jetporch (aka Jet) is a general-purpose, community-driven IT automation platform for configuration management, deployment, orchestration, patching, and arbitrary task execution workflows. Created and run by the creator of Ansible. %prep %autosetup -a1 mkdir -p .cargo rm -vf .cargo/config.toml cp %{SOURCE2} .cargo/config cp %{SOURCE3} . %build DATE_FMT="+%%Y-%%m-%%dT%%H:%%M:%%SZ" BUILD_DATE=$(date -u -d "@${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u -r "${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u "${DATE_FMT}") sed -i '/^head/ s/^head.*$/head=%{version}/' ./version.sh sed -i '/^branch/ s/^branch.*$/branch=main/' ./version.sh sed -i "/^date/ s/^date.*$/date=${BUILD_DATE}/" ./version.sh /bin/sh ./version.sh %{cargo_build} %install install -D -d -m 0755 %{buildroot}%{_bindir} install -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{binary_name} %{buildroot}%{_bindir}/%{binary_name} %files %doc README.md %license COPYING %{_bindir}/%{binary_name} %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