From 33bd39b0f97b72a788c9ee564ce2b0e2a8a3c23e Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mar 01 2019 17:59:51 +0000 Subject: Initial build after rename from fedora-toolbox --- 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