From bec15ab6acd7a056c6384a47ff11692df06b3d41 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Sat, 24 Dec 2016 18:49:00 +0000 Subject: [PATCH] Accepting request 447615 from home:alois:branches:utilities Update to 1.8.0 OBS-URL: https://build.opensuse.org/request/show/447615 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=11 --- ranger-1.7.2.tar.gz | 3 --- ranger-1.8.0.tar.gz | 3 +++ ranger-rpmlintrc | 2 +- ranger.changes | 43 +++++++++++++++++++++++++++++++++++++++++++ ranger.desktop | 10 ---------- ranger.spec | 9 +++------ 6 files changed, 50 insertions(+), 20 deletions(-) delete mode 100644 ranger-1.7.2.tar.gz create mode 100644 ranger-1.8.0.tar.gz delete mode 100644 ranger.desktop diff --git a/ranger-1.7.2.tar.gz b/ranger-1.7.2.tar.gz deleted file mode 100644 index 2f84733..0000000 --- a/ranger-1.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94f6e342daee4445f15db5a7440a11138487c49cc25da0c473bbf1b8978f5b79 -size 269713 diff --git a/ranger-1.8.0.tar.gz b/ranger-1.8.0.tar.gz new file mode 100644 index 0000000..f7ad8a7 --- /dev/null +++ b/ranger-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce02476cb93d51b901eb6f5f0fc9675c58bd0a2f11d2ce0cdb667e15ec314092 +size 227368 diff --git a/ranger-rpmlintrc b/ranger-rpmlintrc index 897e312..fc5d0ee 100644 --- a/ranger-rpmlintrc +++ b/ranger-rpmlintrc @@ -1,4 +1,4 @@ addFilter("python-naming-policy-not-applied") addFilter("non-executable-script .*/ranger/data/scope.sh") -addFilter("non-executable-script .*/usr/lib/python2.7/site-packages/ranger/ext/rifle.py") +addFilter("non-executable-script .*/usr/lib/python.*/site-packages/ranger/ext/rifle.py") addFilter("doc-file-dependency .*/usr/share/doc/packages/ranger/(examples|tools)") diff --git a/ranger.changes b/ranger.changes index abab0ad..cfb364f 100644 --- a/ranger.changes +++ b/ranger.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Sat Dec 24 18:06:47 UTC 2016 - aloisio@gmx.com + +- Update to version 1.8.0 + * scope.sh is now needed for the now fully scriptable image + previews + * Overhaul of version control system integration, now with + threads + * Fixed ranger not finding the location of w3mimgdisplay in + most cases + * Fixed many minor bugs + * Added midnight-commander like multipane view, toggleable + with `~` key. It displays the current directory of all the + open tabs next to each other. + * Added autodetect for 256 color support in scope.sh source + code preview + * Added macro `%confdir` that expands to `~/.config/ranger` + by default + * Added possibility to toggle/cycle through options with + `set !` + * Added `Mm`/`Ms` key to enable the linemode showing + modification time + * Added `yt`/`dt` keys to toggle whether file is in copy/cut + buffer + * Added `line_numbers` setting showing absolute/relative + line numbers + * Added `Alt-Left` and `Alt-Right` key bindings to move by + words in console + * Added previews for libreoffice files with `odt2txt` + * Added `preview_images_method=urxvt` option for previewing + images by changing the urxvt background (requires urxvt + compiled with pixbuf support) + * Added `clear_filters_on_dir_change` option + * Added Travis-CI integration + * Changed `zi` key to toggle `preview_images` option + * Improved PEP8 compliance + * Improved documentation + * Improved UI by separating file path in title bar with a + space from the username/hostname for quick copy&pasting by + shift+double-clicking on it. + +- Dropped ranger.desktop now supplied from upstream + ------------------------------------------------------------------- Sat Nov 5 20:25:10 UTC 2016 - aloisio@gmx.com diff --git a/ranger.desktop b/ranger.desktop deleted file mode 100644 index b73b564..0000000 --- a/ranger.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Version=1.0 -Terminal=true -Exec=ranger -Type=Application -Categories= -StartupNotify=false -Name=Ranger -GenericName=File Manager - diff --git a/ranger.spec b/ranger.spec index 8ff2a06..823a4c6 100644 --- a/ranger.spec +++ b/ranger.spec @@ -18,14 +18,13 @@ %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} Name: ranger -Version: 1.7.2 +Version: 1.8.0 Release: 0 Summary: Console File Manager License: GPL-3.0 Group: Productivity/File utilities Url: http://ranger.nongnu.org Source: http://nongnu.org/ranger/ranger-%{version}.tar.gz -Source1: ranger.desktop Source99: ranger-rpmlintrc BuildRequires: python-devel >= 2.5.1 Requires: file @@ -62,6 +61,7 @@ though ranger is easily controllable with just the arrow keys or the mouse. %prep %setup -q +sed -e 's|#!/bin/python|#!%{_bindir}/env python|' -i doc/tools/convert_papermode_to_metadata.py %build python ./setup.py build @@ -74,13 +74,12 @@ python ./setup.py install \ rm -rf "%{buildroot}%{_datadir}/doc/ranger" %if 0%{?suse_version} -install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" %suse_update_desktop_file -r "%{name}" System FileManager %endif %files %defattr(-,root,root) -%doc AUTHORS CHANGELOG README.md HACKING.md +%doc AUTHORS CHANGELOG.md README.md HACKING.md %doc doc/colorschemes.txt %doc doc/tools %doc examples @@ -90,8 +89,6 @@ install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.des %{python_sitelib}/ranger %{_mandir}/man1/ranger.1* %{_mandir}/man1/rifle.1* -%if 0%{?suse_version} %{_datadir}/applications/%{name}.desktop -%endif %changelog