Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > f9fa62beeca739af15582ec8aac4f231 > files > 3

tree-1.6.0-2.mga3.src.rpm

Name:		tree
Version:	1.6.0
Release:	%mkrel 2
Summary:	Utility which displays a tree view of directory contents
Group:		File tools
License:	GPLv2+
URL:		http://mama.indstate.edu/users/ice/tree/
Source0:	ftp://mama.indstate.edu/linux/tree/%{name}-%{version}.tgz
Patch2:		tree-1.6.0-nostrip.patch

%description
The tree utility recursively displays the contents of directories in a
tree-like format.  Tree is basically a UNIX port of the tree DOS
utility.

Install tree if you think it would be useful to view the contents of
specified directories in a tree-like format.

%prep

%setup -q
%patch2 -p0 -b .nostrip

%build
make CFLAGS="%{optflags}" LDFLAGS="%{ldflags}"

%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}/{%{_bindir},%{_sbindir},%{_mandir}/man1}

%{__make} \
	BINDIR=%{buildroot}%{_bindir} \
	MANDIR=%{buildroot}%{_mandir}/man1 \
	install

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README LICENSE CHANGES
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*


%changelog

* Mon Jan 14 2013 umeabot <umeabot> 1.6.0-2.mga3
+ Revision: 384787
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Aug 25 2011 tv <tv> 1.6.0-1.mga3
+ Revision: 135351
- drop obsolete patch 1
- new release
- new release

* Tue Feb 15 2011 mikala <mikala> 1.5.3-2.mga1
+ Revision: 51870
- Remove BuildRoot
- imported package tree