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