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

Annotation of /rpms/cpu/sme7/cpu.spec

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


Revision 1.4 - (hide annotations) (download)
Wed Apr 9 13:51:45 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -0 lines
Add Id to top of spec

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

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