diff --git a/ranger-1.9.3.tar.gz b/ranger-1.9.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..bdd5344b14cb5a338aa14fa798781cbf1c540785 Binary files /dev/null and b/ranger-1.9.3.tar.gz differ diff --git a/ranger.spec b/ranger.spec new file mode 100644 index 0000000000000000000000000000000000000000..88c9d92219f08d65f5b941b4a71fc410cf3a617b --- /dev/null +++ b/ranger.spec @@ -0,0 +1,43 @@ +%bcond_with bootstrap + +Name: ranger +Version: 1.9.3 +Release: 1 +Summary: A VIM-inspired filemanager for the console +License: GPL3+ +URL: https://github.com/ranger/ranger +Source0: https://github.com/ranger/ranger/archive/%{name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel python3-setuptools + +%description +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. + + +%prep +%autosetup -n %{name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} -m pytest tests/ + +%files +%license LICENSE +%doc README.md +%{_bindir}/* +%{_mandir}/* +%{_docdir}/%{name}/* +%{python3_sitelib}/* +/usr/share/applications/* + + +%changelog +* Tue Apr 28 2020 Wei Xiong +- init package