1 Star 0 Fork 3

xu_ping/ranger

forked from src-openEuler/ranger 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ranger.spec 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
xu_ping 提交于 2021-07-22 14:38 . Add ranger
Name: ranger
Version: 1.9.3
Release: 1
Summary: A vim-like file manager
License: GPLv3+
URL: https://ranger.github.io/
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: desktop-file-utils python3-devel python3-setuptools
%description
Ranger is a free console file manager that gives you greater flexibility and a
good overview of your files without having to leave your *nix console. It
visualizes the directory tree in two dimensions: the directory hierarchy on
one, lists of files on the other, with a preview to the right so you know where
you'll be going.
%prep
%autosetup
sed -i -e '1d;2i#!/usr/bin/python3' %{name}.py
%build
%py3_build
%install
%py3_install
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
mv %{buildroot}%{_pkgdocdir} _doc
find _doc -type f -exec chmod -R -x '{}' \;
%files
%license LICENSE
%doc _doc/*
%{_bindir}/ranger
%{_bindir}/rifle
%{python3_sitelib}/*
%{_datadir}/applications/ranger.desktop
%{_mandir}/man1/ranger.1*
%{_mandir}/man1/rifle.1*
%changelog
* Wed Jul 21 2021 xuping <xuping33@huawei.com> - 1.9.3-1
- package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cherry530/ranger.git
git@gitee.com:cherry530/ranger.git
cherry530
ranger
ranger
master

搜索帮助