]> git.pld-linux.org Git - packages/cpu.git/blame - cpu.spec
- converted to UTF-8
[packages/cpu.git] / cpu.spec
CommitLineData
ea78b753 1Summary: Change Password Utility
41c2ce00 2Summary(pl.UTF-8): Narzędzie do zmiany haseł
ea78b753 3Name: cpu
4Version: 1.4.3
5Release: 1
6License: GPL
7Group: Applications/System
ea78b753 8Source0: http://dl.sourceforge.net/cpu/%{name}-%{version}.tar.bz2
ea78b753 9# Source0-md5: 2d128f82261967d41458800752bc943d
4ac3f594
JB
10URL: http://cpu.sourceforge.net/
11Patch0: %{name}-DESTDIR.patch
eec9287b 12Patch1: %{name}-lbflags.patch
189f84ff 13BuildRequires: autoconf
14BuildRequires: automake
15BuildRequires: libtool
ea78b753 16BuildRequires: openldap-devel
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20CPU is an LDAP user management tool written in C and loosely based on
21FreeBSD's pw(8). The goal of CPU is to be a suitable replacement of
22the useradd/usermod/userdel utilities for administrators using an LDAP
23backend and wishing to have a suite of command line tools for doing
24the administration.
25
41c2ce00
JR
26%description -l pl.UTF-8
27CPU to narzędzie do zarządzania użytkownikami w LDAP, napisane w C i
28bazujące na pw(8) z FreeBSD. Celem CPU jest zastąpienie narzędzi
29useradd/usermod/userdel, korzystając z LDAP.
ea78b753 30
31%prep
32%setup -q
33%patch0 -p1
eec9287b 34%patch1 -p1
ea78b753 35
36%build
37%{__libtoolize}
38%{__aclocal}
39%{__autoconf}
40%{__automake}
eec9287b
ER
41%configure \
42 --with-ldap \
43 --with-cracklib
ea78b753 44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
4ac3f594 48
ea78b753 49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT \
51 docdir="../rpm-doc"
52
ea78b753 53%clean
54rm -rf $RPM_BUILD_ROOT
55
4ac3f594
JB
56%post -p /sbin/ldconfig
57%postun -p /sbin/ldconfig
58
ea78b753 59%files
60%defattr(644,root,root,755)
4ac3f594 61%doc AUTHORS ChangeLog NEWS README TODO
ea78b753 62%attr(755,root,root) %{_sbindir}/*
63%attr(755,root,root) %{_libdir}/libcpu*.so.*.*
4ac3f594 64%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cpu.conf
ea78b753 65%{_mandir}/man?/*
This page took 0.0643 seconds and 4 git commands to generate.