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