]> git.pld-linux.org Git - packages/cpu.git/blobdiff - cpu.spec
- converted to UTF-8
[packages/cpu.git] / cpu.spec
index 91f3b403b239327136094b396c168fdf13435a63..10af59a045a6d86ecba60892fa4ad60a0418f5a1 100644 (file)
--- a/cpu.spec
+++ b/cpu.spec
@@ -1,14 +1,15 @@
 Summary:       Change Password Utility
-Summary(pl):   Narzêdzie do zmiany hase³
+Summary(pl.UTF-8):   Narzędzie do zmiany haseł
 Name:          cpu
 Version:       1.4.3
 Release:       1
 License:       GPL
 Group:         Applications/System
-URL:           http://cpu.sourceforge.net/
 Source0:       http://dl.sourceforge.net/cpu/%{name}-%{version}.tar.bz2
-Patch0:                %{name}-DESTDIR.patch
 # Source0-md5: 2d128f82261967d41458800752bc943d
+URL:           http://cpu.sourceforge.net/
+Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-lbflags.patch
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
@@ -22,37 +23,43 @@ 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.
 
-%description -l pl
-CPU to narzêdzie do zarz±dzania u¿ytkownikami w LDAP, napisane w C i
-bazuj±ce na pw(8) z FreeBSD. Celem CPU jest zast±pienie narzêdzi
-useradd/usermod/userdel, korzystaj±c z LDAP.
+%description -l pl.UTF-8
+CPU to narzędzie do zarządzania użytkownikami w LDAP, napisane w C i
+bazujące na pw(8) z FreeBSD. Celem CPU jest zastąpienie narzędzi
+useradd/usermod/userdel, korzystając z LDAP.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       --with-ldap \
+       --with-cracklib
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        docdir="../rpm-doc"
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_sbindir}/*
 %attr(755,root,root) %{_libdir}/libcpu*.so.*.*
-%verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/cpu.conf
-%doc AUTHORS ChangeLog NEWS README TODO
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cpu.conf
 %{_mandir}/man?/*
This page took 0.058706 seconds and 4 git commands to generate.