%define name pam_mount %define version 0.9.20 %define release 2mdk #arg, still no libtool-1.5 %define __libtoolize /bin/true %define __cputoolize /bin/true Name: %{name} Version: %{version} Release: %{release} Summary: Pluggable Authentication Module for dynamic mounting of remote volumes Summary(pt_BR): módulo de autenticação PAM para montagem dinâmica de volumes remotes Summary(es): pluggable authentication module for dynamic mouting of remote volumes License: GPL Group: Networking/Other URL: http://www.flyn.org/projects/pam_mount/ Source0: http://www.flyn.org/projects/pam_mount/%{name}-%{version}.tar.bz2 BuildRequires: pam-devel, zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Pam_mount is a PAM module that allows dynamic remote volume mounting. It is mainly useful for users that have private volumes in Samba / Windows NT / Netware servers and need access to them during a Unix session. %description -l pt_BR O pam_mount é um módulo PAM que permite montagem dinâmica de volumes remotos. Ele é particularmente útil para usuários que detém volumes privados em servidores Samba / Windows NT / Netware e precisam ter acesso a eles durante uma sessão Unix. %description -l fr_FR pam_mount est un module qui permet de monter dynamiquement un volume au login. Il est utilisé afin de permettre aux utilisateurs de monter leur répertoires privés sur des serveurs Samba/NT/Netware au cours d'une session Unix. %package devel Summary: Development files for pam_mount Requires: pam_mount Group: Networking/Other %description devel Use pam_mount-devel if you need to, for development purpose. %prep %setup -q %build %configure #JMD: you need this if zlib-devel is installed.. weird! #This is due to a change in source on March 10 2004 perl -pi -e "s|-lcrypto|-lcrypto -lz|" src/Makefile %make %install rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_sysconfdir} mkdir -p %{buildroot}/%{_lib}/security mkdir -p %{buildroot}/%{_includedir}/pam_mount %makeinstall_std install -m0600 config/pam_mount.conf -D $RPM_BUILD_ROOT%{_sysconfdir}/security/pam_mount.conf %clean rm -rf %{buildroot} %files %defattr(0644,root,root,0755) /%{_lib}/security/pam_mount*.so %attr(0755,root,root) %{_bindir}/* %attr(0755,root,root) %{_sbindir}/* %config(noreplace) %{_sysconfdir}/security/%{name}.conf %doc AUTHORS ChangeLog COPYING FAQ INSTALL NEWS README TODO %{_mandir}/man8/* %files devel %defattr(0644,root,root,0755) /%{_lib}/security/*a %{_includedir}/* %changelog * Tue Nov 16 2004 Jean-Michel Dault <jmdault@mandrakesoft.com> 0.9.20-2mdk - add FAQ and other missing docs - buildrequires zlib-devel (See Changelog entry, 10 March 2004) * Wed Sep 01 2004 Buchan Milne <bgmilne@linux-mandrake.com> 0.9.20-1mdk - 0.9.20 * Sun Jan 04 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.9.9-1mdk - 0.9.9 - rm -rf $RPM_BUILD_ROOT - cleanups and cosmetics * Sun Jul 13 2003 Buchan Milne <bgmilne@linux-mandrake.com> 0.9.2-3mdk - buildrequire pam-devel (slbd via Michael Scherer) * Fri Jun 20 2003 Buchan Milne <bgmilne@linux-mandrake.com> 0.9.2-2mdk - Try and unconfuse the bots :-) * Mon Jun 09 2003 Buchan Milne <bgmilne@linux-mandrake.com> 0.9.2-1mdk - 0.9.2 * Mon May 05 2003 Buchan Milne <bgmilne@linux-mandrake.com> 0.5.14-1mdk - 0.5.14 - small cleanups * Mon Jan 06 2003 Buchan Milne <bgmilne@linux-mandrake.com> 0.5.9-1mdk - 0.5.9 * Mon Nov 18 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 0.5.7-1mdk - upgraded to 0.5.7. * Sun Oct 27 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 0.5.0-1mdk - upgraded to 0.5.0. * Mon Dec 17 2001 Elvis Pfützenreuter <epx@altoriopreto.com.br> - Updated to 0.3.2 * Tue Nov 21 2000 Elvis Pfützenreuter <epx@conectiva.com> - Updated to version 0.3.1 * Tue Nov 21 2000 Elvis Pfützenreuter <epx@conectiva.com> - Updated to version 0.3 * Thu Nov 14 2000 Elvis Pfützenreuter <epx@conectiva.com> - First RPM