diff options
author | H. Peter Anvin <hpa@zytor.com> | 1998-11-05 01:13:07 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 1998-11-05 01:13:07 +0000 |
commit | 8e618f6dcae16af89c1f997ea28818d2041be184 (patch) | |
tree | f356fae77e20f46703a89aa0aeec31885624ba4b /autofs.spec | |
parent | ca8319499268f07a02e95e0030ccbac8b59606ce (diff) | |
download | autofs3-8e618f6dcae16af89c1f997ea28818d2041be184.tar.gz autofs3-8e618f6dcae16af89c1f997ea28818d2041be184.tar.xz autofs3-8e618f6dcae16af89c1f997ea28818d2041be184.zip |
Various documentation changes to be more RedHat-friendly and less Debian-
centric; add .spec file from RedHat RPM (goal is to be able to at least
publish the SRPM file automatically); add pointer to HOWTO.
Diffstat (limited to 'autofs.spec')
-rw-r--r-- | autofs.spec | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/autofs.spec b/autofs.spec new file mode 100644 index 0000000..23fe42b --- /dev/null +++ b/autofs.spec @@ -0,0 +1,113 @@ +Summary: autofs daemon +Name: autofs +%define version 3.1.4 +Version: %{version} +Release: 1 +Copyright: GPL +Group: Networking/Daemons +Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/autofs-%{version}.tar.gz +# Patch: autofs-3.1.1-rh.patch +Buildroot: /var/tmp/autofs-tmp +Prereq: chkconfig +Requires: /bin/bash mktemp sed textutils sh-utils grep /bin/ps +Summary(de): autofs daemon +Summary(fr): démon autofs +Summary(tr): autofs sunucu süreci +Summary(sv): autofs-daemon + +%description +autofs is a daemon which automatically mounts filesystems when you use +them, and unmounts them later when you are not using them. This can +include network filesystems, CD-ROMs, floppies, and so forth. + +%description -l de +autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie +benutzt werden, und sie später bei Nichtbenutzung wieder demontiert. +Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches einschließen. + +%description -l fr +autofs est un démon qui monte automatiquement les systèmes de fichiers +lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus. Cela +inclus les systèmes de fichiers réseau, les CD-ROMs, les disquettes, etc. + +%description -l tr +autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden baðlar +ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem, að dosya +sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir. + +%description -l sv +autofs är en daemon som mountar filsystem när de använda, och senare +unmountar dem när de har varit oanvända en bestämd tid. Detta kan +inkludera nätfilsystem, CD-ROM, floppydiskar, och så vidare. + +%prep +%setup -q +# %patch -p1 -b .rh + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr +make + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d +mkdir -p $RPM_BUILD_ROOT/usr/sbin +mkdir -p $RPM_BUILD_ROOT/usr/lib/autofs +mkdir -p $RPM_BUILD_ROOT/usr/man/man5 +mkdir -p $RPM_BUILD_ROOT/usr/man/man8 + +make install INSTALLROOT=$RPM_BUILD_ROOT +make install_samples INSTALLROOT=$RPM_BUILD_ROOT +install -m 755 -d $RPM_BUILD_ROOT/misc + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +chkconfig --add autofs + +%postun +if [ "$1" = 0 ] ; then + chkconfig --del autofs +fi + +%files +%defattr(-,root,root) +%doc COPYRIGHT NEWS README TODO +%config /etc/rc.d/init.d/autofs +%config /etc/auto.master +%config(missingok) /etc/auto.misc +/usr/sbin/automount +%dir /misc +/usr/lib/autofs +/usr/man/*/* + +%changelog +* Tue Oct 6 1998 Bill Nottingham <notting@redhat.com> +- fix bash2 breakage in init script + +* Sun Aug 23 1998 Jeff Johnson <jbj@redhat.com> +- typo in man page. + +* Mon Jul 20 1998 Jeff Johnson <jbj@redhat.com> +- added sparc to ExclusiveArch. + +* Thu May 07 1998 Prospector System <bugs@redhat.com> +- translations modified for de, fr, tr + +* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com> +- updated to 3.1.1 + +* Wed Apr 22 1998 Michael K. Johnson <johnsonm@redhat.com> +- enhanced initscripts + +* Fri Dec 05 1997 Michael K. Johnson <johnsonm@redhat.com> +- Link with -lnsl for glibc compliance. + +* Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com> +- exclusivearch for i386 for now, since our kernel packages on + other platforms don't include autofs yet. +- improvements to initscripts. + +* Thu Oct 16 1997 Michael K. Johnson <johnsonm@redhat.com> +- Built package from 0.3.14 for 5.0 |