OBS-URL: https://build.opensuse.org/request/show/677164 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/microos-tools?expand=0&rev=1
76 lines
2.2 KiB
RPMSpec
76 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package microos-tools
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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: microos-tools
|
|
Version: 1.0+git20190218.9e72dd7
|
|
Release: 0
|
|
Summary: Files and Scripts for openSUSE MicroOS
|
|
License: GPL-2.0-or-later
|
|
Group: Development/Tools/Other
|
|
URL: https://github.com/kubic-project/microos-tools
|
|
Source0: microos-tools-%{version}.tar.xz
|
|
Source1: create_autoyast_profile.pl
|
|
BuildRequires: distribution-release
|
|
Requires: read-only-root-fs
|
|
Conflicts: systemd-coredump
|
|
Obsoletes: caasp-tools
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Files, scripts and directories for openSUSE Kubic.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
cp -a {etc,usr} %{buildroot}
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
install %{SOURCE1} %{buildroot}%{_sbindir}/create_autoyast_profile
|
|
mkdir -p %{buildroot}%{_mandir}/man8
|
|
pod2man %{SOURCE1} > %{buildroot}%{_mandir}/man8/create_autoyast_profile.8
|
|
|
|
%pre
|
|
%service_add_pre setup-systemd-proxy-env.service
|
|
|
|
%post
|
|
%service_add_post setup-systemd-proxy-env.service
|
|
|
|
%preun
|
|
%service_del_preun setup-systemd-proxy-env.service
|
|
|
|
%postun
|
|
%service_del_postun setup-systemd-proxy-env.service
|
|
|
|
%files
|
|
%license COPYING
|
|
%config %{_sysconfdir}/systemd/system/systemd-firstboot.service
|
|
%dir %{_sysconfdir}/systemd
|
|
%dir %{_sysconfdir}/systemd/system
|
|
%{_unitdir}
|
|
%{_prefix}/lib/sysctl.d/51-corefiles.conf
|
|
%{_libexecdir}/MicroOS-firstboot
|
|
%{_sbindir}/btrfsQuota
|
|
%{_sbindir}/create_autoyast_profile
|
|
%{_sbindir}/setup-systemd-proxy-env
|
|
%{_mandir}/man8/btrfsQuota.8%{?ext_man}
|
|
%{_mandir}/man8/create_autoyast_profile.8%{?ext_man}
|
|
|
|
%changelog
|