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