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.bz2
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
23 Patch3: %{name}-initialize.patch
24 Patch4: %{name}-man.patch
25 Patch5: %{name}-linux-2.3.patch
26 Patch6: %{name}-loop.patch
27 Patch7: %{name}-modules.patch
28 Patch8: %{name}-open_max.patch
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Prereq: /sbin/chkconfig
34 %define _sysconfdir /etc/autofs
37 autofs is a daemon which automatically mounts filesystems when you use
38 them, and unmounts them later when you are not using them. This can
39 include network filesystems, CD-ROMs, floppies, and so forth.
42 autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie
43 benutzt werden, und sie später bei Nichtbenutzung wieder demontiert.
44 Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches
48 autofs est un démon qui monte automatiquement les systèmes de fichiers
49 lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus.
50 Cela inclus les systèmes de fichiers réseau, les CD-ROMs, les
54 Autofs jest demonem, który montuje automatycznie systemy plików je¿eli
55 je u¿ywasz i odmontowuje pó¼niej, je¿eli ich nie u¿ywasz. Mo¿e
56 montowaæ sieciowy system plików, CD-romy, stacje dyskietek i inne.
59 autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden
60 baðlar ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem,
61 að dosya sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
81 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT/{misc,net,%{_sbindir},%{_libdir}/autofs,%{_mandir}/man{5,8}} \
84 $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs,sysconfig}
87 INSTALLROOT=$RPM_BUILD_ROOT
89 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
91 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/auto.master
92 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/auto.misc
93 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/auto.mnt
94 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/auto.net
95 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/autofs
97 touch $RPM_BUILD_ROOT%{_sysconfdir}/auto.{home,misc,var,tmp}
102 /sbin/chkconfig --add autofs
103 if test -r /var/lock/subsys/automount; then
104 /etc/rc.d/init.d/autofs restart 1>&2
106 echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
110 if [ "$1" = "0" ]; then
111 /sbin/chkconfig --del autofs
112 if [ -f /var/lock/subsys/automount ]; then
113 /etc/rc.d/init.d/autofs stop 1>&2
118 rm -rf $RPM_BUILD_ROOT
121 %defattr(644,root,root,755)
122 %doc {NEWS,README}.gz
124 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
126 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/autofs
127 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.home
128 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.master
129 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.misc
130 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.mnt
131 %attr(750,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.net
132 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.tmp
133 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.var
134 %attr(755,root,root) %{_sbindir}/automount
139 %dir %{_libdir}/autofs
140 %attr(755,root,root) %{_libdir}/autofs/*