]> git.pld-linux.org Git - packages/autofs.git/blobdiff - autofs.spec
- cleanups
[packages/autofs.git] / autofs.spec
index 2a29da7802b069f22eb57d363fc4392454d09e9f..376862404b4c91a9f47ec0d9c39ce34275730cae 100644 (file)
@@ -1,38 +1,40 @@
 Summary:       autofs daemon
-Summary(de):   autofs daemon 
+Summary(de):   autofs daemon
+Summary(es):   Servidor autofs
 Summary(fr):   démon autofs
-Summary(pl):   Demon autofs 
+Summary(pl):   Demon autofs
+Summary(pt_BR):        Servidor autofs
 Summary(tr):   autofs sunucu süreci
 Name:          autofs
-Version:       4.0.0pre10
-Release:       4
+Version:       4.1.3
+Release:       2
 Epoch:         1
 License:       GPL
 Group:         Daemons
-Group(de):     Server
-Group(pl):     Serwery
-Source0:       ftp://ftp.kernel.org/pub/linux/daemons/autofs/testing-v4/%{name}-%{version}.tar.bz2
+Source0:       ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/%{name}-%{version}.tar.bz2
+# Source0-md5: f43a09e94c4bd512ec58ac06e9d42c60
 Source1:       %{name}.init
 Source2:       %{name}-auto.master
 Source3:       %{name}-auto.misc
 Source4:       %{name}-auto.mnt
 Source5:       %{name}-auto.net
 Source6:       %{name}.sysconfig
-Patch0:                %{name}-clean.patch
-Patch1:                %{name}-doc.patch
-Patch2:                %{name}-hesiod-bind.patch
-# Needed to check !!
-Patch3:                %{name}-initialize.patch
-Patch4:                %{name}-man.patch
-Patch5:                %{name}-linux-2.3.patch
-Patch6:                %{name}-loop.patch
-Patch7:                %{name}-modules.patch
-Patch8:                %{name}-open_max.patch
+Patch0:                %{name}-open_max.patch
+Patch1:                %{name}-hesiod-includes.patch
+Patch2:                http://www.kernel.org/pub/linux/daemons/autofs/v4/%{name}-4.1.3-bad_chdir.patch
+Patch3:                http://www.kernel.org/pub/linux/daemons/autofs/v4/%{name}-4.1.3-mtab_lock.patch
+Patch4:                http://www.kernel.org/pub/linux/daemons/autofs/v4/%{name}-4.1.3-non_block_ping.patch
+Patch5:                http://www.kernel.org/pub/linux/daemons/autofs/v4/%{name}-4.1.3-signal-race-fix.patch
+Patch6:                http://www.kernel.org/pub/linux/daemons/autofs/v4/%{name}-4.1.3-sock-leak-fix.patch
+Patch7:                http://www.kernel.org/pub/linux/daemons/autofs/v4/%{name}-4.1.3-strict.patch
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: bind-devel
 BuildRequires: openldap-devel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Prereq:                /sbin/chkconfig
+PreReq:                rc-scripts
+Requires(post,preun):  /sbin/chkconfig
 Requires:      mktemp
-Prereq:                rc-scripts
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/autofs
 
@@ -47,6 +49,11 @@ benutzt werden, und sie sp
 Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches
 einschließen.
 
+%description -l es
+Autofs es un servidor que monta automáticamente sistemas de archivos
+cuando los usa, y los desmonta, más tarde, al terminar de usarlos.
+Incluyendo sistemas de archivo en red, CD-ROMS, disquetes, etc.
+
 %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.
@@ -58,6 +65,12 @@ Autofs jest demonem, kt
 je u¿ywasz i odmontowuje pó¼niej, je¿eli ich nie u¿ywasz. Mo¿e
 montowaæ sieciowy system plików, CD-romy, stacje dyskietek i inne.
 
+%description -l pt_BR
+O autofs é um servidor que monta automaticamente sistemas de arquivos
+quando estes forem usados, desmontando-os mais tarde quando não
+estiverem mais em uso. Incluindo sistemas de arquivo em rede, CD-ROMS,
+disquetes, 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,
@@ -66,38 +79,40 @@ a
 %package ldap
 Summary:       LDAP lookup module for autofs
 Summary(pl):   Modu³ LDAP dla autofs
+Summary(pt_BR):        Suporte a mapas LDAP para o pacote autofs
 Group:         Daemons
-Group(de):     Server
-Group(pl):     Serwery
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description ldap
 This package contains the autofs module necessary to use automount
 maps stored on an LDAP server.
 
+%description ldap -l pl
+Ten pakiet zawiera modu³ autofs potrzebny do u¿ywania map automounta
+trzymanych na serwerze LDAP.
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-#%patch3 -p1
+%patch3 -p1
 %patch4 -p1
-#%patch5 -p1
+%patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1
 
 %build
-chmod 755 configure
-autoconf
-%configure2_13
-%{__make} 
+chmod a+w configure
+%{__aclocal}
+%{__autoconf}
+%configure
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT/{misc,net,%{_sbindir},%{_libdir}/autofs,%{_mandir}/man{5,8}} \
+install -d $RPM_BUILD_ROOT{/misc,/net,%{_sbindir},%{_libdir}/autofs,%{_mandir}/man{5,8}} \
        $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs,sysconfig}
 
 %{__make} install \
@@ -113,7 +128,8 @@ install %{SOURCE6}  $RPM_BUILD_ROOT/etc/sysconfig/autofs
 
 touch $RPM_BUILD_ROOT%{_sysconfdir}/auto.{home,misc,var,tmp}
 
-gzip -9nf NEWS README 
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add autofs
@@ -135,23 +151,20 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
-%doc {NEWS,README}.gz 
+%doc README* CHANGELOG
 
 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
 %dir %{_sysconfdir}
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/autofs
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.home
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.master
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.misc
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.mnt
-%attr(750,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.net
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.tmp
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.var
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/autofs
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/auto.home
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/auto.master
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/auto.misc
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/auto.mnt
+%attr(750,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/auto.net
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/auto.tmp
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/auto.var
 %attr(755,root,root) %{_sbindir}/automount
 
 %dir /misc
@@ -160,7 +173,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/autofs
 %attr(755,root,root) %{_libdir}/autofs/mount_*
 %attr(755,root,root) %{_libdir}/autofs/parse_*
-%attr(755,root,root) %{_libdir}/autofs/lookup_[^l]*
+%attr(755,root,root) %{_libdir}/autofs/lookup_[!l]*
 
 %{_mandir}/man[58]/*
 
This page took 0.256834 seconds and 4 git commands to generate.