diff --git a/README.md b/README.md new file mode 100644 index 0000000..cfee5a3 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# ranger + +URL: [ranger](https://github.com/ranger/ranger) + +---- + +ranger is a console file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. It ships with rifle, a file launcher that is good at automatically finding out which program to use for what file type. For mc aficionados there's also the multi-pane viewmode. diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..ceb06ce --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1765401239 +commit: 2f9745f84b300c707e8fa94066c9a3f2836e316937d60f43de219481bf6f90df +url: https://src.opensuse.org/sbradnick/ranger +revision: main diff --git a/_service b/_service index f472dd9..972fd35 100644 --- a/_service +++ b/_service @@ -3,11 +3,17 @@ https://github.com/ranger/ranger git @PARENT_TAG@+git%cd.%h - v(.*) + enable - enable + + v1.9.3 + 1.9.4 diff --git a/_servicedata b/_servicedata index 93b1eb1..0659338 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/ranger/ranger - 38bb8901004b75a407ffee4b9e176bc0a436cb15 \ No newline at end of file + 3f7a3546e59d52e5de5bbb13b9d9968bfaf6b659 \ No newline at end of file diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..8064aa2 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b73b386832fd4a654195f9b01177b471ee11539f6a0a0566ad27a24808e768f7 +size 296 diff --git a/ranger-1.9.3+git20240221.38bb890.tar.gz b/ranger-1.9.3+git20240221.38bb890.tar.gz deleted file mode 100644 index bf0bb6e..0000000 --- a/ranger-1.9.3+git20240221.38bb890.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80590c5eaa89dbc84afaf3ccae5f9c043413deb85751c5e722832556bcc3bfe9 -size 314706 diff --git a/ranger-1.9.4+git20250910.3f7a3546.tar.gz b/ranger-1.9.4+git20250910.3f7a3546.tar.gz new file mode 100644 index 0000000..b86232a --- /dev/null +++ b/ranger-1.9.4+git20250910.3f7a3546.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22bcee1ae9f546959e773d7b0035b6732984ca06fe9c74fbe19be92d87d4b996 +size 313717 diff --git a/ranger-rpmlintrc b/ranger-rpmlintrc index bc32e1f..ffbf6b7 100644 --- a/ranger-rpmlintrc +++ b/ranger-rpmlintrc @@ -1 +1,4 @@ addFilter("non-executable-script .*/usr/lib/python.*/site-packages/ranger/ext/rifle.py") +### 20251006: This is needed when building locally, but not in OBS +addFilter("python-bytecode-inconsistent-mtime *"); +##### diff --git a/ranger.changes b/ranger.changes index 6a839f5..092c42b 100644 --- a/ranger.changes +++ b/ranger.changes @@ -1,3 +1,101 @@ +------------------------------------------------------------------- +Wed Dec 10 21:11:37 UTC 2025 - Scott Bradnick + +- Adding 'Source100: README.md' as the README is suggested at src.opensuse.org + setup, otherwise get the following message: + * "Attention, "README.md" is not mentioned in spec files as source or patch." + +------------------------------------------------------------------- +Mon Oct 06 14:53:49 UTC 2025 - Scott Bradnick + +- Update to version 1.9.4+git20250910.3f7a3546: + * img_display: Avoid unicode escape sequences for Ueberzug input + * man: fix documentation of which license ranger uses exactly + * rifle: fixed+clarified usage string + +------------------------------------------------------------------- +Thu Jun 12 04:38:41 UTC 2025 - Scott Bradnick + +- Update to version 1.9.4+git20250604.7e38143: + * fixed bug with command info staying + * Revert "fixed open_with bugginess" + * fixed open_with bugginess + * commands: Reword comment for brevity and accuracy + * GHActions: Pass config_files rather than boolean to flake8 + * commands: Disable invalid-name and too-many-lines pylints + * Pylint: Disable invalid-name and too-many-lines for commands.py + * add :unnarrow to disable :narrow mode + * rifle: Update version + +------------------------------------------------------------------- +Thu Jun 12 04:25:57 UTC 2025 - Steve Kowalik + +- Use pyproject macros to build and install. + +------------------------------------------------------------------- +Thu May 1 01:55:03 UTC 2025 - Scott Bradnick + +- Cleaning up bad references to '#!python' for %{_bindir}/{ranger,rifle} + +------------------------------------------------------------------- +Sun Mar 09 01:27:14 UTC 2025 - scott.bradnick@suse.com + +- Seems to need 'BuildRequires: python-rpm-macros' for '%{python3_sitelib}' + to function correctly +- Update to version 1.9.4+git20250305.7ad50fa: + * 7-zip now has an official Linux version (7zz) + * add: support for tilde in bookmarks + * img_display: address PR feedback + * docs: kitty image previews are supported in other terminals now + * img_display: auto-detect support for kitty image previews + * rifle(terminals): support auto-detecting ghostty terminal emulator + * Modified order of expantions in peview_script + * Add GNOME papers to document viewers + * Added ability to use environmental variables in preview_script option + * doc: Regenerate man pages to have the proper version + * Makefile: Update version Grep since adding logo to README + * ranger/__init__: Caught another unbumped version + * mime.types: Add .nim extension for text/plain + * Fixed mistooks of nim scripts as a video aNIMations in rifle.conf + * GHActions: Pypy don't run old Flake8/Pylint + * GHActions: Use Pypy 3.10 + * actions: Use keywords for rifle.execute + * runner: Allow action as positional argument + * ui: Refresh window in initialize + * ui: endwin already sets cursor to normal visibility + * requirements: Add setuptools + * img_display: Silence no-member false positive + * core/main: Drop unused variable prefix_length + * core,ext: Avoid return in finally shadowing return value + * test_py2_compat: Prevent use of yield from + * core,ext: Reduce positional arguments where possible + * pager,history: Replace branch with min/max builtins + * Pylint: Update custom checker for compatibility with 3.3.1 + * GHActions: Bump action versions + * README: Use forge-agnostic URL + * README: Capitalize ranger + * README: Bump version + * README: Replace Travis with GHActions badge + * README: Center header + * make logo in readme wider + * move the ranger logo to the very top + * Add option confirm_on_trash + * Fix typos + * Add IINA to rifle.conf + * browsercolumn: ANSI escape codes support + * #1182: Fix signals for OS X + +------------------------------------------------------------------- +Wed Nov 06 17:08:42 UTC 2024 - scott.bradnick@suse.com + +- Update to version 1.9.3+git20240801.bd9b37f: + * properly decode file:// urls given to ranger as argument (fixes #2900) + * fix #2873 WM_NAME now shows "not accessible" in non-existent directories + * Fixed inconsistency in ranger documentation where it was stated that commanding 'linemode humanreadablesizemtime' changed the linemode to display human readable modification time and file size, but the correct command for this is 'linemode sizehumanreadablemtime' + * README: fix link formatting on github's markdown renderer + * README: add liberapay badge + * Mention viewmode key binding in man + ------------------------------------------------------------------- Sun Mar 17 16:47:04 UTC 2024 - scott.bradnick@suse.com diff --git a/ranger.obsinfo b/ranger.obsinfo index 821ab8c..ea21a38 100644 --- a/ranger.obsinfo +++ b/ranger.obsinfo @@ -1,4 +1,4 @@ name: ranger -version: 1.9.3+git20240221.38bb890 -mtime: 1708536096 -commit: 38bb8901004b75a407ffee4b9e176bc0a436cb15 +version: 1.9.4+git20250910.3f7a3546 +mtime: 1757509900 +commit: 3f7a3546e59d52e5de5bbb13b9d9968bfaf6b659 diff --git a/ranger.spec b/ranger.spec index 48fba94..b4c86e7 100644 --- a/ranger.spec +++ b/ranger.spec @@ -1,7 +1,7 @@ # # spec file for package ranger # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,27 @@ # -%define short_version 1.9.3 +%define pythons python3 +%define short_version 1.9.4 Name: ranger -Version: 1.9.3+git20240221.38bb890 +Version: 1.9.4+git20250910.3f7a3546 Release: 0 Summary: Console File Manager License: GPL-3.0-or-later Group: Productivity/File utilities URL: https://github.com/ranger/ranger -Source: %{name}-%{version}.tar.gz +Source0: %{name}-%{version}.tar.gz Source99: ranger-rpmlintrc +Source100: README.md # PATCH-FIX-UPSTREAM ranger.desktop.patch -- Add missing GenericName Patch0: ranger.desktop.diff +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: python3-devel +BuildRequires: python3-pip BuildRequires: python3-setuptools -BuildRequires: update-desktop-files +BuildRequires: python3-wheel Requires: file Requires: python3-curses Recommends: atool @@ -52,17 +57,18 @@ though ranger is easily controllable with just the arrow keys or the mouse. %prep %autosetup -p1 +sed -e 's|#!%{_bindir}/python|#!%{_bindir}/python3|' -i ranger/ext/*.py sed -e 's|#!/usr/bin/env python|#!%{_bindir}/python3|' -i doc/tools/*.py sed -e 's|#!/usr/bin/env bash|#!/bin/bash|' -i ranger/data/scope.sh %build -python3 ./setup.py build +%pyproject_wheel %install -python3 ./setup.py install \ - --prefix="%{_prefix}" \ - --root=%{buildroot} +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +sed -e 's|#!python|#!%{_bindir}/python3|' -i %{buildroot}%{_bindir}/{ranger,rifle} mv "%{buildroot}%{_datadir}/doc/ranger" _doc find _doc -type f -exec chmod -x '{}' + @@ -79,8 +85,8 @@ find _doc -type f -exec chmod -x '{}' + %doc _doc/* %{_bindir}/ranger %{_bindir}/rifle -%{python3_sitelib}/ranger_fm-%{short_version}-*.egg-info -%{python3_sitelib}/ranger +%{python_sitelib}/ranger_fm-%{short_version}.dist-info +%{python_sitelib}/ranger %{_mandir}/man1/ranger.1%{ext_man} %{_mandir}/man1/rifle.1%{ext_man} %{_datadir}/applications/%{name}.desktop