Accepting request 1110269 from home:jubalh
ifnarch %ix86 %arm ppc change :) OBS-URL: https://build.opensuse.org/request/show/1110269 OBS-URL: https://build.opensuse.org/package/show/Base:System/eza?expand=0&rev=1
This commit is contained in:
commit
de302471ee
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
25
_service
Normal file
25
_service
Normal file
@ -0,0 +1,25 @@
|
||||
<services>
|
||||
<service mode="disabled" name="obs_scm">
|
||||
<param name="url">https://github.com/eza-community/eza.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v0.11.1</param>
|
||||
<param name="match-tag">*</param>
|
||||
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
</service>
|
||||
<service mode="disabled" name="tar" />
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version"/>
|
||||
<service name="cargo_vendor" mode="disabled">
|
||||
<param name="srcdir">eza</param>
|
||||
<param name="compression">zst</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="disabled">
|
||||
<param name="srcdir">eza</param>
|
||||
</service>
|
||||
</services>
|
5
cargo_config
Normal file
5
cargo_config
Normal file
@ -0,0 +1,5 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
33
exa.changes
Normal file
33
exa.changes
Normal file
@ -0,0 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 11 09:10:57 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.11.1:
|
||||
Bug Fixes:
|
||||
* Add vendored-libgit2 feature to git2 dependency
|
||||
* Filename escaping (last character lost sometimes, no hyperlink)
|
||||
* Build for Windows with chrono
|
||||
Documentation:
|
||||
* Explain vendored-libgit2
|
||||
* Add homebrew, misc fixes
|
||||
* Fix code of conduct link
|
||||
* Update archlinux
|
||||
* Add star history
|
||||
* Add informaton about lazy_static
|
||||
* Remove broken dependabot link
|
||||
* Add bright color options in man pages
|
||||
* Add bright color support in readme changelog
|
||||
Features:
|
||||
* Add highlighting of mounted directories (Linux only)
|
||||
* Add backlog of icons from various exa pull requests and others
|
||||
* Mark .git as ignored, which hides it when using --git-ignore
|
||||
* Add backlog of icons from various exa issues
|
||||
* Expose git2 feature vendored-libgit2
|
||||
* Add build commands to deb-package.sh
|
||||
* Support the MSRV of Rust (1.65.0)
|
||||
* Add bright colour options, change punctuation default
|
||||
* Use chrono crate to handle datetime-related features
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 17:42:59 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Initial package for eza 0.11.0 for openSUSE
|
3
eza-0.11.1~0.tar.zst
Normal file
3
eza-0.11.1~0.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0667e570b289a3aa4504d96d104c61cdfb987b89c55eff1a53d244c3ccccb329
|
||||
size 1197749
|
118
eza.spec
Normal file
118
eza.spec
Normal file
@ -0,0 +1,118 @@
|
||||
#
|
||||
# spec file for package eza
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: eza
|
||||
Version: 0.11.1~0
|
||||
Release: 0
|
||||
Summary: Replacement for ls written in Rust
|
||||
License: MIT
|
||||
Group: System/Base
|
||||
URL: https://github.com/eza-community/eza
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
Source2: cargo_config
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: fish
|
||||
BuildRequires: zsh
|
||||
%ifnarch %ix86 %arm ppc
|
||||
BuildRequires: pandoc
|
||||
%endif
|
||||
|
||||
%description
|
||||
eza is a modern, maintained replacement for ls, built on exa.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
Bash command line completion support for %{name}.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: Zsh Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
Zsh command line completion support for %{name}.
|
||||
|
||||
%package fish-completion
|
||||
Summary: Fish completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and fish)
|
||||
BuildArch: noarch
|
||||
|
||||
%description fish-completion
|
||||
Fish command line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -a1
|
||||
install -D -m 644 %{SOURCE2} .cargo/config
|
||||
|
||||
%build
|
||||
%{cargo_build}
|
||||
|
||||
%install
|
||||
%{cargo_install}
|
||||
|
||||
# Manpage
|
||||
# pandoc isnt available everywhere
|
||||
%ifnarch %ix86 %arm ppc
|
||||
install -d -m 0755 %{buildroot}%{_mandir}/man1/
|
||||
pandoc --standalone -f markdown -t man man/eza.1.md > %{buildroot}%{_mandir}/man1/eza.1
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_mandir}/man5/
|
||||
pandoc --standalone -f markdown -t man man/eza_colors.5.md > %{buildroot}%{_mandir}/man5/eza_colors.5
|
||||
pandoc --standalone -f markdown -t man man/eza_colors-explanation.5.md > %{buildroot}%{_mandir}/man5/eza_colors-explanation.5
|
||||
%endif
|
||||
|
||||
# Completion files
|
||||
install -Dm0644 completions/bash/eza "%{buildroot}%{_datadir}/bash-completion/completions/%{name}"
|
||||
install -Dm0644 completions/zsh/_eza "%{buildroot}%{_datadir}/zsh/site-functions/_%{name}"
|
||||
install -Dm0644 completions/fish/eza.fish "%{buildroot}/%{_datadir}/fish/vendor_completions.d/%{name}.fish"
|
||||
|
||||
%check
|
||||
%{cargo_test}
|
||||
|
||||
%files
|
||||
%license LICENCE
|
||||
%doc README.md
|
||||
%{_bindir}/eza
|
||||
%ifnarch %ix86 %arm ppc
|
||||
%{_mandir}/man1/eza.1%{?ext_man}
|
||||
%{_mandir}/man5/eza_colors.5%{?ext_man}
|
||||
%{_mandir}/man5/eza_colors-explanation.5%{?ext_man}
|
||||
%endif
|
||||
|
||||
%files bash-completion
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
|
||||
%files zsh-completion
|
||||
%{_datadir}/zsh/site-functions/_%{name}
|
||||
|
||||
%files fish-completion
|
||||
%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||
|
||||
%changelog
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5ad57e797e9d8570e5c9d0b48efe47b0ae95b63e06136c408f5951d3826723b
|
||||
size 31094712
|
Loading…
Reference in New Issue
Block a user