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