]> git.pld-linux.org Git - packages/autofs.git/blobdiff - autofs.spec
- fixed autofs.init script (s/ps\ ax/ps\ axw/)
[packages/autofs.git] / autofs.spec
index 37c14a70cb7765b68c32709232901c097a0a5798..b28450bb88663a03c7b032f69ea761a0285bbcfb 100644 (file)
@@ -1,18 +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:       5
 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
@@ -30,9 +28,12 @@ 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
 Requires:      mktemp
 Prereq:                rc-scripts
+Prereq:                /sbin/chkconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/autofs
@@ -81,14 +82,16 @@ 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
@@ -102,11 +105,12 @@ maps stored on an LDAP server.
 %patch8 -p1
 
 %build
-chmod 755 configure
+chmod a+w configure
+aclocal
 autoconf
-%configure2_13
-%{__make} 
+%configure
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -126,7 +130,10 @@ install %{SOURCE6}         $RPM_BUILD_ROOT/etc/sysconfig/autofs
 
 touch $RPM_BUILD_ROOT%{_sysconfdir}/auto.{home,misc,var,tmp}
 
-gzip -9nf NEWS README 
+gzip -9nf NEWS README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add autofs
@@ -148,12 +155,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}.gz
 
 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
 %dir %{_sysconfdir}
This page took 0.079151 seconds and 4 git commands to generate.