Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > efbd085587921d8cdd738079f92efc15 > files > 2

runit-1.7.2-1mdv2008.0.src.rpm

%define _enable_debug_packages %{nil}
%define debug_package          %{nil}

Summary:	A UN*X init scheme with service supervision
Name:		runit
Version:	1.7.2
Release:	%mkrel 1
License:	BSD
Group:		System/Base
URL:		http://smarden.org/runit/
Source0:	http://smarden.org/runit/%{name}-%{version}.tar.bz2
BuildRequires:	dietlibc-devel >= 0.27-9mdk
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
runit is a daemontools alike replacement for SysV-init and other
init schemes. It currently runs on GNU/Linux, OpenBSD, FreeBSD,
and can easily be adapted to other Unix operating systems. runit
implements a simple three-stage concept. Stage 1 performs the
system's one-time initialization tasks. Stage 2 starts the
system's uptime services (via the runsvdir program). Stage 3
handles the tasks necessary to shutdown and halt or reboot. 

%prep

%setup -q -n admin

%build

pushd %{name}-%{version}/src
    echo "diet gcc -Os -pipe" > conf-cc
    echo "diet gcc -Os -static -s" > conf-ld
    make
popd
 
%install
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}

install -d %{buildroot}/sbin/
install -d %{buildroot}%{_mandir}/man8

pushd %{name}-%{version}
    for i in `cat package/commands`; do
	install -m0755 src/$i %{buildroot}/sbin/
    done
popd

install -m0644 %{name}-%{version}/man/*.8 %{buildroot}%{_mandir}/man8/

%clean
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc %{name}-%{version}/package/CHANGES
%doc %{name}-%{version}/package/README
%doc %{name}-%{version}/package/THANKS
%doc %{name}-%{version}/doc/*.html
%doc %{name}-%{version}/etc/2
%doc %{name}-%{version}/etc/debian
%attr(0755,root,root) /sbin/chpst
%attr(0755,root,root) /sbin/runit
%attr(0755,root,root) /sbin/runit-init
%attr(0755,root,root) /sbin/runsv
%attr(0755,root,root) /sbin/runsvchdir
%attr(0755,root,root) /sbin/runsvdir
%attr(0755,root,root) /sbin/sv
%attr(0755,root,root) /sbin/svlogd
%attr(0755,root,root) /sbin/utmpset
%attr(0644,root,root) %{_mandir}/man8/chpst.8*
%attr(0644,root,root) %{_mandir}/man8/runit-init.8*
%attr(0644,root,root) %{_mandir}/man8/runit.8*
%attr(0644,root,root) %{_mandir}/man8/runsv.8*
%attr(0644,root,root) %{_mandir}/man8/runsvchdir.8*
%attr(0644,root,root) %{_mandir}/man8/runsvdir.8*
%attr(0644,root,root) %{_mandir}/man8/sv.8*
%attr(0644,root,root) %{_mandir}/man8/svlogd.8*
%attr(0644,root,root) %{_mandir}/man8/utmpset.8*




%changelog

* Tue Dec 12 2006 Oden Eriksson <oeriksson@mandriva.com> 1.7.2-1mdv2007.0
+ Revision: 95958
- Import runit

* Tue Dec 12 2006 Oden Eriksson <oeriksson@mandriva.com> 1.7.2-1mdv2007.1
- 1.7.2

* Mon Dec 19 2005 Lenny Cartier <lenny@mandriva.com> 1.3.2-1mdk
- 1.3.2

* Thu Oct 20 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 1.3.1-1mdk
- 1.3.1

* Fri Apr 15 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.2.2-1mdk
- 1.2.2

* Tue Jan 18 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 1.2.1-4mdk
- enable dietlibc build on x86_64 as dietlibc-devel-0.27-9mdk knows
  about "nice" now (Gwenole Beauchesne)

* Tue Jan 18 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 1.2.1-3mdk
- rebuilt to match changelogs

* Tue Jan 18 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 1.2.1-2mdk
- disable dietlibc build on x86_64 until it can handle "nice"

* Tue Jan 18 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.2.1-1mdk
- 1.2.1

* Mon Dec 20 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.2.0-1mdk
- 1.2.0

* Mon Nov 08 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.1.0-1mdk
- 1.1.0

* Fri Sep 24 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.0.5-1mdk
- 1.0.5

* Wed Aug 04 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.0.4-1mdk
- 1.0.4