1 Summary: Change Password Utility
2 Summary(pl.UTF-8): Narzędzie do zmiany haseł
7 Group: Applications/System
8 Source0: http://dl.sourceforge.net/cpu/%{name}-%{version}.tar.bz2
9 # Source0-md5: 2d128f82261967d41458800752bc943d
10 URL: http://cpu.sourceforge.net/
11 Patch0: %{name}-DESTDIR.patch
12 Patch1: %{name}-lbflags.patch
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: openldap-devel >= 2.4.6
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 CPU is an LDAP user management tool written in C and loosely based on
21 FreeBSD's pw(8). The goal of CPU is to be a suitable replacement of
22 the useradd/usermod/userdel utilities for administrators using an LDAP
23 backend and wishing to have a suite of command line tools for doing
26 %description -l pl.UTF-8
27 CPU to narzędzie do zarządzania użytkownikami w LDAP, napisane w C i
28 bazujące na pw(8) z FreeBSD. Celem CPU jest zastąpienie narzędzi
29 useradd/usermod/userdel, korzystając z LDAP.
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT \
54 rm -rf $RPM_BUILD_ROOT
56 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README TODO
62 %attr(755,root,root) %{_sbindir}/*
63 %attr(755,root,root) %{_libdir}/libcpu*.so.*.*
64 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cpu.conf