CBL-Mariner/SPECS/tree/tree.spec

48 lines
1.5 KiB
Plaintext

Summary: Recursive directory listing command.
Name: tree
Version: 1.8.0
Release: 2%{?dist}
License: GPLv2+
URL: http://mama.indstate.edu/users/ice/tree/
Group: Applications
Vendor: Microsoft Corporation
Distribution: Mariner
Source0: http://mama.indstate.edu/users/ice/tree/src/tree-%{version}.tgz
%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. Tree has been ported and reported to work under the following operating systems: Linux, FreeBSD, OS X, Solaris, HP/UX, Cygwin, HP Nonstop and OS/2.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
[ %{buildroot} != "/"] && rm -rf %{buildroot}/*
make install BINDIR=%{buildroot}%{_bindir} \
MANDIR=%{buildroot}%{_mandir}/man1
%files
%defattr(-,root,root)
%license LICENSE
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Tue Feb 08 2022 Thomas Crain <thcrain@microsoft.com> - 1.8.0-2
- Remove unused `%%define sha1` lines
* Wed Jan 05 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.8.0-1
- Update to version 1.8.0.
- License verified.
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.7.0-3
- Added %%license line automatically
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 1.7.0-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Thu Dec 01 2016 Xiaolin Li <xiaolinl@vmware.com> 1.7.0-1
- Add tree package.