2021-08-09 10:48:01 +02:00
|
|
|
#
|
|
|
|
# spec file for package debianutils
|
|
|
|
#
|
|
|
|
# Copyright (c) 2021 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: debianutils
|
2021-09-10 16:20:04 +02:00
|
|
|
Version: 5.4
|
2021-08-09 10:48:01 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Miscellaneous utilities specific to Debian
|
|
|
|
License: GPL-2.0-only
|
|
|
|
Group: System/Shells
|
|
|
|
URL: https://packages.debian.org/%{name}
|
2021-09-10 16:20:04 +02:00
|
|
|
Source: http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.orig.tar.xz
|
2021-08-09 10:48:01 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
* add-shell: add a shell to /etc/shells
|
|
|
|
* ischroot: etects if it is currently running in a chroot
|
|
|
|
* run-parts: run scripts or programs in a directory
|
|
|
|
* remove-shell: remove a shell to /etc/shells
|
2021-09-10 16:20:04 +02:00
|
|
|
* update-shells: update the list of valid login shells
|
2021-08-09 10:48:01 +02:00
|
|
|
|
|
|
|
%prep
|
2021-09-10 16:20:04 +02:00
|
|
|
%autosetup
|
2021-08-09 10:48:01 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
# savelog is under SMAIL license, don't install
|
|
|
|
install -Dt %{buildroot}%{_bindir} ischroot
|
2021-08-23 10:32:27 +02:00
|
|
|
install -Dt %{buildroot}%{_sbindir} add-shell
|
|
|
|
install -Dt %{buildroot}%{_sbindir} remove-shell
|
|
|
|
install -Dt %{buildroot}%{_sbindir} run-parts
|
2021-09-10 16:20:04 +02:00
|
|
|
install -Dt %{buildroot}%{_sbindir} update-shells
|
2021-08-09 10:48:01 +02:00
|
|
|
|
|
|
|
install -m 0644 -Dt %{buildroot}%{_mandir}/man1 ischroot.1
|
|
|
|
install -m 0644 -Dt %{buildroot}%{_mandir}/man8 add-shell.8
|
|
|
|
install -m 0644 -Dt %{buildroot}%{_mandir}/man8 remove-shell.8
|
|
|
|
install -m 0644 -Dt %{buildroot}%{_mandir}/man8 run-parts.8
|
2021-09-10 16:20:04 +02:00
|
|
|
install -m 0644 -Dt %{buildroot}%{_mandir}/man8 update-shells.8
|
2021-08-09 10:48:01 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/ischroot
|
2021-08-23 10:32:27 +02:00
|
|
|
%{_sbindir}/add-shell
|
|
|
|
%{_sbindir}/remove-shell
|
|
|
|
%{_sbindir}/run-parts
|
2021-09-10 16:20:04 +02:00
|
|
|
%{_sbindir}/update-shells
|
2021-08-09 10:48:01 +02:00
|
|
|
%{_mandir}/man1/ischroot.1%{?ext_man}
|
|
|
|
%{_mandir}/man8/add-shell.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/remove-shell.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/run-parts.8%{?ext_man}
|
2021-09-10 16:20:04 +02:00
|
|
|
%{_mandir}/man8/update-shells.8%{?ext_man}
|
2021-08-09 10:48:01 +02:00
|
|
|
|
|
|
|
%changelog
|