factory #1

Open
sbradnick wants to merge 5 commits from sbradnick/pool.ranger:factory into leap-16.0
11 changed files with 147 additions and 20 deletions

7
README.md Normal file
View File

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

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1765401239
commit: 2f9745f84b300c707e8fa94066c9a3f2836e316937d60f43de219481bf6f90df
url: https://src.opensuse.org/sbradnick/ranger
revision: main

View File

@@ -3,11 +3,17 @@
<param name="url">https://github.com/ranger/ranger</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@+git%cd.%h</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
<!--
<param name="revision">master</param>
<param name="versionrewrite-pattern">v(.*)</param>
-->
<param name="changesgenerate">enable</param>
<!--
$ grep -r __version__ ./ranger
ranger/ranger/__init__.py:__version__ = '1.9.4'
-->
<param name="versionrewrite-pattern">v1.9.3</param>
<param name="versionrewrite-replacement">1.9.4</param>
</service>
<service name="set_version" mode="manual"/>
<service name="tar" mode="manual"/>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/ranger/ranger</param>
<param name="changesrevision">38bb8901004b75a407ffee4b9e176bc0a436cb15</param></service></servicedata>
<param name="changesrevision">3f7a3546e59d52e5de5bbb13b9d9968bfaf6b659</param></service></servicedata>

3
build.specials.obscpio Normal file
View File

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

View File

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

Binary file not shown.

View File

@@ -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 *");
#####

View File

@@ -1,3 +1,101 @@
-------------------------------------------------------------------
Wed Dec 10 21:11:37 UTC 2025 - Scott Bradnick <scott.bradnick@suse.com>
- 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 <scott.bradnick@suse.com>
- 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 <scott.bradnick@suse.com>
- 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 <steven.kowalik@suse.com>
- Use pyproject macros to build and install.
-------------------------------------------------------------------
Thu May 1 01:55:03 UTC 2025 - Scott Bradnick <scott.bradnick@suse.com>
- 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

View File

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

View File

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