Blob Blame History Raw
Name:         stow
Version:      1.3.3
Release:      0.fdr.1
Epoch:        0   
License:      GPL
Group:        Development/Tools
URL:          http://www.gnu.org/software/stow/stow.html
Summary:      Manage the installation of software packages from source
Source:       http://ftp.gnu.org/gnu/stow/stow-%{version}.tar.gz
BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:    noarch
Requires(pre):   /sbin/install-info
Requires(post):  /sbin/install-info

%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.

%prep
%setup -q

%build
%configure

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

%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :

%preun
if [ $1 = 0 ]; then
  /sbin/install-info --delete %{_infodir}/%{name}.info \
    %{_infodir}/dir 2>/dev/null || :
fi

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog 
* Sat May 15 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.3.3-0.fdr.1
- initial RPM