File stow.spec of Package stow

#
# spec file for package stow (Version 1.3.3)
#
# Copyright (c) 2003 SuSE Linux AG, 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://www.suse.de/feedback/
#

# norootforbuild
# usedforbuild    aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-devel pam-modules patch permissions popt ps rcs readline sed sendmail shadow strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils cracklib gcc gdbm gettext libtool perl rpm

Name:         stow
License:      GPL
Group:        System/Packages
Version:      1.3.3
Release:      120
URL:          http://www.gnu.org/software/stow/stow.html
Summary:      Manage the installation of software packages from source
Source:       %name-%version.tar.bz2
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch
PreReq:       %install_info_prereq

%description
GNU Stow is a program for managing the installation of software
packages, keeping them separate (/usr/local/stow/emacs vs.
/usr/local/stow/perl, for example) while making them appear to be
installed in the same place (/usr/local). Software to ease the keeping
track of software built from source, making it easy to install, delete,
move etc.



Authors:
--------
    Bob Glickstein <bobg+stow@zanshin.com>

%prep
%setup
./configure --prefix=/usr \
            --infodir=%{_infodir} \
	    --mandir=%{_mandir}

%build

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT;

%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%files
%defattr(-,root,root)
%doc COPYING README AUTHORS INSTALL ChangeLog NEWS THANKS TODO 
%_mandir/man8/stow*

%_infodir/stow*
/usr/bin/*

%changelog -n stow
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Oct 16 2003 - mmj@suse.de
- Don't build as root
- Clean up specfile
* Tue May 13 2003 - mmj@suse.de
- Remove files we don't package
* Thu Apr 24 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
* Mon Apr 07 2003 - mmj@suse.de
- Only delete info entries when removing last version.
* Fri Feb 07 2003 - mmj@suse.de
- Use %%install_info macro
- Cleanup the build root
* Mon Oct 28 2002 - mmj@suse.de
- Initial addition, version 1.3.3
openSUSE Build Service is sponsored by