tree/tree.spec

91 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:18:48 -04:00
Name: tree
2023-07-17 19:26:10 +08:00
Version: 2.1.1
Release: 1
2019-09-30 11:18:48 -04:00
Summary: Tree file viewer tool
License: GPLv2+
URL: http://mama.indstate.edu/users/ice/tree/
Source0: http://mama.indstate.edu/users/ice/tree/src/%{name}-%{version}.tgz
Source1: ftp://mama.indstate.edu/linux/tree/%{name}-%{version}.tgz
2023-04-19 15:18:39 +08:00
Patch0: 0001-Support-specify-CC.patch
2019-09-30 11:18:48 -04:00
BuildRequires: gcc
2019-09-30 11:18:48 -04:00
%description
Tree is a recursive directory listing command that produces a depth indented
listing of files, which is colorized ala dircolors if the LS_COLORS environment
variable is set and output is to tty.
%package help
Summary: Including man files for tree
Requires: man
%description help
This contains man files for the using of tree.
%prep
%autosetup -n %{name}-%{version} -p1
2019-09-30 11:18:48 -04:00
#fix non-ASCII characters abnormal display
sed -e 's/LINUX/__linux__/' -i tree.c
%build
%make_build CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)" LDFLAGS="$RPM_LD_FLAGS"
%install
install -D -m 755 tree $RPM_BUILD_ROOT%{_bindir}/tree
install -D -m 644 doc/tree.1 $RPM_BUILD_ROOT%{_mandir}/man1/tree.1
%files
%license LICENSE
%doc README CHANGES
%{_bindir}/tree
%files help
%{_mandir}/man1/*
%changelog
2023-07-17 19:26:10 +08:00
* Mon Jul 17 2023 Kunlin Yang <yangkunlin7@huawei.com> - 2.1.1-1
- upgrade package from 2.1.0 to 2.1.1
2023-04-19 15:18:39 +08:00
* Wed Apr 19 2023 jammyjellyfish <jammyjellyfish255@outlook.com> - 2.1.0-2
- Support specify CC
2023-02-09 19:38:38 +08:00
* Thu Feb 09 2023 Kunlin Yang <yangkunlin7@huawei.com> - 2.1.0-1
- upgrade package from 2.0.4 to 2.1.0
* Wed Nov 16 2022 Kunlin Yang <yangkunlin7@huawei.com> - 2.0.4-2
- add SOURCE http url
* Fri Oct 28 2022 Kunlin Yang <yangkunlin7@huawei.com> - 2.0.4-1
- upgrade package from 1.8.0 to 2.0.4
* Tue Jul 12 2022 xueyamao <xueyamao@kylinos.cn> - 1.8.0-3
- DESC: Document --du and --prune options in help output
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.8.0-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
2020-07-16 15:07:13 +08:00
* Thu Jul 16 2020 zhangyouming <zhangyouming4@huawei.com> - 1.8.0-1
upgrade package from 1.7.0 to 1.8.0
2020-01-08 15:44:53 +08:00
* Wed Jan 8 2020 openEuler BuildTeam <buildteam@openeuler.org> - 1.7.0-18
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Repackage
2019-09-30 11:18:48 -04:00
* Wed Aug 21 2019 zhanghaibo <ted.zhang@huawei.com> - 1.7.0-17
2020-01-08 15:44:53 +08:00
- Type:enhancement
2019-09-30 11:18:48 -04:00
- ID:NA
- SUG:NA
2020-01-08 15:44:53 +08:00
- DESC:openEuler Debranding
2019-09-30 11:18:48 -04:00
* Tue Aug 20 2019 huangzheng <huangzheng22@huawei.com> - 1.7.0-16
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:rename patches
- Package init