/[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.1 - (hide annotations) (download)
Mon Mar 31 17:44:42 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
Import on branch sme8 of package cpu-1.4.3-5.el5.sme.src.rpm

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     Packager: %{?_packager:%{_packager}}%{!?_packager:%{_vendor}}
13     Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
14     Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
15     Prefix: %{_prefix}
16     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
17    
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     /usr/lib/*
51     /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