12 Star 0 Fork 6

src-openEuler/colordiff

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
colordiff.spec 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
yaozc701 提交于 2021-07-02 09:28 . add source package and spec file
Name: colordiff
Version: 1.0.19
Release: 1
Summary: Color terminal highlighter for diff files
License: GPLv2+
URL: http://www.colordiff.org/
Source0: http://www.colordiff.org/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-generators
BuildRequires: make
Requires: diffutils
Requires: less
Recommends: bzip2
Recommends: gzip
Recommends: xz
Suggests: curl
Provides: cdiff
%description
Colordiff is a wrapper for diff and produces the same output but with pretty syntax highlighting.
Color schemes can be customized.
%package help
Summary: Color terminal highlighter for diff files
Provides: colordiff-doc
%description help
Colordiff is a wrapper for diff and produces the same output but with pretty syntax highlighting.
Color schemes can be customized.
%prep
%setup -q
%build
%install
%make_install INSTALL_DIR=%{_bindir} \
ETC_DIR=%{_sysconfdir} MAN_DIR=%{_mandir}/man1
%files
%license COPYING
%config(noreplace) %{_sysconfdir}/colordiffrc
%{_bindir}/cdiff
%{_bindir}/colordiff
%files help
%doc BUGS CHANGES colordiffrc colordiffrc-gitdiff colordiffrc-lightbg README
%{_mandir}/man1/cdiff.1*
%{_mandir}/man1/colordiff.1*
%changelog
* Sat Jul 10 2021 yaozc7 <yaozc7@foxmail.com> - 1.0.19-1
- Package init for openeuler
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/colordiff.git
git@gitee.com:src-openeuler/colordiff.git
src-openeuler
colordiff
colordiff
master

搜索帮助