# NB! # - anacron provides crondaemon but no crontab binary! Summary: A wrapper around cron jobs Summary(pl.UTF-8): Wrapper dla zadań cronowych Name: shush Version: 1.2.3 Release: 1 License: custom, distributable Group: Applications/Console Source0: http://web.taranis.org/shush/dist/%{name}-%{version}.tgz # Source0-md5: b0348ecc6d78011c83ba92bd564b340d Patch0: %{name}-Makefile.patch Patch1: %{name}-progs.patch URL: http://web.taranis.org/shush/ BuildRequires: autoconf BuildRequires: pcre-devel Requires: /usr/bin/crontab Requires: /usr/lib/sendmail BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Shush runs a command and optionally reports its output by email. It is a powerful wrapper around cron jobs. %description -l pl.UTF-8 Shush wykonuje komendę i opcjonalnie wysyła wynik jej działania poprzez email. Jest to potężny wrapper dla zadań cronowych. %prep %setup -q %patch0 -p1 %patch1 -p1 %build export SENDMAIL=/usr/lib/sendmail export CRONTAB=/usr/bin/crontab %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) # LICENSE file is required (read it) %doc CHANGES LICENSE %attr(755,root,root) %{_bindir}/shush %{_mandir}/man1/*.1*