1 Star 0 Fork 44

src-oepkgs-oE-rv/less

forked from src-openEuler/less 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
less.spec 3.19 KB
一键复制 编辑 原始数据 按行查看 历史
Name: less
Version: 563
Release: 3
Summary: Less is a pager that displays text files.
License: GPLv3+ or BSD
URL: http://www.greenwoodsoftware.com/less
Source0: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
Patch0: less-394-time.patch
Patch1: less-418-fsync.patch
Patch2: backport-Create-only-one-ifile-when-a-file-is-opened-under-di.patch
Patch3: backport-Remove-extraneous-frees-associated-with-removed-call.patch
Patch4: backport-Fix-crash-when-call-set_ifilename-with-a-pointer-to-.patch
Patch5: backport-Remove-unnecessary-call-to-pshift-in-pappend.patch
Patch6: backport-Reset-horizontal-shift-when-opening-a-new-file.patch
Patch7: backport-Protect-from-buffer-overrun.patch
Patch8: backport-Make-histpattern-return-negative-value-to-indicate-e.patch
Patch9: backport-Lesskey-don-t-translate-ctrl-K-in-an-EXTRA-string.patch
Patch10: backport-Ignore-SIGTSTP-in-secure-mode.patch
Patch11: backport-Fix-Tag-not-found-error-while-looking-for-a-tag-s-lo.patch
Patch12: backport-Fix-minor-memory-leak-with-input-preprocessor.-150.patch
BuildRequires: gcc make ncurses-devel autoconf automake libtool
%description
Less is a pager. A pager is a program that displays text files.
Other pagers commonly in use are more and pg. Pagers are often
used in command-line environments like the Unix shell and the MS-DOS
command prompt to display files.
Less is not an editor. You can't change the contents of the file
you're viewing. Less is not a windowing system. It doesn't have
fancy scroll bars or other GUI (graphical user interface) elements.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
rm -f ./configure
autoreconf -ivf
%configure
%make_build CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
%install
%make_install
%files
%defattr(-,root,root)
%license LICENSE COPYING
%{_bindir}/less*
%files help
%doc README NEWS INSTALL
%{_mandir}/man1/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 563-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Fri May 28 2021 fuanan <fuanan3@huawei.com> - 563-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:[add] backport patches from upstream
Create only one ifile when a file is opened under different names.
Remove extraneous frees, associated with removed call to lrealpath.
Fix crash when call set_ifilename with a pointer to the name that is
Remove unnecessary call to pshift in pappend.
Reset horizontal shift when opening a new file.
Protect from buffer overrun.
Make histpattern return negative value to indicate error.
Lesskey: don't translate ctrl-K in an EXTRA string.
Ignore SIGTSTP in secure mode.
Fix "Tag not found" error while looking for a tag's location
Fix minor memory leak with input preprocessor.
* Thu Jan 21 2021 wangchen <wangchen137@huawei.com> - 563-1
- Update to 563
* Thu Jan 09 2020 openEuler Buildteam <buildteam@openeuler.org> - 551-3
- Delete unneeded files
* Fri Sep 27 2019 yefei <yefei25@huawei.com> - 551-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: delete irrelevant comment
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 551-1
- Package Init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs-oe-rv/less.git
git@gitee.com:src-oepkgs-oe-rv/less.git
src-oepkgs-oe-rv
less
less
master

搜索帮助