Sync from SUSE:ALP:Source:Standard:1.0 perl-Bootloader revision e5e68abe5f22f4c49adffd49dde71f8e
This commit is contained in:
commit
03856e0308
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
perl-Bootloader-1.6.tar.xz
(Stored with Git LFS)
Normal file
BIN
perl-Bootloader-1.6.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
2980
perl-Bootloader.changes
Normal file
2980
perl-Bootloader.changes
Normal file
File diff suppressed because it is too large
Load Diff
82
perl-Bootloader.spec
Normal file
82
perl-Bootloader.spec
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Bootloader
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if %{suse_version} > 1550
|
||||||
|
%define sbindir %{_sbindir}
|
||||||
|
%else
|
||||||
|
%define sbindir /sbin
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%{!?_distconfdir:%global _distconfdir /etc}
|
||||||
|
|
||||||
|
Name: perl-Bootloader
|
||||||
|
Version: 1.6
|
||||||
|
Release: 0
|
||||||
|
Requires: coreutils
|
||||||
|
Requires: perl-base = %{perl_version}
|
||||||
|
Obsoletes: perl-Bootloader-YAML < %{version}
|
||||||
|
Conflicts: kexec-tools < 2.0.26.0
|
||||||
|
Summary: Tool for boot loader configuration
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: System/Boot
|
||||||
|
URL: https://github.com/openSUSE/perl-bootloader
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: rubygem(asciidoctor)
|
||||||
|
#!BuildIgnore: mdadm e2fsprogs limal-bootloader
|
||||||
|
|
||||||
|
%description
|
||||||
|
Shell script wrapper for configuring various boot loaders.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=%{buildroot} SBINDIR=%{sbindir} ETCDIR=%{_distconfdir}
|
||||||
|
make doc
|
||||||
|
install -D -m 644 pbl.8 %{buildroot}%{_mandir}/man8/pbl.8
|
||||||
|
install -D -m 644 bootloader_entry.8 %{buildroot}%{_mandir}/man8/bootloader_entry.8
|
||||||
|
install -D -m 644 update-bootloader.8 %{buildroot}%{_mandir}/man8/update-bootloader.8
|
||||||
|
install -D -m 644 kexec-bootloader.8 %{buildroot}%{_mandir}/man8/kexec-bootloader.8
|
||||||
|
mkdir -p %{buildroot}/var/log
|
||||||
|
touch %{buildroot}/var/log/pbl.log
|
||||||
|
|
||||||
|
%post
|
||||||
|
echo -n >>/var/log/pbl.log
|
||||||
|
chmod 600 /var/log/pbl.log
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%license COPYING
|
||||||
|
%doc %{_mandir}/man8/*
|
||||||
|
%doc boot.readme
|
||||||
|
%{sbindir}/update-bootloader
|
||||||
|
%{sbindir}/pbl
|
||||||
|
%{sbindir}/kexec-bootloader
|
||||||
|
/usr/lib/bootloader
|
||||||
|
%if "%{_distconfdir}" == "/etc"
|
||||||
|
%config(noreplace) %{_distconfdir}/logrotate.d/pbl
|
||||||
|
%else
|
||||||
|
%{_distconfdir}/logrotate.d/pbl
|
||||||
|
%endif
|
||||||
|
%ghost %attr(0600,root,root) /var/log/pbl.log
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user