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