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