1 Summary: Automount utilities including an updated version of Amd
2 Summary(pl): Narzêdzia do automatycznego montowania systemów plików
11 Source0: ftp://shekel.mcl.cs.columbia.edu/pub/am-utils/%{name}-%{version}.tar.gz
14 Source3: %{name}.sysconf
15 Patch0: %{name}-6.0a16-linux.patch
16 Patch1: %{name}-6.0a16-alpha.patch
17 URL: http://www.am-utils.org/
18 BuildRequires: autoconf
19 Prereq: /sbin/chkconfig
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Am-utils includes an updated version of Amd, the popular BSD
26 automounter. An automounter is a program which maintains a cache of
27 mounted filesystems. Filesystems are mounted when they are first
28 referenced by the user and unmounted after a certain period of
29 inactivity. Amd supports a variety of filesystems, including NFS, UFS,
30 CD-ROMS and local drives.
32 You should install am-utils if you need a program for automatically
33 mounting and unmounting filesystems.
36 Pakiet am-utils zawiera uaktualnion± wersjê amd, popularnego
37 automountera z BSD. Automounter to program zarz±dzaj±cy montowaniem
38 systemów plików. Systemy plików s± montowane przy pierwszym u¿yciu
39 przez u¿ytkownika, a odmontowywane po pewnym czasie nieu¿ywania. amd
40 obs³uguje wiele systemów plików, w tym NFS, UFS, CD-ROM oraz lokalne
55 --sysconfdir=%{_sysconfdir} \
59 touch `find -name Makefile.in`
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{sysconfig,rc.d/init.d}
66 %{__make} install DESTDIR=$RPM_BUILD_ROOT
68 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/amd
69 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/amd.conf
70 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/amd
72 install -d $RPM_BUILD_ROOT/.automount
74 gzip -9nf AUTHORS BUGS NEWS README* ChangeLog ldap-id.txt
77 rm -rf $RPM_BUILD_ROOT
81 /sbin/chkconfig --add amd
82 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
85 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
87 if [ "$1" = "0" ]; then
88 /sbin/chkconfig --del amd
92 %defattr(644,root,root,755)
95 %config %{_sysconfdir}/amd.conf
96 %config /etc/sysconfig/amd
97 %attr(754,root,root) /etc/rc.d/init.d/amd
98 %attr(755,root,root) %{_bindir}/pawd
99 %attr(755,root,root) %{_sbindir}/*
100 %attr(755,root,root) %{_libdir}/*
101 %{_mandir}/man[158]/*