public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ruben Kerkhof <ruben@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/incron] epel8: auto-import incron-0.5.0-1 on branch devel from incron-0.5.0-1.src.rpm
Date: Thu, 12 Nov 2026 02:01:21 GMT [thread overview]
Message-ID: <179444888131.1.2191167766927180630.rpms-incron-be0d2c268080@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/incron
Branch : epel8
Commit : be0d2c2680809ef8e44d05f24a76728d9c477b96
Author : Ruben Kerkhof <ruben@fedoraproject.org>
Date : 2007-01-28T20:33:13+00:00
Stats : +150/-0 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/incron/c/be0d2c2680809ef8e44d05f24a76728d9c477b96?branch=epel8
Log:
auto-import incron-0.5.0-1 on branch devel from incron-0.5.0-1.src.rpm
---
diff --git a/.cvsignore b/.cvsignore
index e69de29..3931019 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+incron-0.5.0.tar.bz2
diff --git a/incron.spec b/incron.spec
new file mode 100644
index 0000000..433abff
--- /dev/null
+++ b/incron.spec
@@ -0,0 +1,86 @@
+Summary: Inotify cron system
+Name: incron
+Version: 0.5.0
+Release: 1%{?dist}
+
+Group: System Environment/Base
+License: GPL
+URL: http://inotify.aiken.cz
+Source0: http://inotify.aiken.cz/download/incron/%{name}-%{version}.tar.bz2
+Source1: incrond.init
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires(post): /sbin/chkconfig
+Requires(preun): /sbin/chkconfig, /sbin/service
+
+%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
+%{__sed} -i 's/\f//' LICENSE-GPL
+
+%build
+make %{?_smp_mflags} CXXFLAGS="%{optflags}"
+
+
+%install
+rm -rf %{buildroot}
+
+#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}%{_localstatedir}/spool/%{name}
+install -d %{buildroot}%{_sysconfdir}/%{name}.d
+install -D -p %{SOURCE1} %{buildroot}%{_initrddir}/incrond
+install -D -p -m 0644 incron.conf.example %{buildroot}%{_sysconfdir}/%{name}.conf
+
+# install manpages
+make install-man MANPATH="%{buildroot}%{_mandir}" INSTALL="install -D -p"
+
+%post
+if [ $1 -eq 1 ]; then
+ /sbin/chkconfig --add incrond
+fi
+
+%preun
+if [ $1 -eq 0 ]; then
+ /sbin/service %{name} stop >/dev/null 2>&1 || :
+ /sbin/chkconfig --del incrond
+fi
+
+%postun
+if [ $1 -ge 1 ]; then
+ /sbin/service incrond condrestart >/dev/null 2>&1 || :
+fi
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%attr(4755,root,root) %{_bindir}/incrontab
+%{_sbindir}/incrond
+%{_initrddir}/incrond
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+%{_mandir}/man1/incrontab.1.gz
+%{_mandir}/man5/incrontab.5.gz
+%{_mandir}/man8/incrond.8.gz
+%dir %{_localstatedir}/spool/%{name}
+%dir %{_sysconfdir}/%{name}.d
+%doc COPYING CHANGELOG README TODO LICENSE-GPL
+
+
+
+%changelog
+* Sun Jan 27 2007 <ruben@rubenkerkhof.com> 0.5.0-1
+- Updated to new upstream version
+- Changed the service name in the scriptlets
+- Added a configuration file
+- Included GPL License
+* Sat Jan 27 2007 <ruben@rubenkerkhof.com> 0.4.0-1
+- First try at packaging it up
diff --git a/incrond.init b/incrond.init
new file mode 100644
index 0000000..4c87b03
--- /dev/null
+++ b/incrond.init
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+# incrond This shell script enables the incrond daemon
+#
+# Author: Ruben Kerkhof <ruben@rubenkerkhof.com>
+#
+# chkconfig: - 97 03
+#
+# description: This is a daemon which works like cron, but handles filesystem events
+# instead of time periods.
+# and can send notifications via mail, dbus or syslog.
+# processname: incrond
+#
+
+# source function library
+. /etc/rc.d/init.d/functions
+
+RETVAL=0
+
+start() {
+ echo -n $"Starting incrond: "
+ daemon incrond
+ RETVAL=$?
+ echo
+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/incrond
+}
+
+stop() {
+ echo -n $"Stopping incrond: "
+ killproc incrond
+ echo
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/incrond
+}
+
+restart() {
+ stop
+ start
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ restart|force-reload|reload)
+ restart
+ ;;
+ condrestart)
+ [ -f /var/lock/subsys/incrond ] && restart
+ ;;
+ status)
+ status incrond
+ RETVAL=$?
+ ;;
+ *)
+ echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
+ exit 1
+esac
+
+exit $RETVAL
diff --git a/sources b/sources
index e69de29..f5167b6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4418140738fb750234c6c782d54300ba incron-0.5.0.tar.bz2
reply other threads:[~2026-11-12 2:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179444888131.1.2191167766927180630.rpms-incron-be0d2c268080@fedoraproject.org \
--to=ruben@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox