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