]> git.pld-linux.org Git - packages/autofs.git/blobdiff - autofs.spec
- Added the option for turning on and off the use of YP
[packages/autofs.git] / autofs.spec
index 2a29da7802b069f22eb57d363fc4392454d09e9f..8c0b38d59aaa971f4716194358e94670e32a47a7 100644 (file)
@@ -1,16 +1,16 @@
 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
+Release:       6
 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
 Source1:       %{name}.init
 Source2:       %{name}-auto.master
@@ -28,11 +28,13 @@ Patch5:             %{name}-linux-2.3.patch
 Patch6:                %{name}-loop.patch
 Patch7:                %{name}-modules.patch
 Patch8:                %{name}-open_max.patch
+BuildRequires: automake
+BuildRequires: autoconf
 BuildRequires: openldap-devel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Prereq:                /sbin/chkconfig
 Requires:      mktemp
 Prereq:                rc-scripts
+Prereq:                /sbin/chkconfig
+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,
@@ -65,16 +78,20 @@ a
 
 %package ldap
 Summary:       LDAP lookup module for autofs
+Summary(es):   LDAP map support for the autofs package
 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}
 
 %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
@@ -88,15 +105,15 @@ maps stored on an LDAP server.
 %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}} \
        $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs,sysconfig}
 
@@ -113,7 +130,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,12 +153,9 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
-%doc {NEWS,README}.gz 
+%doc NEWS README
 
 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
 %dir %{_sysconfdir}
This page took 0.056538 seconds and 4 git commands to generate.