commit 37014fa6e59a04541fe922328b20fa3bb54c3c60ca92b89c1784eda0530b1d36 Author: Michael Vetter Date: Fri Sep 28 15:16:54 2018 +0000 Accepting request 639027 from home:dmarcoux New devel package OBS-URL: https://build.opensuse.org/request/show/639027 OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/bat-0.7.1.tar.gz b/bat-0.7.1.tar.gz new file mode 100644 index 0000000..7e08d1a --- /dev/null +++ b/bat-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5863895e6ac95f5349da95ff74e196c4b365af3fc3f4a1376cab797df493b7a4 +size 701066 diff --git a/bat.changes b/bat.changes new file mode 100644 index 0000000..294837b --- /dev/null +++ b/bat.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 24 22:33:10 UTC 2018 - dmarcoux@posteo.de + +- Update to version 0.7.1 + +------------------------------------------------------------------- +Sat Aug 25 22:00:00 UTC 2018 - viktor.saevars@gmail.com + + - Inital packaging @ 0.5.0 diff --git a/bat.spec b/bat.spec new file mode 100644 index 0000000..9518c5b --- /dev/null +++ b/bat.spec @@ -0,0 +1,66 @@ +# +# spec file for package bat +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: bat +Version: 0.7.1 +Release: 0 +Summary: A cat(1) clone with syntax highlighting and Git integration +License: MIT +Group: Productivity/Text/Utilities +Url: https://github.com/sharkdp/bat +Source0: https://github.com/sharkdp/bat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: vendor.tar.xz +BuildRequires: cargo +BuildRequires: rust +BuildRequires: rust-std +BuildRequires: cmake +BuildRequires: zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +A cat(1) clone with wings. +Supports syntax highlighting for a large number of programming and markup languages. +Has git integration. Automatic paging and more... + +%prep +%setup -q +%setup -q -D -T -a 1 +mkdir cargo-home +cat >cargo-home/config <