1 |
# $Id$ |
2 |
|
3 |
Summary: Module for supervising cvm auth daemon |
4 |
%define name e-smith-cvm-unix-local |
5 |
Name: %{name} |
6 |
%define version 2.0.0 |
7 |
%define release 1 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
Requires: cvm daemontools |
15 |
Requires: e-smith-lib >= 1.13.1-90 |
16 |
BuildArchitectures: noarch |
17 |
BuildRequires: e-smith-devtools |
18 |
AutoReqProv: no |
19 |
|
20 |
%description |
21 |
Module for supervising cvm auth daemon |
22 |
|
23 |
%changelog |
24 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
25 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
26 |
|
27 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
28 |
- Clean up spec so package can be built by koji/plague |
29 |
|
30 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
31 |
- Update to new release naming. No functional changes. |
32 |
- Make Packager generic |
33 |
|
34 |
* Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-01 |
35 |
- Roll stable stream version. [SME: 1016] |
36 |
|
37 |
* Mon Jan 2 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-04 |
38 |
- Delete preun scriptlet which required supervise-scripts and |
39 |
tried to stop/remove the imap service [SME: 348] |
40 |
|
41 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-03 |
42 |
- Bump release number only |
43 |
|
44 |
* Wed May 4 2005 Charlie Brady <charlieb@e-smith.com> |
45 |
- [1.1.0-02] |
46 |
- Update cvm calling sequence, for later version of cvm. |
47 |
|
48 |
* Wed May 4 2005 Charlie Brady <charlieb@e-smith.com> |
49 |
- [1.1.0-01] |
50 |
- Changing version to development stream number - 1.1.0 |
51 |
|
52 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
53 |
- [1.0.0-01] |
54 |
- Change to stable stream version number - 1.0.0 |
55 |
|
56 |
* Wed Jun 4 2003 Charlie Brady <charlieb@e-smith.com> |
57 |
- [0.0.1-05] |
58 |
- Use create-system-user to create cvmlog user. [charlieb 6033] |
59 |
|
60 |
* Fri Apr 18 2003 Charlie Brady <charlieb@e-smith.com> |
61 |
- [0.0.1-04] |
62 |
- Move socket to a private directory, and change its |
63 |
pathname. [charlieb 587] |
64 |
|
65 |
* Wed Apr 16 2003 Charlie Brady <charlieb@e-smith.com> |
66 |
- [0.0.1-03] |
67 |
- Change cvmlog userid to 1003, and change error exit to warning. |
68 |
[charlieb 6033] |
69 |
|
70 |
* Fri Mar 21 2003 Charlie Brady <charlieb@e-smith.com> |
71 |
- [0.0.1-02] |
72 |
- Add cvmlog user and cvm log directory [charlieb 587] |
73 |
|
74 |
* Wed Mar 19 2003 Charlie Brady <charlieb@e-smith.com> |
75 |
- [0.0.1-01] |
76 |
- Initial |
77 |
|
78 |
%prep |
79 |
%setup |
80 |
|
81 |
%build |
82 |
|
83 |
%install |
84 |
rm -rf $RPM_BUILD_ROOT |
85 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
86 |
mkdir -p $RPM_BUILD_ROOT/service |
87 |
mkdir -p $RPM_BUILD_ROOT/var/lib/cvm |
88 |
ln -s /var/service/cvm-unix-local $RPM_BUILD_ROOT/service/cvm-unix-local |
89 |
mkdir -p $RPM_BUILD_ROOT/var/log/cvm |
90 |
|
91 |
%pre |
92 |
/sbin/e-smith/create-system-user cvmlog 1003 'cvm output log user' /var/log/imap /bin/false |
93 |
|
94 |
%preun |
95 |
|
96 |
%clean |
97 |
rm -rf $RPM_BUILD_ROOT |
98 |
|
99 |
%files |
100 |
%defattr(-,root,root) |
101 |
%dir %attr(1755,root,root)/var/service/cvm-unix-local |
102 |
%attr(0755,root,root)/var/service/cvm-unix-local/run |
103 |
%attr(0755,root,root)/var/lib/cvm |
104 |
%dir %attr(0755,root,root)/var/service/cvm-unix-local/log |
105 |
%attr(0755,root,root)/var/service/cvm-unix-local/log/run |
106 |
%dir %attr(0750,cvmlog,cvmlog)/var/log/cvm |
107 |
/service/cvm-unix-local |