Репозитории ALT
Последнее обновление в Сб, 06 июня 2020, 00:52:42 +0000 | Пакетов: 9547
en ru
Исходные пакеты в ветвях
свернуть окно
  • 0.5.12-alt1.M80P.1
  • 0.5.9-alt1.1
  • 0.5.9-alt1.1
  • 0.5.9-alt1.1
Группа :: Система/Основа
Исходный пакет: incron
Необработанный spec-файл

Summary: Inotify cron system
Name: incron
Version: 0.5.9
Release: alt1

Group: System/Base
License: GPLv2
Url: http://inotify.aiken.cz
Source0: http://inotify.aiken.cz/download/incron/%name-%version.tar
Source1: incrond.init
Source2: incrontab.control
Patch0: %name-%version-%release.patch

# Automatically added by buildreq on Sun May 24 2009

BuildRequires: gcc-c++

%description
This program is an "inotify cron" system.
It consists of a daemon and a table manipulator.
You can use it a similar way as the regular cron.
The difference is that the inotify cron handles
filesystem events rather than time periods.

%prep
%setup -q
%patch0 -p1

%build
%make CXXFLAGS="%optflags"

%install
#install files manually since source Makefile tries to do it as root

install -D -p incrond %buildroot%_sbindir/incrond
install -D -p -m 4755 incrontab %buildroot%_bindir/incrontab
install -d %buildroot%_var/spool/%name
install -d %buildroot%_sysconfdir/%name.d
install -D -p %SOURCE1 %buildroot%_initdir/incrond
install -D -p %SOURCE2 %buildroot%_controldir/incrontab
install -D -p -m 0644 incron.conf.example %buildroot%_sysconfdir/%name.conf

# install manpages

make install-man MANPATH="%buildroot%_mandir" INSTALL="install -D -p"

%pre
/usr/sbin/groupadd -r -f incrontab &>/dev/null
%pre_control incrontab

%post
%post_control incrontab
%post_service incrond

%preun
%preun_service incrond

%files
%doc COPYING CHANGELOG README TODO LICENSE-GPL
%attr(700,root,root) %_bindir/incrontab
%_sbindir/incrond
%_initdir/incrond
%config(noreplace) %_sysconfdir/%name.conf
%_controldir/incrontab
%_mandir/man1/incrontab.1.gz
%_mandir/man5/incrontab.5.gz
%_mandir/man5/incron.conf.5.gz
%_mandir/man8/incrond.8.gz
%attr(3730,root,incrontab) %dir %_var/spool/%name
%attr(700,root,root) %dir %_sysconfdir/%name.d

%changelog
* Thu Sep 10 2009 Anton Farygin <rider at altlinux.ru> 0.5.9-alt1
- new version

* Mon May 25 2009 Anton Farygin <rider at altlinux.ru> 0.5.8-alt2
- use group incrontab instead of crontab

* Sun May 24 2009 Anton Farygin <rider at altlinux.ru> 0.5.8-alt1
- first build for Sisyphus, based on RH spec

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT