Accepting request 1098479 from home:smolsheep

I've improved the quality and relevance of the changelog to be significantly more relevant to users, filtering out irrelevant go version bumps and general cruft.

OBS-URL: https://build.opensuse.org/request/show/1098479
OBS-URL: https://build.opensuse.org/package/show/utilities/lf?expand=0&rev=1
This commit is contained in:
Michael Vetter 2023-07-13 08:34:37 +00:00 committed by Git OBS Bridge
commit be1eeae098
8 changed files with 230 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

16
_service Normal file
View File

@ -0,0 +1,16 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/horriblename/lf.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">r(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="disabled"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/horriblename/lf.git</param>
<param name="changesrevision">61ffdd1a79205226c11cb03f1cfffc9a91b9bd15</param></service></servicedata>

3
lf-30.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f48194b9f541e01be1b05d3fe0cf60b3c67d202fb283f284df76795a6815b6f2
size 131864

78
lf.changes Normal file
View File

@ -0,0 +1,78 @@
-------------------------------------------------------------------
Mon May 29 00:34:07 UTC 2023 - Joshua Smith <jsmithfpv@gmail.com>
- Update to version 30:
* preserve mtime when copying files (#1026)
* Bound cursor position when selecting file (#1247)
* Expand tilde during autocompletion (#1246)
* Refactor pager commands & synchronous shell commands (#1243)
* LF_CONFIG_HOME environment variable (#1253)
* Support custom colors for `drawbox` characters (#1251)
* Support modifiers in special key mappings (#1248)
* Fix count when parsing `bottom` command (#1240)
* Add `jumps` command for displaying the jump list (#1233)
* Separate filter from selections in the ui ruler (#1223)
* Prevent scrolling to bottom when selecting files (#1222)
-------------------------------------------------------------------
Fri May 12 21:45:24 UTC 2023 - Joshua Smith <jsmithfpv@gmail.com>
- Update to version 29:
* allow previews of up to 5MB per line
* Validate `selmode` setting (#1206)
* Fix statusbar spacing (#1205)
* add 'ruler' to completion
* Customizable statusline, df (#1168)
* Fix crash when sorting files in a directory (#1204)
* Simplify edge calculation when scrolling down (#1194)
* Use $VISUAL for the `e` command instead of $EDITOR (#1197)
* Make `:maps` work on Windows and add `:cmaps`. (#1201)
* Add support for moving to a specific line (#1196)
* lfrc.example: Add mkdir, add "show execution result" (#1188)
* add file operations to non-features in readme
* Make the `:doc` command work even if `lf` is not in the PATH,
add `lf` environment variable (#1176)
* Export count as a variable when running commands (#1187)
* Completion: always insert longest match (#1184)
* Fix infinite loop in listMatches (#1183)
* Support custom line number colors (#1177)
* Display zero when relativenumber is enabled (#1171)
* Use tcell constants for drawbox (#1170)
* Improve preview loading message flickering (#1154)
* Enhance rename prompt (#1162)
* Avoid refreshing previews for async shell commands (#1164)
* add errors for unexpected boolean option values
* add 'true/false' syntax for boolean options
* Fix width used for line numbers (#1151)
* Refactor code for printing directories (#1150)
* Update file info after reload command (#1149)
* Delete stale dircache entry during rename (#1138)
* `invert-below` command to substitute for visual mode (#1101)
* Navigate cmd history with up/down (#1112)
* Option to change look of cursors in parent dirs, rename an
option. (#1106)
* Fix documentation for dironly/dirpreviews options (#1105)
* Allow separate styles for cursor in normal and preview
panes, simplify `tagfmt` and `errorfmt` (#1086)
* Refresh preview even if selection doesn't change (#1074)
* Add example to hiddenfiles documentation (#1073)
* Disallow exiting from `rename:` mode with backspace (#1060)
* Bind Ctrl+MouseWheel to scroll up/down (#1051)
* Make `lfcd` examples safer for people who alias `lf` to
`lfcd` (#1049)
-------------------------------------------------------------------
Tue Mar 07 15:21:41 UTC 2023 - Joshua Smith <jsmithfpv@disroot.org>
- Update to version 28.1:
* revert dim colors for previews
* add the current example open command to the doc
* Avoids flicker during open (#991)
* export lf_width and lf_height as env variables
* load file info after init (#994)
* Sixel patch (#1)
-------------------------------------------------------------------
Tue Mar 7 15:18:48 UTC 2023 - Joshua Smith <jsmithfpv@disroot.org>
- Initial commit for lf 28.1 for openSUSE

102
lf.spec Normal file
View File

@ -0,0 +1,102 @@
#
# spec file for package sc-im
#
# Copyright (c) 2022 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: lf
Version: 30
Release: 0
Summary: Terminal file manager (with sixel support)
License: MIT
Group: Productivity/File utilities
Url: https://github.com/horriblename/lf
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang-packaging
%description
lf (as in "list files") is a terminal file manager written in Go with a
heavy inspiration from ranger file manager
%package bash-completion
Summary: Bash Completion for %{name}
Group: System/Shells
Supplements: (%{name} and bash-completion)
Requires: bash-completion
BuildArch: noarch
%description bash-completion
Bash command-line completion support for %{name}.
%package fish-completion
Summary: Fish Completion for %{name}
Group: System/Shells
Supplements: (%{name} and fish)
Requires: fish
BuildArch: noarch
%description fish-completion
Fish command-line completion support for %{name}.
%package zsh-completion
Summary: Zsh Completion for %{name}
Group: System/Shells
Supplements: (%{name} and zsh)
Requires: zsh
BuildArch: noarch
%description zsh-completion
Zsh command-line completion support for %{name}.
%prep
%autosetup -a 1
%build
go build -v -buildmode=pie -ldflags="-s -w \
-X main.gVersion=%{version}" \
-mod vendor -trimpath .
%install
install -Dm755 -t "%{buildroot}%{_bindir}" lf
install -Dm644 -t "%{buildroot}%{_mandir}/man1" lf.1
install -Dm644 -t "%{buildroot}/%{_docdir}/%{name}" README.md etc/lfrc.example
install -Dm644 -t "%{buildroot}/%{_datadir}/applications" lf.desktop
install -Dm644 -t "%{buildroot}/%{_datadir}/bash-completion/completions/lf" etc/lf.bash
install -Dm644 -t "%{buildroot}/%{_datadir}/fish/vendor_functions.d" etc/lfcd.fish
install -Dm644 -t "%{buildroot}/%{_datadir}/fish/vendor_completions.d/lf.fish" etc/lf.fish
install -Dm644 -t "%{buildroot}/%{_datadir}/zsh/site-functions/_lf" etc/lf.zsh
install -Dm644 -t "%{buildroot}/%{_licensedir}/lf" LICENSE
%files
%doc README.md lfrc.example
%license LICENSE
%{_mandir}/man1/lf.1*
%{_bindir}/lf
%{_datadir}/applications/%{name}.desktop
%files bash-completion
%{_datadir}/bash-completion/*
%files fish-completion
%dir %{_datadir}/fish
%{_datadir}/fish/*
%files zsh-completion
%dir %{_datadir}/zsh
%{_datadir}/zsh/*
%changelog

3
vendor.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa2716591f36f7e8a42ac0fdf360ef5d6c35eb2c42c7fedb62d21bd50e8e1b78
size 2148883