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

Annotation of /rpms/runit/sme7/runit.spec

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


Revision 1.2 - (hide annotations) (download)
Wed Apr 9 13:51:56 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
Changes since 1.1: +2 -0 lines
Add Id to top of spec

1 slords 1.2 # $Id$
2    
3 slords 1.1 Summary: a UNIX init scheme with service supervision
4     Name: runit
5     Version: 1.7.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 Apr 29 2007 Shad L. Lords <slords@mail.com>
31     - Clean up spec so package can be built by koji/plague
32    
33     * Fri Feb 16 2007 Shad L. Lords <slords@mail.com>
34     - Update to 1.7.2
35    
36     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
37     - Update to new release naming. No functional changes.
38     - Make Packager generic
39    
40     * Thu Nov 09 2006 Charlie Brady <charlie_brady@mitel.com> 1.7.1-01
41     - Update to 1.7.1
42    
43     * Wed Nov 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.7.0-02
44     - Build with dietlibc
45    
46     * Wed Nov 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.7.0-01
47     - Update to 1.7.0
48    
49     * Thu Jun 29 2006 Charlie Brady <charlie_brady@mitel.com> 1.6.0-01
50     - Update to 1.6.0
51    
52     * Sun May 28 2006 Charlie Brady <charlie_brady@mitel.com> 1.5.1-01
53     - Update to 1.5.1
54    
55     * Fri Feb 03 2006 Charlie Brady <charlie_brady@mitel.com> 1.3.3-01
56     - Update to 1.3.3
57    
58     * Wed Aug 31 2005 Charlie Brady <charlieb@e-smith.com> 1.3.1-01
59     - Update to 1.3.1.
60    
61     * Sun Jan 16 2005 Charlie Brady <charlieb@e-smith.com> 1.2.1-01
62     - Update to 1.2.1.
63    
64     * Mon Dec 20 2004 Charlie Brady <charlieb@e-smith.com> 1.2.0-01
65     - Update to 1.2.0.
66    
67     * Thu Sep 23 2004 Charlie Brady <charlieb@e-smith.com> 1.0.5-01
68     - Update to 1.0.5.
69    
70     * Tue May 11 2004 Charlie Brady <charlieb@e-smith.com> 1.0.2-01
71     - Update to 1.0.2.
72     - Do not build against uCLibc.
73    
74     * Tue Nov 04 2003 Charlie Brady <charlieb@e-smith.com> 0.12.0-01
75     - Update to rev 0.12.0 (which includes the isup/isdown patch).
76    
77     * Wed Oct 29 2003 Charlie Brady <charlieb@e-smith.com> 0.11.2-02
78     - Add dependency management and isupdown patches from Torne Wuff
79     <torne-runit@wolfpuppy.org.uk>.
80     - Build against uClibc.
81     - Add missing man pages.
82    
83     * Thu Oct 02 2003 Charlie Brady <charlieb@e-smith.com> 0.11.2-01
84     - Upgrade to version 0.11.2.
85    
86     * Fri Jul 18 2003 Charlie Brady <charlieb@e-smith.com> 0.10-01
87     - Upgrade to version 0.10.0. Drop references to dietlibc (which wasn't
88     actually used, but appears to have an incompatible license).
89    
90     * Wed Jun 18 2003 Charlie Brady <charlieb@e-smith.com> 0.95-01
91     - Initial
92    
93     %prep
94     %setup -c -n %{name}-%{version}
95    
96     %build
97     cd admin/%{name}-%{version}
98     #Change the conf-cc and conf-ld to use diet
99     echo 'diet -Os gcc -O2 -Wall' >src/conf-cc
100     echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld
101     ./package/compile
102    
103     %install
104     cd admin/%{name}-%{version}
105     mkdir -p $RPM_BUILD_ROOT/%{_bindir}
106     install %{SOURCE1} command/svisup
107     install %{SOURCE2} command/svisdown
108     install %{SOURCE3} command/svdepcalc
109     install %{SOURCE4} doc/dependencies.README
110     for i in $(cat package/commands) svisup svisdown svdepcalc
111     do
112     install command/$i $RPM_BUILD_ROOT/%{_bindir}
113     done
114     #mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
115     #install man/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1
116     mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
117     install man/*.8 $RPM_BUILD_ROOT/%{_mandir}/man8
118    
119     %clean
120     rm -r $RPM_BUILD_ROOT
121    
122     %files
123     %defattr(-,root,root)
124     %{_bindir}/*
125     %doc %{_mandir}/man8/*
126     #%{_mandir}/man1/*
127     %doc admin/%{name}-%{version}/package/COPYING
128     %doc admin/%{name}-%{version}/doc/*

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