2 Summary(de): autofs daemon
3 Summary(fr): démon autofs
4 Summary(pl): Demon autofs
5 Summary(tr): autofs sunucu süreci
13 Source0: ftp://ftp.kernel.org/pub/linux/daemons/autofs/testing-v4/%{name}-%{version}.tar.bz2
15 Source2: %{name}-auto.master
16 Source3: %{name}-auto.misc
17 Source4: %{name}-auto.mnt
18 Source5: %{name}-auto.net
19 Source6: %{name}.sysconfig
20 Patch0: %{name}-clean.patch
21 Patch1: %{name}-doc.patch
22 Patch2: %{name}-hesiod-bind.patch
24 Patch3: %{name}-initialize.patch
25 Patch4: %{name}-man.patch
26 Patch5: %{name}-linux-2.3.patch
27 Patch6: %{name}-loop.patch
28 Patch7: %{name}-modules.patch
29 Patch8: %{name}-open_max.patch
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Prereq: /sbin/chkconfig
35 %define _sysconfdir /etc/autofs
38 autofs is a daemon which automatically mounts filesystems when you use
39 them, and unmounts them later when you are not using them. This can
40 include network filesystems, CD-ROMs, floppies, and so forth.
43 autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie
44 benutzt werden, und sie später bei Nichtbenutzung wieder demontiert.
45 Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches
49 autofs est un démon qui monte automatiquement les systèmes de fichiers
50 lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus.
51 Cela inclus les systèmes de fichiers réseau, les CD-ROMs, les
55 Autofs jest demonem, który montuje automatycznie systemy plików je¿eli
56 je u¿ywasz i odmontowuje pó¼niej, je¿eli ich nie u¿ywasz. Mo¿e
57 montowaæ sieciowy system plików, CD-romy, stacje dyskietek i inne.
60 autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden
61 baðlar ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem,
62 að dosya sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
82 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT/{misc,net,%{_sbindir},%{_libdir}/autofs,%{_mandir}/man{5,8}} \
85 $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs,sysconfig}
88 INSTALLROOT=$RPM_BUILD_ROOT
90 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
92 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/auto.master
93 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/auto.misc
94 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/auto.mnt
95 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/auto.net
96 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/autofs
98 touch $RPM_BUILD_ROOT%{_sysconfdir}/auto.{home,misc,var,tmp}
100 gzip -9nf NEWS README
103 /sbin/chkconfig --add autofs
104 if test -r /var/lock/subsys/automount; then
105 /etc/rc.d/init.d/autofs restart 1>&2
107 echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
111 if [ "$1" = "0" ]; then
112 /sbin/chkconfig --del autofs
113 if [ -f /var/lock/subsys/automount ]; then
114 /etc/rc.d/init.d/autofs stop 1>&2
119 rm -rf $RPM_BUILD_ROOT
122 %defattr(644,root,root,755)
123 %doc {NEWS,README}.gz
125 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
127 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/autofs
128 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.home
129 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.master
130 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.misc
131 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.mnt
132 %attr(750,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.net
133 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.tmp
134 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.var
135 %attr(755,root,root) %{_sbindir}/automount
140 %dir %{_libdir}/autofs
141 %attr(755,root,root) %{_libdir}/autofs/*