mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
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:
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("alpernebbi/depthcharge-tools"));
|
||||
Reference in New Issue
Block a user