Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
jenkins-swarm-client
jenkins-swarm-client.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jenkins-swarm-client.spec of Package jenkins-swarm-client
# # spec file for package jenkins-swarm-client # # 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/ # %if ! 0%{?_fillupdir:1} %global _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: jenkins-swarm-client Version: 3.44 Release: 0 Summary: A jenkins plugin to let workers join when they want License: MIT Group: Development/Tools/Building URL: https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin Source0: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/swarm-client/%{version}/swarm-client-%{version}.jar Source1: %{name}.sysconfig Source2: %{name}.service Source3: %{name}-wrapper.sh BuildRequires: systemd-rpm-macros #BuildRequires: java-devel Requires: java >= 1.7 Requires(pre): %fillup_prereq BuildArch: noarch %{?systemd_ordering} %description With this plugin it is possible to dynamically add workers to an existing Jenkins-CI instance %prep %build %install install -Dm0644 %{SOURCE0} %{buildroot}%{_prefix}/lib/%{name}/swarm-client-%{version}.jar ln -sf swarm-client-%{version}.jar %{buildroot}%{_prefix}/lib/%{name}/%{name}.jar install -Dm0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name} install -Dm0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service install -Dm0755 %{SOURCE3} %{buildroot}%{_bindir}/%{name}-wrapper.sh mkdir -p %{buildroot}%{_sbindir} ln -sf service %{buildroot}%{_sbindir}/rc%{name} %pre %service_add_pre %{name}.service %post %service_add_post %{name}.service %fillup_only %preun %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %files %{_bindir}/%{name}-wrapper.sh %{_prefix}/lib/%{name} %{_fillupdir}/sysconfig.%{name} %{_sbindir}/rc%{name} %{_unitdir}/%{name}.service %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