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