1 |
# $Id: e-smith-runit.spec,v 1.2 2013/01/31 04:11:33 wellsi Exp $ |
2 |
|
3 |
Summary: generic support framework for Gerrit Pape's runit package |
4 |
%define name e-smith-runit |
5 |
Name: %{name} |
6 |
%define version 2.4.0 |
7 |
%define release 2 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch1: e-smith-runit-2.4.0-RunitConf.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildRequires: e-smith-devtools |
16 |
BuildArchitectures: noarch |
17 |
Requires: runit >= 1.0.5 |
18 |
Provides: e-smith-daemontools = 1.7.1-09 |
19 |
Obsoletes: e-smith-daemontools |
20 |
Obsoletes: supervise-scripts |
21 |
|
22 |
%changelog |
23 |
* Wed Jan 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme |
24 |
- Remove 15runsvdir and create /etc/init/runit.conf, |
25 |
by Charlie Brady [SME: 7325] |
26 |
|
27 |
* Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
28 |
- Roll new stream for sme9 |
29 |
|
30 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
31 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
32 |
|
33 |
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.0.0-6 |
34 |
- Make daemontools script use same echo that is translated [SME: 4120] |
35 |
|
36 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
37 |
- Clean up spec so package can be built by koji/plague |
38 |
|
39 |
* Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.0.0-5 |
40 |
- Fix signals sent to prevent errors and delays [SME: 1179] |
41 |
|
42 |
* Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.0.0-4 |
43 |
- Change runsvctrl to sv to support runit v1.7.x [SME: 1179] |
44 |
|
45 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
46 |
- Update to new release naming. No functional changes. |
47 |
- Make Packager generic |
48 |
|
49 |
* Tue Aug 22 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.0-02 |
50 |
- Add support for 'condrestart' param. [SME: 1870] |
51 |
|
52 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.0-01 |
53 |
- Roll stable stream version. [SME: 1016] |
54 |
|
55 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-06 |
56 |
- Bump release number only |
57 |
|
58 |
* Wed Jun 15 2005 Charlie Brady <charlieb@e-smith.com> |
59 |
- [0.0.1-05] |
60 |
- Provide more user feedback from init.d/daemontools script. |
61 |
[SF: 1218682] |
62 |
|
63 |
* Tue Apr 26 2005 Charlie Brady <charlieb@e-smith.com> |
64 |
- [0.0.1-04] |
65 |
- Reopen stdin from /dev/null before running runsvdir. This prevents any |
66 |
supervised services from stealing console input from VT1's getty/console. |
67 |
|
68 |
* Wed Dec 1 2004 Charlie Brady <charlieb@e-smith.com> |
69 |
- [0.0.1-03] |
70 |
- Call runsvctrl multiple times for multiple args - can't combine |
71 |
them (unlike svc). |
72 |
|
73 |
* Tue Sep 28 2004 Charlie Brady <charlieb@e-smith.com> |
74 |
- [0.0.1-02] |
75 |
- Add Obsoletes header for supervise-scripts |
76 |
|
77 |
* Fri Sep 24 2004 Charlie Brady <charlieb@e-smith.com> 0.0.1-01 |
78 |
- Initial - functional replacement for e-smith-daemontools 1.7.1-09. |
79 |
|
80 |
%description |
81 |
Provide integration of Gerrit Pape's runit package into a SysV init script |
82 |
process environment. |
83 |
|
84 |
%prep |
85 |
%setup |
86 |
%patch1 -p1 |
87 |
|
88 |
%build |
89 |
perl createlinks |
90 |
|
91 |
%install |
92 |
rm -rf $RPM_BUILD_ROOT |
93 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
94 |
rm -f %{name}-%{version}-%{release}-filelist |
95 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
96 |
> %{name}-%{version}-%{release}-filelist |
97 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
98 |
|
99 |
%clean |
100 |
rm -rf $RPM_BUILD_ROOT |
101 |
|
102 |
%pre |
103 |
%preun |
104 |
%post |
105 |
%postun |
106 |
|
107 |
%files -f %{name}-%{version}-%{release}-filelist |
108 |
%defattr(-,root,root) |