]> git.pld-linux.org Git - packages/cpu.git/blame_incremental - cpu.spec
- converted to UTF-8
[packages/cpu.git] / cpu.spec
... / ...
CommitLineData
1Summary: Change Password Utility
2Summary(pl.UTF-8): Narzędzie do zmiany haseł
3Name: cpu
4Version: 1.4.3
5Release: 1
6License: GPL
7Group: Applications/System
8Source0: http://dl.sourceforge.net/cpu/%{name}-%{version}.tar.bz2
9# Source0-md5: 2d128f82261967d41458800752bc943d
10URL: http://cpu.sourceforge.net/
11Patch0: %{name}-DESTDIR.patch
12Patch1: %{name}-lbflags.patch
13BuildRequires: autoconf
14BuildRequires: automake
15BuildRequires: libtool
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
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.
30
31%prep
32%setup -q
33%patch0 -p1
34%patch1 -p1
35
36%build
37%{__libtoolize}
38%{__aclocal}
39%{__autoconf}
40%{__automake}
41%configure \
42 --with-ldap \
43 --with-cracklib
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT \
51 docdir="../rpm-doc"
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%post -p /sbin/ldconfig
57%postun -p /sbin/ldconfig
58
59%files
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
65%{_mandir}/man?/*
This page took 0.077309 seconds and 4 git commands to generate.