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