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