From f05cc9117ca97c38100b305a7c5bb1ad53da55a237488a5e16818f8af686ccbc Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 9 Aug 2021 08:48:01 +0000 Subject: [PATCH] Accepting request 910080 from home:dspinella I want to maintain debianutils in Factory and would like to use Base:System as the devel/feeder project. OBS-URL: https://build.opensuse.org/request/show/910080 OBS-URL: https://build.opensuse.org/package/show/Base:System/debianutils?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ debianutils.changes | 4 +++ debianutils.spec | 68 +++++++++++++++++++++++++++++++++++++++ debianutils_4.11.2.tar.xz | 3 ++ 4 files changed, 98 insertions(+) create mode 100644 .gitattributes create mode 100644 debianutils.changes create mode 100644 debianutils.spec create mode 100644 debianutils_4.11.2.tar.xz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/debianutils.changes b/debianutils.changes new file mode 100644 index 0000000..84fab03 --- /dev/null +++ b/debianutils.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Aug 3 10:09:13 UTC 2021 - Danilo Spinella + +- Initial package diff --git a/debianutils.spec b/debianutils.spec new file mode 100644 index 0000000..556cafb --- /dev/null +++ b/debianutils.spec @@ -0,0 +1,68 @@ +# +# 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 +Version: 4.11.2 +Release: 0 +Summary: Miscellaneous utilities specific to Debian +License: GPL-2.0-only +Group: System/Shells +URL: https://packages.debian.org/%{name} +Source: http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.tar.xz + +%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 +* tempfile: create a temporary file in a safe manner +* remove-shell: remove a shell to /etc/shells + +%prep +%autosetup -n %{name} + +%build +%configure +%make_build + +%install +# savelog is under SMAIL license, don't install +install -Dt %{buildroot}%{_bindir} add-shell +install -Dt %{buildroot}%{_bindir} ischroot +install -Dt %{buildroot}%{_bindir} remove-shell +install -Dt %{buildroot}%{_bindir} run-parts +install -Dt %{buildroot}%{_bindir} tempfile + +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}/man1 tempfile.1 +install -m 0644 -Dt %{buildroot}%{_mandir}/man8 run-parts.8 + +%files +%{_bindir}/add-shell +%{_bindir}/ischroot +%{_bindir}/remove-shell +%{_bindir}/run-parts +%{_bindir}/tempfile +%{_mandir}/man1/ischroot.1%{?ext_man} +%{_mandir}/man8/add-shell.8%{?ext_man} +%{_mandir}/man8/remove-shell.8%{?ext_man} +%{_mandir}/man1/tempfile.1%{?ext_man} +%{_mandir}/man8/run-parts.8%{?ext_man} + +%changelog diff --git a/debianutils_4.11.2.tar.xz b/debianutils_4.11.2.tar.xz new file mode 100644 index 0000000..9cfa9be --- /dev/null +++ b/debianutils_4.11.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b680e81709b740387335fac8f8806d71611dcf60874e1a792e862e48a1650de +size 158132