Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 9a10c1f5bea94ec01daa1febb22c8337 > files > 2

cpu-1.3.12-1mdk.src.rpm

%define name cpu
%define version 1.3.12
%define release 1mdk

Summary: Ldap aware command like useradd, userdel, usermod and others
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://prdownloads.sourceforge.net/cpu/cpu-%version.tar.bz2
License: GPL
Url: http://cpu.sourceforge.net
Group: System/Base
Requires: libldap2
BuildRoot: %{_tmppath}/%{name}-%{version}-%release-buildroot

%description
CPU is an LDAP user management tool written in C and loosely based
on FreeBSD's pw(8). The goal of CPU is to be a suitable replacement
of the useradd/usermod/userdel utilities for administrators using an
LDAP backend and wishing to have a suite of command line tools for
doing the administration.

%prep
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

# Create Build Subdirectory and Unpack the Tar Ball
%setup -q

%build
%configure
%make

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%makeinstall

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc AUTHORS COPYING INSTALL NEWS README
%{_mandir}/man8/cpu.8.bz2
%{_mandir}/man5/cpu.cfg.5.bz2
%{_bindir}/cpu
%config(noreplace) %{_sysconfdir}/cpu.cfg

%changelog
* Thu Aug 22 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.3.12-1mdk
- from Franck Martin <franck@sopac.org> :
	- first release for mdk8.2