Search
j0ke.net Open Build Service
>
Projects
>
ha
>
rcron
> rcron.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File rcron.spec of Package rcron (Revision 2)
Currently displaying revision
2
,
show latest
Name: rcron Version: 0.1.0 Release: 0 Url: http://code.google.com/p/rcron/ Source0: http://rcron.googlecode.com/files/%{name}-%{version}.tar.bz2 Source1: rcron.8 Source2: rcron.conf.master Source3: rcron.conf.backup Source4: README Summary: Cron jobs redundancy and failover License: GPL Group: System BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: bison flex gcc %description rcron is a minimal tool aiming to help sysadmins in setting up cron jobs redundancy and failover over groups of machines. It just ensures that a job installed on several machines will only run on the active one at any time. %prep %setup %build %configure %__make distclean %configure cp %{S:1} src/ %__make %install %__make DESTDIR=%{buildroot} install %__install -D -m0644 %{S:2} %{buildroot}%{_sysconfdir}/rcron/rcron.conf.master.sample %__install -m0644 %{S:3} %{buildroot}%{_sysconfdir}/rcron/rcron.conf.backup.sample cp %{S:4} . %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{_bindir}/rcron %{_mandir}/man8/rcron.8* %dir %{_sysconfdir}/rcron %config %{_sysconfdir}/rcron/rcron.conf.master.sample %config %{_sysconfdir}/rcron/rcron.conf.backup.sample %changelog