Mageia Bugzilla – Attachment 10445 Details for
Bug 22123
iwatch file system monitoring with notification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch for building Mageia 6 rpm in OpenSuse Build Service
iwatch.spec (text/plain), 1.92 KB, created by
Per Nelvig
on 2018-11-02 12:18:19 CET
(
hide
)
Description:
Patch for building Mageia 6 rpm in OpenSuse Build Service
Filename:
MIME Type:
Creator:
Per Nelvig
Created:
2018-11-02 12:18:19 CET
Size:
1.92 KB
patch
obsolete
>%define name iwatch >%define version 0.2.2 > >Name: %{name} >Summary: iWatch is a realtime filesystem monitoring program >Version: %{version} >Release: 4 >License: GPLv2 >Group: Monitoring >Requires: perl-Linux-Inotify2 perl-Event perl-Mail-Sendmail perl-XML-LibXML perl-XML-SimpleObject >Url: http://iwatch.sourceforge.net >Source0: http://downloads.sourceforge.net/project/iwatch/%{name}/%{version}/%{name}-%{version}.tgz >BuildRoot: %{_tmppath}/%{name}-%{version}-build >BuildArch: noarch > >%description >iWatch monitor the filesystem's integrity in realtime and will send >alarm immediately to the system administrator when there is any changes >in the monitored filesystem. iWatch is written in Perl and based on >inotify, a file change notification system, a kernel feature that >allows applications to request the monitoring of a set of files against >a list of events. > >Currently it can: > >- run in command line mode as well as in daemon mode > >- using an easy xml configuration file > >- can watch directory recursively and watch new created directory > >- can have a list of exceptions > >- can use regex to compare the file/directory name > >- can execute command if an event occures > >- send email > >- syslog > >- print time stamp > >%prep >%setup -q -n %{name} > >%build > >%install >install -d %buildroot/etc >install -p iwatch.xml %buildroot/etc/iwatch.xml >install -p iwatch.dtd %buildroot/etc/iwatch.dtd >install -d %buildroot/usr/bin >install -p iwatch %buildroot/usr/bin/iwatch > >%clean >rm -rf $RPM_BUILD_ROOT > >%files >%defattr(-,root,root) >%doc AUTHORS ChangeLog COPYING README iwatch.xml.example >%{_sysconfdir}/iwatch.xml >%{_sysconfdir}/iwatch.dtd >%{_bindir}/iwatch > > > > >%changelog >* Sun Dec 10 2017 Per Nelvig Changed dependency from perl-XML-SimpleObject-libXML in the original OpenSuse package to perl-XML-SimpleObject which exists in Mageia 6 repos >* Sat Oct 27 2018 Per Nelvig tried build again with success > >
%define name iwatch %define version 0.2.2 Name: %{name} Summary: iWatch is a realtime filesystem monitoring program Version: %{version} Release: 4 License: GPLv2 Group: Monitoring Requires: perl-Linux-Inotify2 perl-Event perl-Mail-Sendmail perl-XML-LibXML perl-XML-SimpleObject Url: http://iwatch.sourceforge.net Source0: http://downloads.sourceforge.net/project/iwatch/%{name}/%{version}/%{name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description iWatch monitor the filesystem's integrity in realtime and will send alarm immediately to the system administrator when there is any changes in the monitored filesystem. iWatch is written in Perl and based on inotify, a file change notification system, a kernel feature that allows applications to request the monitoring of a set of files against a list of events. Currently it can: - run in command line mode as well as in daemon mode - using an easy xml configuration file - can watch directory recursively and watch new created directory - can have a list of exceptions - can use regex to compare the file/directory name - can execute command if an event occures - send email - syslog - print time stamp %prep %setup -q -n %{name} %build %install install -d %buildroot/etc install -p iwatch.xml %buildroot/etc/iwatch.xml install -p iwatch.dtd %buildroot/etc/iwatch.dtd install -d %buildroot/usr/bin install -p iwatch %buildroot/usr/bin/iwatch %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README iwatch.xml.example %{_sysconfdir}/iwatch.xml %{_sysconfdir}/iwatch.dtd %{_bindir}/iwatch %changelog * Sun Dec 10 2017 Per Nelvig Changed dependency from perl-XML-SimpleObject-libXML in the original OpenSuse package to perl-XML-SimpleObject which exists in Mageia 6 repos * Sat Oct 27 2018 Per Nelvig tried build again with success
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22123
: 10445