Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 186fec78d1 | |||
| dae41ea87d | |||
| ddc12b668a | |||
| b0328e0015 | |||
| a56715bb7f | |||
| 3f7beec6ce | |||
| 2ca800c0d5 | |||
| ec6c56fa7f | |||
| af68647f8f | |||
| 9d5b981d48 |
7
_service
7
_service
@@ -1,9 +1,9 @@
|
||||
<services>
|
||||
<service mode="disabled" name="obs_scm">
|
||||
<param name="url">https://github.com/tldr-pages/tlrc.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v1.9.3</param>
|
||||
<param name="revision">v1.12.0</param>
|
||||
<param name="match-tag">*</param>
|
||||
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
@@ -19,8 +19,5 @@
|
||||
<param name="compression">zst</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="disabled">
|
||||
<param name="srcdir">ast-grep</param>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
||||
3
tlrc-1.12.0.tar.zst
Normal file
3
tlrc-1.12.0.tar.zst
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a7b02fab787dbf5487bbd3b84faeb336fbcb1fb23a3d2c15db4600f6bdb15286
|
||||
size 39878
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0ab2a92f8f97ad7fa19d821548753d4d3bc7da2a6c808fe511cced8f67ab3aed
|
||||
size 31242
|
||||
49
tlrc.changes
49
tlrc.changes
@@ -1,3 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 11 02:40:24 UTC 2025 - pallas wept <pallaswept@proton.me>
|
||||
|
||||
- Add shell completion
|
||||
- Update OBS vendoring
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 10 05:17:35 UTC 2025 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 1.12.0:
|
||||
* New config option: cache.defer_auto_update to perform automatic
|
||||
updates after the page is shown (#125)
|
||||
* Add verbose mode (--verbose command-line option)
|
||||
* Fix panic on --config-path when TLRC_CONFIG is set to an invalid value
|
||||
* Don't print colors if stderr is not a terminal
|
||||
* --clean-cache is now interactive, you can choose which directories
|
||||
to delete
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 8 07:03:45 UTC 2025 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 1.11.1:
|
||||
* Increase the HTTP request timeout to 30 seconds (#128)
|
||||
* Fix issues with proxies (#111)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 17 06:13:29 UTC 2025 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 1.11.0:
|
||||
* Fix loading TLS certificates from the OS store (#111)
|
||||
* New config option: output.line_length. The default is 0, which
|
||||
means to use the width of the terminal.
|
||||
Description lines will be wrapped to never exceed this value (#120).
|
||||
* Client specification v2.3:
|
||||
+ new command-line options: --short-options and --long-options.
|
||||
+ new config option: output.option_style. Can be short, long or both.
|
||||
Specifies which option style should be shown in new option placeholders ({{[-s|--long]}}).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 07:37:58 UTC 2025 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 1.10.0:
|
||||
* Fixed stretched man page rendering when using mandoc
|
||||
* Fixed wrong error messages when the pages.en directory in the
|
||||
cache is empty
|
||||
* The location of the config file can now be overridden using
|
||||
the TLRC_CONFIG environment variable (#89)
|
||||
* Added support for hex color codes (#115)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 30 03:54:02 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
||||
54
tlrc.spec
54
tlrc.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tlrc
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,14 +17,13 @@
|
||||
|
||||
|
||||
Name: tlrc
|
||||
Version: 1.9.3+0
|
||||
Version: 1.12.0
|
||||
Release: 0
|
||||
Summary: A tldr-pages client written in Rust
|
||||
License: MIT
|
||||
URL: https://tldr.sh/
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
Source2: cargo_config
|
||||
BuildRequires: cargo-packaging
|
||||
# Seems there is already another tldr-pages client
|
||||
# Well but tlrc is the official one :)
|
||||
@@ -33,9 +32,41 @@ Conflicts: tealdeer
|
||||
%description
|
||||
The tldr-pages project is a collection of community-maintained help pages for command-line tools, that aims to be a simpler, more approachable complement to traditional man pages.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Group: System/Shells
|
||||
Supplements: (%{name} and bash-completion)
|
||||
Requires: %{name} = %{version}
|
||||
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: %{name} = %{version}
|
||||
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: %{name} = %{version}
|
||||
Requires: zsh
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
Zsh command-line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -a1
|
||||
install -D -m 644 %{SOURCE2} .cargo/config
|
||||
|
||||
%build
|
||||
%{cargo_build}
|
||||
@@ -43,10 +74,25 @@ install -D -m 644 %{SOURCE2} .cargo/config
|
||||
%install
|
||||
%{cargo_install}
|
||||
|
||||
install -Dm644 completions/tldr.bash %{buildroot}%{_datadir}/bash-completion/completions/tldr
|
||||
install -Dm644 completions/tldr.fish -t %{buildroot}%{_datadir}/fish/vendor_completions.d
|
||||
install -Dm644 completions/_tldr -t %{buildroot}%{_datadir}/zsh/site-functions
|
||||
|
||||
%check
|
||||
%{cargo_test}
|
||||
|
||||
%files
|
||||
%{_bindir}/tldr
|
||||
|
||||
%files bash-completion
|
||||
%{_datadir}/bash-completion/*
|
||||
|
||||
%files fish-completion
|
||||
%dir %{_datadir}/fish
|
||||
%{_datadir}/fish/*
|
||||
|
||||
%files zsh-completion
|
||||
%dir %{_datadir}/zsh
|
||||
%{_datadir}/zsh/*
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cedde8008220c52f8d1d8a8b3a3859536ddb966f55af013c8cb77ee85729eeed
|
||||
size 21378287
|
||||
oid sha256:8c8a6ca47b727df3ee8f7efc3d3e7fa855253c1e66097eb2c1530ae96925ace5
|
||||
size 27775511
|
||||
|
||||
Reference in New Issue
Block a user