Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Slowroll:Base:2
container-registry-systemd
container-registry-systemd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File container-registry-systemd.spec of Package container-registry-systemd
# # spec file for package container-registry-systemd # # 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/ # Name: container-registry-systemd Version: 0.0+git20220603.70601f6 Release: 0 Summary: Systemd service files and config files for container-registry License: GPL-3.0-or-later URL: https://github.com/openSUSE/container-registry-systemd Source: container-registry-systemd-%{version}.tar.xz Requires: certstrap BuildArch: noarch %description This package contains the configuration files, systemd units and scripts to run the openSUSE container registry managed by systemd. %prep %setup -q %build %install mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_sysconfdir}/registry mkdir -p %{buildroot}%{_distconfdir}/registry mkdir -p %{buildroot}%{_distconfdir}/default mkdir -p %{buildroot}%{_localstatedir}/lib/container-registry mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}/srv/registry install -m 644 config.yml* %{buildroot}%{_distconfdir}/registry/ install -m 644 auth_config.yml %{buildroot}%{_distconfdir}/registry install -m 644 container-registry.default %{buildroot}%{_distconfdir}/default/container-registry install -m 755 create-container-registry-certs.sh %{buildroot}%{_sbindir}/create-container-registry-certs install -m 755 setup-container-registry.sh %{buildroot}%{_sbindir}/setup-container-registry install -m 644 container-registry.service %{buildroot}%{_unitdir}/ install -m 644 registry-auth_server.service %{buildroot}%{_unitdir}/ # create symlink for rccontainer-registry ln -s /sbin/service %{buildroot}%{_sbindir}/rccontainer-registry ln -s /sbin/service %{buildroot}%{_sbindir}/rcregistry-auth_server %pre %service_add_pre container-registry.service registry-auth_server.service %post if [ -f /etc/sysconfig/container-registry ]; then if [ ! -e /etc/default/container-registry ]; then mv /etc/sysconfig/container-registry /etc/default/container-registry else mv /etc/sysconfig/container-registry /etc/sysconfig/container-registry.rpmsave fi fi %service_add_post container-registry.service registry-auth_server.service %preun %service_del_preun container-registry.service registry-auth_server.service %postun %service_del_postun container-registry.service registry-auth_server.service %files %license COPYING %doc README.md %dir %{_sysconfdir}/registry %dir %{_distconfdir}/registry %{_distconfdir}/default/container-registry %{_distconfdir}/registry/auth_config.yml %{_distconfdir}/registry/config.yml %{_distconfdir}/registry/config.yml.* %{_unitdir}/container-registry.service %{_unitdir}/registry-auth_server.service %{_sbindir}/create-container-registry-certs %{_sbindir}/setup-container-registry %{_sbindir}/rccontainer-registry %{_sbindir}/rcregistry-auth_server %dir /srv/registry %dir %{_localstatedir}/lib/container-registry %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