Summary: Password handler Name: shadow Version: 4.1.2.1 Release: 1 License: GPL Group: System/Base Source: %{name}-%{version}.tar.bz2 %description Handles passwords in a secure way. %prep %setup -q %build ./configure --libdir=/lib --sysconfdir=/etc --enable-shared \ --without-libpam --without-audit --without-selinux --with-cracklib # disables "groups" program sed -i 's/groups$(EXEEXT) //' src/Makefile find man -name Makefile -exec sed -i '/groups.1.xml/d' '{}' \; find man -name Makefile -exec sed -i 's/groups.1 //' '{}' \; make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install mkdir -pv $RPM_BUILD_ROOT/{bin,usr/lib} mv -v $RPM_BUILD_ROOT/usr/bin/passwd $RPM_BUILD_ROOT/bin %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) / %changelog * Fri Jul 25 2008 Jonathan Norman 4.1.2.1-1 - Fixed spelling mistake is description - Filed listed files - Added cracklib support - Removed login.defs, this will be in the install.sh script