/[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.7 - (hide annotations) (download)
Sat Nov 6 05:47:03 2010 UTC (14 years ago) by slords
Branch: MAIN
CVS Tags: cpu-1_4_3-9_el5_sme
Changes since 1.6: +5 -2 lines
* Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-9.sme
- Check for attribute before deleting (for extra attrs) [SME: 6342]

1 slords 1.7 # $Id: cpu.spec,v 1.6 2010/11/06 03:56:49 slords Exp $
2 slords 1.4
3 slords 1.1 Summary: Pluggable utility to administer authentication data
4     Name: cpu
5     Version: 1.4.3
6 slords 1.7 Release: 9%{?dist}
7 slords 1.1 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 slords 1.5 Patch4: cpu-1.4.3-fix-cn.patch
15 slords 1.6 Patch5: cpu-1.4.3-empty-attr.patch
16     Patch6: cpu-1.4.3-mod-delete.patch
17 slords 1.1 Prefix: %{_prefix}
18     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
19 slords 1.2 BuildRequires: openldap-devel
20 slords 1.1
21     %description
22     CPU is a utility consisting of a set of plugins that allow an administrator to
23     administer a wide range of different authentication backends. Current plugins
24     include support for LDAP and a partially completed flat file plugin.
25    
26     %prep
27     %setup -q
28     %patch0 -p1
29     %patch1 -p1
30     %patch2 -p1
31     %patch3 -p1
32 slords 1.5 %patch4 -p1
33 slords 1.6 %patch5 -p1
34     %patch6 -p1
35 slords 1.1
36     %build
37     CFLAGS="%{?cflags:%{cflags}}%{!?cflags:$RPM_OPT_FLAGS}"
38     CXXFLAGS="%{?cxxflags:%{cxxflags}}%{!?cflags:$RPM_OPT_FLAGS}"
39     export CFLAGS CXXFLAGS
40    
41     %configure %{?acflags}
42     %{__make} %{?mflags}
43    
44     %install
45     %{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
46     rm $RPM_BUILD_ROOT/usr/share/cpu.conf.doc
47     rm $RPM_BUILD_ROOT/usr/share/test.ldif
48    
49     %clean
50     test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
51    
52     %files
53     %defattr(-, root, root)
54     %doc README INSTALL COPYING TODO AUTHORS NEWS ChangeLog doc
55     %config %attr(0600, root,root) /etc/cpu.conf
56 slords 1.3 %{_libdir}/*
57 slords 1.1 /usr/sbin/cpu
58     %doc /usr/share/man/man5/*
59     %doc /usr/share/man/man8/*
60    
61     %changelog
62 slords 1.7 * Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-9.sme
63     - Check for attribute before deleting (for extra attrs) [SME: 6342]
64    
65 slords 1.6 * Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-8.sme
66     - If empty value is passed in assume that means delete [SME: 6342]
67    
68     * Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-7.sme
69     - Ignore attributes that have empty attr [SME: 6341]
70    
71 slords 1.5 * Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-6.sme
72     - Use gecos for cn if available, also modify cn if possible [SME: 6338]
73    
74     * Fri Aug 03 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.3-5.sme
75 slords 1.1 - Read LDIF files until eof, rather than use stat size. Allows
76     read from, e.g. /dev/stdin.
77    
78 slords 1.5 * Fri Aug 03 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.3-4.sme
79 slords 1.1 - Add md5crypt support (from sourceforge).
80    
81 slords 1.5 * Tue Jul 24 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.3-3.sme
82 slords 1.1 - Portability fixes to allow building on RHEL5/CentOS5.
83    
84 slords 1.5 * Wed Sep 27 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.3-2.sme
85 slords 1.1 - Update file list, and remove world read from cpu.conf.
86    
87     * Tue Sep 26 2006 Charlie Brady <charlieb@e-smith.com>
88     - Initial
89    

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