From 94ed60536175cf56e236a19eb6f5005866fceb60 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 1 Mar 2019 18:59:51 +0100 Subject: [PATCH 1/4] Initial build after rename from fedora-toolbox --- .gitignore | 1 + sources | 1 + toolbox.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 .gitignore create mode 100644 sources create mode 100644 toolbox.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..46950fe --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/toolbox-0.0.6.tar.xz diff --git a/sources b/sources new file mode 100644 index 0000000..c62f946 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (toolbox-0.0.6.tar.xz) = f0d23379690545feb4c008e800734634676e2410d39e73824ce3fe0975196d5ce621fccfc1aa36eca092b28ea20b1b890b84c15ec9d49ee439a16af43d5f646c diff --git a/toolbox.spec b/toolbox.spec new file mode 100644 index 0000000..d7b8e27 --- /dev/null +++ b/toolbox.spec @@ -0,0 +1,55 @@ +Name: toolbox +Version: 0.0.6 +Release: 1%{?dist} +Summary: Unprivileged development environment + +License: ASL 2.0 +URL: https://github.com/debarshiray/toolbox +Source0: https://github.com/debarshiray/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz + +BuildArch: noarch +# buildah and podman only work on the following architectures: +ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64 + +BuildRequires: meson + +Requires: buildah +Requires: podman + +# To be removed in Fedora 33 +Provides: fedora-toolbox = %{version}-%{release} +Obsoletes: fedora-toolbox < 0.0.5-2 + + +%description +Toolbox is offers a familiar RPM based environment for developing and +debugging software that runs fully unprivileged using Podman. + + +%prep +%autosetup + + +%build +%meson --buildtype=plain +%meson_build + + +%check +# https://github.com/debarshiray/toolbox/issues/68 +# %%meson_test + + +%install +%meson_install + + +%files +%doc NEWS README.md +%license COPYING +%{_bindir}/%{name} + + +%changelog +* Fri Feb 22 2019 Debarshi Ray - 0.0.6-1 +- Initial build after rename from fedora-toolbox From ae315005debf2d3faa79e427304c088f865717cd Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 14 Mar 2019 14:25:59 +0100 Subject: [PATCH 2/4] Update to 0.0.7 --- .gitignore | 1 + sources | 2 +- toolbox.spec | 10 +++++++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 46950fe..b732f65 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /toolbox-0.0.6.tar.xz +/toolbox-0.0.7.tar.xz diff --git a/sources b/sources index c62f946..0b7e5b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (toolbox-0.0.6.tar.xz) = f0d23379690545feb4c008e800734634676e2410d39e73824ce3fe0975196d5ce621fccfc1aa36eca092b28ea20b1b890b84c15ec9d49ee439a16af43d5f646c +SHA512 (toolbox-0.0.7.tar.xz) = 0aff6aa1fd333d64ac98e60d3249a61eca436df8cf4057da074b54234a5c8341909852d96511cb219795fb001435bfb2a92aed5f64d8f7308686c3875c05c014 diff --git a/toolbox.spec b/toolbox.spec index d7b8e27..d983724 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -1,5 +1,5 @@ Name: toolbox -Version: 0.0.6 +Version: 0.0.7 Release: 1%{?dist} Summary: Unprivileged development environment @@ -11,7 +11,9 @@ BuildArch: noarch # buildah and podman only work on the following architectures: ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64 +BuildRequires: go-md2man BuildRequires: meson +BuildRequires: systemd Requires: buildah Requires: podman @@ -48,8 +50,14 @@ debugging software that runs fully unprivileged using Podman. %doc NEWS README.md %license COPYING %{_bindir}/%{name} +%{_mandir}/man1/%{name}.1* +%{_mandir}/man1/%{name}-*.1* +%{_tmpfilesdir}/%{name}.conf %changelog +* Thu Mar 14 2019 Debarshi Ray - 0.0.7-1 +- Update to 0.0.7 + * Fri Feb 22 2019 Debarshi Ray - 0.0.6-1 - Initial build after rename from fedora-toolbox From 07db8b3ed6b70888cb05d119ace95fce2d347f88 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 12 Apr 2019 17:31:21 +0200 Subject: [PATCH 3/4] Update to 0.0.8 --- .gitignore | 1 + sources | 2 +- toolbox.spec | 9 ++++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index b732f65..66a24a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /toolbox-0.0.6.tar.xz /toolbox-0.0.7.tar.xz +/toolbox-0.0.8.tar.xz diff --git a/sources b/sources index 0b7e5b1..4efbe7e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (toolbox-0.0.7.tar.xz) = 0aff6aa1fd333d64ac98e60d3249a61eca436df8cf4057da074b54234a5c8341909852d96511cb219795fb001435bfb2a92aed5f64d8f7308686c3875c05c014 +SHA512 (toolbox-0.0.8.tar.xz) = 1dc5e32ed2ad96c78c219ded52dd20f3418de2b1c11ea0873857621e30b50e8f8e8c04a74d988ee2a501de1e2d2d8d3c6da02237820722bd0ce090a6c9c44e11 diff --git a/toolbox.spec b/toolbox.spec index d983724..1d9a8da 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -1,5 +1,5 @@ Name: toolbox -Version: 0.0.7 +Version: 0.0.8 Release: 1%{?dist} Summary: Unprivileged development environment @@ -11,6 +11,7 @@ BuildArch: noarch # buildah and podman only work on the following architectures: ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64 +BuildRequires: ShellCheck BuildRequires: go-md2man BuildRequires: meson BuildRequires: systemd @@ -38,8 +39,7 @@ debugging software that runs fully unprivileged using Podman. %check -# https://github.com/debarshiray/toolbox/issues/68 -# %%meson_test +%meson_test %install @@ -56,6 +56,9 @@ debugging software that runs fully unprivileged using Podman. %changelog +* Fri Apr 12 2019 Debarshi Ray - 0.0.8-1 +- Update to 0.0.8 + * Thu Mar 14 2019 Debarshi Ray - 0.0.7-1 - Update to 0.0.7 From fef8437d05c91b8bc416be173b4cde5942ed0eed Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 30 Apr 2019 12:52:59 +0200 Subject: [PATCH 4/4] Update to 0.0.9 --- .gitignore | 1 + sources | 2 +- toolbox.spec | 10 ++++++++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 66a24a5..3c646f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /toolbox-0.0.6.tar.xz /toolbox-0.0.7.tar.xz /toolbox-0.0.8.tar.xz +/toolbox-0.0.9.tar.xz diff --git a/sources b/sources index 4efbe7e..5071ebc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (toolbox-0.0.8.tar.xz) = 1dc5e32ed2ad96c78c219ded52dd20f3418de2b1c11ea0873857621e30b50e8f8e8c04a74d988ee2a501de1e2d2d8d3c6da02237820722bd0ce090a6c9c44e11 +SHA512 (toolbox-0.0.9.tar.xz) = f59bf470bb5f5229b7f4dbd6f74093bac7a58eaeb3dbb2f20969b137d99f8e267d228c99aac5fca899a14e64636816852d3049c1ae7a6fb69f709b47a3ff5193 diff --git a/toolbox.spec b/toolbox.spec index 1d9a8da..3e3446a 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -1,5 +1,5 @@ Name: toolbox -Version: 0.0.8 +Version: 0.0.9 Release: 1%{?dist} Summary: Unprivileged development environment @@ -14,6 +14,7 @@ ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64 BuildRequires: ShellCheck BuildRequires: go-md2man BuildRequires: meson +BuildRequires: pkgconfig(bash-completion) BuildRequires: systemd Requires: buildah @@ -34,7 +35,7 @@ debugging software that runs fully unprivileged using Podman. %build -%meson --buildtype=plain +%meson --buildtype=plain -Dprofile_dir=%{_sysconfdir}/profile.d %meson_build @@ -50,12 +51,17 @@ debugging software that runs fully unprivileged using Podman. %doc NEWS README.md %license COPYING %{_bindir}/%{name} +%{_datadir}/bash-completion %{_mandir}/man1/%{name}.1* %{_mandir}/man1/%{name}-*.1* +%{_sysconfdir}/profile.d/toolbox.sh %{_tmpfilesdir}/%{name}.conf %changelog +* Tue Apr 30 2019 Debarshi Ray - 0.0.9-1 +- Update to 0.0.9 + * Fri Apr 12 2019 Debarshi Ray - 0.0.8-1 - Update to 0.0.8