summaryrefslogtreecommitdiff
path: root/bat.spec
diff options
context:
space:
mode:
Diffstat (limited to 'bat.spec')
-rw-r--r--bat.spec20
1 files changed, 20 insertions, 0 deletions
diff --git a/bat.spec b/bat.spec
new file mode 100644
index 0000000..ecdb872
--- /dev/null
+++ b/bat.spec
@@ -0,0 +1,20 @@
+Name: bat
+Version: 0.23.0
+Release: 1
+Summary: A cat(1) clone with syntax highlighting and Git integration.
+License: Apache-2.0, MIT
+URL: https://github.com/sharkdp/bat
+
+Source0: https://github.com/sharkdp/bat/archive/refs/tags/bat-%{version}.tar.gz
+Source1: https://gitee.com/zerocraft/bat/blob/master/bat-%{version}.tar.gz
+
+BuildRequires: cargo
+
+%description
+A cat(1) clone with syntax highlighting and Git integration.
+
+%prep
+%autosetup
+
+%install
+cargo install --locked bat