From 5aec3577b948752bf17e033fd78a56f2c275456f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 17 Nov 2016 11:22:31 +0000 Subject: [PATCH] Accepting request 438862 from home:alois:branches:utilities Update to 1.7.2 OBS-URL: https://build.opensuse.org/request/show/438862 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=10 --- ranger-1.6.1.tar.gz | 3 --- ranger-1.7.2.tar.gz | 3 +++ ranger-rpmlintrc | 2 ++ ranger.changes | 59 +++++++++++++++++++++++++++++++++++++++++++++ ranger.spec | 49 ++++++++++++++++++------------------- 5 files changed, 88 insertions(+), 28 deletions(-) delete mode 100644 ranger-1.6.1.tar.gz create mode 100644 ranger-1.7.2.tar.gz diff --git a/ranger-1.6.1.tar.gz b/ranger-1.6.1.tar.gz deleted file mode 100644 index 21f4ea4..0000000 --- a/ranger-1.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ccb230a5d2d71ca11612b5af1ca515f9d490b51b1546678828e306252677db5e -size 168967 diff --git a/ranger-1.7.2.tar.gz b/ranger-1.7.2.tar.gz new file mode 100644 index 0000000..2f84733 --- /dev/null +++ b/ranger-1.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94f6e342daee4445f15db5a7440a11138487c49cc25da0c473bbf1b8978f5b79 +size 269713 diff --git a/ranger-rpmlintrc b/ranger-rpmlintrc index 88883d3..897e312 100644 --- a/ranger-rpmlintrc +++ b/ranger-rpmlintrc @@ -1,2 +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("doc-file-dependency .*/usr/share/doc/packages/ranger/(examples|tools)") diff --git a/ranger.changes b/ranger.changes index 6e3fad5..abab0ad 100644 --- a/ranger.changes +++ b/ranger.changes @@ -1,3 +1,62 @@ +------------------------------------------------------------------- +Sat Nov 5 20:25:10 UTC 2016 - aloisio@gmx.com + +- Update to version 1.7.2 + * Fixed file name arguments passed to "sxiv" and "feh" when + using ":flat" + * Fixed removal of empty directories when using ":rename" + * Fixed free disk space display on Mac OS X + * Fixed `examples/vim_file_chooser` to work with gvim too + * Fixed some other rare crashes and bugs + * Fixed downward mouse wheel scrolling + * Fixed warning about regex splits being drawin in title bar + since python3.5 + * Really fixed "S" key binding not working when SHELL=fish + * Improved doc/cheatsheet.svg + * Added some entries to rifle.conf + * Added key bindings pO and pP which work like po and pp but + queue the operation in a first-in-first-out order. + version 1.7.1 + * Added doc/cheatsheet.svg + * Added examples/rc_emacs.conf, a config file adding + emacs-like key bindings + * Added "env" keyword in rifle.conf + * Fixed ":bulkrename" command in python3 + * Fixed "S" key binding not working when SHELL=fish + version 1.7.0 + * The default editor is now "vim" instead of "nano" + * Added automatic updates of tags when a file is renamed + from within ranger + * Added "preview_images_method" which can be set to "iterm2" + to use native iTerm2 image previews + * Added ":rename_append" command to rename files without the + file extension + * Added ":linemode" command to change the way the files are + displayed. Try this out by pressing M followed by one of + the suggested keys. New linemodes can be added with + ranger.api.register_linemode(). + * Added ":filter_inode_type" command to only show + directories, files or links + * Added ":meta" command for managing custom file metadata + * Added ":flat" command for displaying subdirectories + * Added "solarized" colorscheme + * Added generic ability to use scope.sh for image previews + * Added video previews in scope.sh + * Added option "sort_unicode" to sort according to unicode, + not ASCII + * ":mkdir" can now create multiple directory levels (like + `mkdir -p`) + * ":help" (key binding "?") is now interactive + * ":find" (key binding "/") is now case insensitive by + default + * "ranger --copy-config=all" now copies a short sample + commands.py rather than the full one, so that you can + update ranger without having broken commands. The full + commands.py is still copied to + ~/.config/ranger/commands_full.py. + * Fixed broken copying of symlinks +- Spec cleanup + ------------------------------------------------------------------- Mon Jul 15 10:35:54 UTC 2013 - pascal.bleser@opensuse.org diff --git a/ranger.spec b/ranger.spec index cfc3c88..8ff2a06 100644 --- a/ranger.spec +++ b/ranger.spec @@ -1,3 +1,6 @@ +# spec file for package ranger +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Pascal Bleser # # All modifications and additions to the file contributed by third parties @@ -10,33 +13,32 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# -# vim: set sw=4 ts=4 et nu: - -%{!?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))")} - +%{!?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.6.1 +Version: 1.7.2 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 -URL: http://ranger.nongnu.org -Group: Productivity/File utilities -License: GNU General Public License version 3 (GPL v3) -BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: python-devel >= 2.5.1 +Requires: file +Requires: python-curses +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} BuildRequires: update-desktop-files %endif -Requires: file %if 0%{?suse_version} Recommends: atool +Recommends: highlight Recommends: mediainfo Recommends: w3m -Recommends: highlight %else BuildRequires: atool Requires: atool @@ -47,7 +49,6 @@ BuildArch: noarch %if 0%{?suse_version} %py_requires %endif -Requires: python-curses %description Ranger is a free console file manager that gives you greater flexibility and a @@ -63,36 +64,34 @@ though ranger is easily controllable with just the arrow keys or the mouse. %setup -q %build -%__python ./setup.py build +python ./setup.py build %install -%__python ./setup.py install \ +python ./setup.py install \ --prefix="%{_prefix}" \ - --root="%{buildroot}" + --root=%{buildroot} -%__rm -rf "%{buildroot}%{_datadir}/doc/ranger" +rm -rf "%{buildroot}%{_datadir}/doc/ranger" %if 0%{?suse_version} -%__install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" +install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" %suse_update_desktop_file -r "%{name}" System FileManager %endif -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - %files %defattr(-,root,root) -%doc CHANGELOG COPYING README doc/HACKING +%doc AUTHORS CHANGELOG README.md HACKING.md %doc doc/colorschemes.txt -%doc doc/examples %doc doc/tools +%doc examples %{_bindir}/ranger %{_bindir}/rifle %{python_sitelib}/ranger-%{version}-*.egg-info %{python_sitelib}/ranger -%doc %{_mandir}/man1/ranger.1* -%doc %{_mandir}/man1/rifle.1* +%{_mandir}/man1/ranger.1* +%{_mandir}/man1/rifle.1* %if 0%{?suse_version} %{_datadir}/applications/%{name}.desktop %endif +%changelog