/[smeserver]/rpms/runit/sme10/runit.spec
ViewVC logotype

Contents of /rpms/runit/sme10/runit.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Feb 7 21:09:42 2016 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: runit-2_1_2-1_el7_sme, HEAD
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 2.1.2-1
- Build new rpm for sme10

1 # $Id: runit.spec,v 1.2 2014/11/11 12:20:30 vip-ire Exp $
2
3 Summary: a UNIX init scheme with service supervision
4 Name: runit
5 Version: 2.1.2
6 Release: 1%{?dist}
7 License: BSD style
8 Group: System Enviornment/Daemons
9 Url: http://smarden.org/runit/
10 Source: %{name}-%{version}.tar.gz
11 Source1: runit.svup
12 Source2: runit.svdown
13 Source3: runit.svdepcalc
14 Source4: runit.dependencies.README
15 BuildRequires: dietlibc
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}.root
17 %description
18
19 runit is a daemontools alike replacement for sysvinit and other init
20 schemes. runit runs on GNU/Linux, OpenBSD, FreeBSD, and can easily be
21 adapted to other unix operating systems. If runit runs for you on any
22 other operating system or Linux distribution, please let me know.
23
24 Warning: Replacing sysvinit or init can cause the system's boot to
25 fail. Make sure you are able to recover and repair your system, for
26 example if you run a boot loader, it should be able to pass init=/bin/sh
27 to the kernel.
28
29 %changelog
30 * Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 2.1.2-1
31 - Build new rpm for sme10
32
33 * Tue Nov 11 2014 Daniel Berteaud <daniel@firewall-services.com> - 2.1.2-1
34 - Update to 2.1.2 [SME: 8655]
35
36 * Mon Oct 6 2008 Shad L. Lords <slords@mail.com>
37 - Update to 2.0.0 [SME: 4628]
38
39 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
40 - Clean up spec so package can be built by koji/plague
41
42 * Fri Feb 16 2007 Shad L. Lords <slords@mail.com>
43 - Update to 1.7.2
44
45 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
46 - Update to new release naming. No functional changes.
47 - Make Packager generic
48
49 * Thu Nov 09 2006 Charlie Brady <charlie_brady@mitel.com> 1.7.1-01
50 - Update to 1.7.1
51
52 * Wed Nov 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.7.0-02
53 - Build with dietlibc
54
55 * Wed Nov 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.7.0-01
56 - Update to 1.7.0
57
58 * Thu Jun 29 2006 Charlie Brady <charlie_brady@mitel.com> 1.6.0-01
59 - Update to 1.6.0
60
61 * Sun May 28 2006 Charlie Brady <charlie_brady@mitel.com> 1.5.1-01
62 - Update to 1.5.1
63
64 * Fri Feb 03 2006 Charlie Brady <charlie_brady@mitel.com> 1.3.3-01
65 - Update to 1.3.3
66
67 * Wed Aug 31 2005 Charlie Brady <charlieb@e-smith.com> 1.3.1-01
68 - Update to 1.3.1.
69
70 * Sun Jan 16 2005 Charlie Brady <charlieb@e-smith.com> 1.2.1-01
71 - Update to 1.2.1.
72
73 * Mon Dec 20 2004 Charlie Brady <charlieb@e-smith.com> 1.2.0-01
74 - Update to 1.2.0.
75
76 * Thu Sep 23 2004 Charlie Brady <charlieb@e-smith.com> 1.0.5-01
77 - Update to 1.0.5.
78
79 * Tue May 11 2004 Charlie Brady <charlieb@e-smith.com> 1.0.2-01
80 - Update to 1.0.2.
81 - Do not build against uCLibc.
82
83 * Tue Nov 04 2003 Charlie Brady <charlieb@e-smith.com> 0.12.0-01
84 - Update to rev 0.12.0 (which includes the isup/isdown patch).
85
86 * Wed Oct 29 2003 Charlie Brady <charlieb@e-smith.com> 0.11.2-02
87 - Add dependency management and isupdown patches from Torne Wuff
88 <torne-runit@wolfpuppy.org.uk>.
89 - Build against uClibc.
90 - Add missing man pages.
91
92 * Thu Oct 02 2003 Charlie Brady <charlieb@e-smith.com> 0.11.2-01
93 - Upgrade to version 0.11.2.
94
95 * Fri Jul 18 2003 Charlie Brady <charlieb@e-smith.com> 0.10-01
96 - Upgrade to version 0.10.0. Drop references to dietlibc (which wasn't
97 actually used, but appears to have an incompatible license).
98
99 * Wed Jun 18 2003 Charlie Brady <charlieb@e-smith.com> 0.95-01
100 - Initial
101
102 %prep
103 %setup -c -n %{name}-%{version}
104
105 %build
106 cd admin/%{name}-%{version}
107 #Change the conf-cc and conf-ld to use diet
108 echo 'diet -Os gcc -O2 -Wall' >src/conf-cc
109 echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld
110 ./package/compile
111
112 %install
113 cd admin/%{name}-%{version}
114 mkdir -p $RPM_BUILD_ROOT/%{_bindir}
115 install %{SOURCE1} command/svisup
116 install %{SOURCE2} command/svisdown
117 install %{SOURCE3} command/svdepcalc
118 install %{SOURCE4} doc/dependencies.README
119 for i in $(cat package/commands) svisup svisdown svdepcalc
120 do
121 install command/$i $RPM_BUILD_ROOT/%{_bindir}
122 done
123 #mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
124 #install man/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1
125 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
126 install man/*.8 $RPM_BUILD_ROOT/%{_mandir}/man8
127
128 %clean
129 rm -r $RPM_BUILD_ROOT
130
131 %files
132 %defattr(-,root,root)
133 %{_bindir}/*
134 %doc %{_mandir}/man8/*
135 #%{_mandir}/man1/*
136 %doc admin/%{name}-%{version}/package/COPYING
137 %doc admin/%{name}-%{version}/doc/*

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed