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

Contents of /rpms/cpu/sme8/cpu.spec

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


Revision 1.5 - (show annotations) (download)
Fri Nov 5 18:19:38 2010 UTC (13 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: cpu-1_4_3-6_el5_sme
Changes since 1.4: +11 -6 lines
* Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-6.sme
- Use gecos for cn if available, also modify cn if possible [SME: 6338]

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

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