/[smeserver]/rpms/cpu/sme8/cpu.spec
ViewVC logotype

Annotation of /rpms/cpu/sme8/cpu.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Mon Mar 31 18:21:10 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: cpu-1_4_3-5_el5_sme
Changes since 1.2: +1 -1 lines
Fix spec

1 slords 1.1 Summary: Pluggable utility to administer authentication data
2     Name: cpu
3     Version: 1.4.3
4     Release: 5%{?dist}
5     License: GPL
6     Group: System Environment/Base
7     Source: cpu-1.4.3.tar.bz2
8     Patch0: cpu-1.4.3-doc_install.patch
9     Patch1: cpu-1.4.3-rhel5.patch
10     Patch2: cpu-1.4.3-md5crypt.patch
11     Patch3: cpu-1.4.3-read.patch
12     Prefix: %{_prefix}
13     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
14 slords 1.2 BuildRequires: openldap-devel
15 slords 1.1
16     %description
17     CPU is a utility consisting of a set of plugins that allow an administrator to
18     administer a wide range of different authentication backends. Current plugins
19     include support for LDAP and a partially completed flat file plugin.
20    
21     %prep
22     %setup -q
23     %patch0 -p1
24     %patch1 -p1
25     %patch2 -p1
26     %patch3 -p1
27    
28     %build
29     CFLAGS="%{?cflags:%{cflags}}%{!?cflags:$RPM_OPT_FLAGS}"
30     CXXFLAGS="%{?cxxflags:%{cxxflags}}%{!?cflags:$RPM_OPT_FLAGS}"
31     export CFLAGS CXXFLAGS
32    
33     %configure %{?acflags}
34     %{__make} %{?mflags}
35    
36     %install
37     %{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
38     rm $RPM_BUILD_ROOT/usr/share/cpu.conf.doc
39     rm $RPM_BUILD_ROOT/usr/share/test.ldif
40    
41     %clean
42     test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
43    
44     %files
45     %defattr(-, root, root)
46     %doc README INSTALL COPYING TODO AUTHORS NEWS ChangeLog doc
47     %config %attr(0600, root,root) /etc/cpu.conf
48 slords 1.3 %{_libdir}/*
49 slords 1.1 /usr/sbin/cpu
50     %doc /usr/share/man/man5/*
51     %doc /usr/share/man/man8/*
52    
53     %changelog
54     * Fri Aug 03 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.3-5
55     - Read LDIF files until eof, rather than use stat size. Allows
56     read from, e.g. /dev/stdin.
57    
58     * Fri Aug 03 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.3-4
59     - Add md5crypt support (from sourceforge).
60    
61     * Tue Jul 24 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.3-3
62     - Portability fixes to allow building on RHEL5/CentOS5.
63    
64     * Wed Sep 27 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.3-2
65     - Update file list, and remove world read from cpu.conf.
66    
67     * Tue Sep 26 2006 Charlie Brady <charlieb@e-smith.com>
68     - Initial
69    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed