File tree.spec of Package tree

#
# spec file for package tree (Version 1.5.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           tree
License:        GNU General Public License (GPL)
Group:          Productivity/File utilities
URL:            http://mama.indstate.edu/users/ice/tree/
Summary:        file listing as a tree
Version:        1.5.1
Release:        1
Source0:        %name-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch1:         tree-dontstrip.diff

%description
A tree-like directory listing program with dircolors support



Authors:
--------
    Steve Baker <ice@mama.indstate.edu>

%prep
%setup -n %name-%version
%patch1 -p0

%build
make CFLAGS="$RPM_OPT_FLAGS"

%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 man/tree.1 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 755 tree $RPM_BUILD_ROOT%{_bindir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/tree
%{_mandir}/man1/tree.1*
%doc README LICENSE

%changelog
* Sat Apr 14 2007 - kay.sievers@suse.de
- New upstream version 1.5.1
- install README, LICENCE
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Aug 11 2005 - kasievers@suse.de
- New version 1.5
* Tue Aug 09 2005 - mmj@suse.de
- Use $RPM_OPT_FLAGS
* Sun Jan 18 2004 - mmj@suse.de
- Fix compound statements (gcc 3.4)
* Thu Oct 16 2003 - mmj@suse.de
- Don't build as root
- Don't strip explicitly
* Thu May 22 2003 - coolo@suse.de
- use BuildRoot
* Tue Jan 14 2003 - nadvornik@suse.cz
- fixed multi-line string literals
* Fri Jan 05 2001 - jj@suse.de
- initial version
- gzipped manpage in archive
- removed binary from archive
- explicit install by specfile instead of 'make install'
openSUSE Build Service is sponsored by