10 Commits

Author SHA256 Message Date
186fec78d1 Accepting request 1310912 from utilities
OBS-URL: https://build.opensuse.org/request/show/1310912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tlrc?expand=0&rev=10
2025-10-12 20:24:26 +00:00
dae41ea87d - Add shell completion
- Update OBS vendoring

OBS-URL: https://build.opensuse.org/package/show/utilities/tlrc?expand=0&rev=20
2025-10-12 09:26:34 +00:00
ddc12b668a Accepting request 1310435 from utilities
- 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

OBS-URL: https://build.opensuse.org/request/show/1310435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tlrc?expand=0&rev=9
2025-10-11 20:49:04 +00:00
b0328e0015 - 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

OBS-URL: https://build.opensuse.org/package/show/utilities/tlrc?expand=0&rev=18
2025-10-10 05:23:57 +00:00
a56715bb7f Accepting request 1275418 from utilities
- Update to 1.11.1:
  * Increase the HTTP request timeout to 30 seconds (#128)
  * Fix issues with proxies (#111)

OBS-URL: https://build.opensuse.org/request/show/1275418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tlrc?expand=0&rev=8
2025-05-08 16:23:14 +00:00
3f7beec6ce - Update to 1.11.1:
* Increase the HTTP request timeout to 30 seconds (#128)
  * Fix issues with proxies (#111)

OBS-URL: https://build.opensuse.org/package/show/utilities/tlrc?expand=0&rev=16
2025-05-08 07:06:44 +00:00
2ca800c0d5 Accepting request 1253602 from utilities
- 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]}}).

OBS-URL: https://build.opensuse.org/request/show/1253602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tlrc?expand=0&rev=7
2025-03-17 21:18:09 +00:00
ec6c56fa7f - 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]}}).

OBS-URL: https://build.opensuse.org/package/show/utilities/tlrc?expand=0&rev=14
2025-03-17 06:16:40 +00:00
af68647f8f Accepting request 1244672 from utilities
- 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)

OBS-URL: https://build.opensuse.org/request/show/1244672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tlrc?expand=0&rev=6
2025-02-10 16:29:13 +00:00
9d5b981d48 - 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)

OBS-URL: https://build.opensuse.org/package/show/utilities/tlrc?expand=0&rev=12
2025-02-10 07:49:30 +00:00
7 changed files with 106 additions and 19 deletions

View File

@@ -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>

View File

@@ -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
View File

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

View File

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

View File

@@ -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>

View File

@@ -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

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cedde8008220c52f8d1d8a8b3a3859536ddb966f55af013c8cb77ee85729eeed
size 21378287
oid sha256:8c8a6ca47b727df3ee8f7efc3d3e7fa855253c1e66097eb2c1530ae96925ace5
size 27775511