add: depthcharge-tools (#816)

* add: depthcharge-tools

* Update depthcharge-tools.spec

Signed-off-by: madomado <madonuko@outlook.com>

* Update depthcharge-tools.spec

Signed-off-by: madomado <madonuko@outlook.com>

---------

Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
madomado
2023-11-17 22:32:16 +08:00
committed by GitHub
parent b4139d29d6
commit a2dedd4c8f
3 changed files with 40 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "depthcharge-tools.spec"
}
}
@@ -0,0 +1,34 @@
Name: depthcharge-tools
Version: 0.6.2
Release: 1%?dist
Summary: Tools to manage the Chrome OS bootloader
License: GPL-2.0-or-later
URL: https://github.com/alpernebbi/depthcharge-tools
Source0: %url/archive/v%version/v%version.tar.gz
Requires: vboot-utils dtc gzip lz4 python3-setuptools uboot-tools vboot-utils xz
BuildRequires: python3-setuptools python3-rpm-macros
BuildArch: noarch
%description
depthcharge-tools is a collection of tools that ease and automate interacting
with depthcharge, the Chrome OS bootloader.
%prep
%autosetup
%build
python3 setup.py build
%install
python3 setup.py install --skip-build --root=%buildroot
%files
%doc README.rst
%license LICENSE
%_bindir/depthchargectl
%_bindir/mkdepthcharge
%_prefix/lib/python%python3_version/site-packages/depthcharge_tools-%version-py%python3_version.egg-info/
%_prefix/lib/python%python3_version/site-packages/depthcharge_tools/
%changelog
%autochangelog
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("alpernebbi/depthcharge-tools"));