diff --git a/.cvsignore b/.cvsignore index e69de29..601abe2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +stow-1.3.3.tar.gz diff --git a/sources b/sources index e69de29..69bf636 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +59a078c7056dd9dd97fb707063b69d03 stow-1.3.3.tar.gz diff --git a/stow.spec b/stow.spec new file mode 100644 index 0000000..088e5fe --- /dev/null +++ b/stow.spec @@ -0,0 +1,54 @@ +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 0:1.3.3-0.fdr.1 +- initial RPM