parent
609376e613
commit
0551fb4cdf
@ -0,0 +1 @@
|
|||||||
|
inotify-tools-2.2.tar.gz
|
@ -0,0 +1,27 @@
|
|||||||
|
diff -Nurp inotify-tools-2.2.orig/src/inotifywait.c inotify-tools-2.2/src/inotifywait.c
|
||||||
|
--- inotify-tools-2.2.orig/src/inotifywait.c 2006-07-03 06:49:34.000000000 +0200
|
||||||
|
+++ inotify-tools-2.2/src/inotifywait.c 2006-07-06 13:56:32.000000000 +0200
|
||||||
|
@@ -1,3 +1,4 @@
|
||||||
|
+#define _GNU_SOURCE
|
||||||
|
#include "../config.h"
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
@@ -17,7 +18,6 @@
|
||||||
|
#include "inotify-syscalls.h"
|
||||||
|
#include "inotifyutils.h"
|
||||||
|
|
||||||
|
-#define _GNU_SOURCE
|
||||||
|
#include <getopt.h>
|
||||||
|
|
||||||
|
extern char *optarg;
|
||||||
|
diff -Nurp inotify-tools-2.2.orig/src/inotifywatch.c inotify-tools-2.2/src/inotifywatch.c
|
||||||
|
--- inotify-tools-2.2.orig/src/inotifywatch.c 2006-07-03 06:49:34.000000000 +0200
|
||||||
|
+++ inotify-tools-2.2/src/inotifywatch.c 2006-07-06 13:57:40.000000000 +0200
|
||||||
|
@@ -112,7 +112,6 @@ int main(int argc, char ** argv)
|
||||||
|
if ( !events )
|
||||||
|
events = IN_ALL_EVENTS;
|
||||||
|
|
||||||
|
- char * path;
|
||||||
|
unsigned int num_watches = 0;
|
||||||
|
unsigned int this_num_watches;
|
||||||
|
fprintf( stderr, "Establishing watches...\n" );
|
@ -0,0 +1,61 @@
|
|||||||
|
Name: inotify-tools
|
||||||
|
Version: 2.2
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: Command line utilities for inotify
|
||||||
|
|
||||||
|
Group: Applications/System
|
||||||
|
License: GPL
|
||||||
|
URL: http://inotify-tools.sourceforge.net/
|
||||||
|
Source0: http://download.sf.net/inotify-tools/inotify-tools-%{version}.tar.gz
|
||||||
|
Patch0: inotify-tools-2.2.implicit_syscall.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
inotify-tools is a set of command-line programs for Linux providing
|
||||||
|
a simple interface to inotify. These programs can be used to monitor
|
||||||
|
and act upon filesystem events.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-dependency-tracking
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS COPYING NEWS README
|
||||||
|
%{_bindir}/inotifywait
|
||||||
|
%{_bindir}/inotifywatch
|
||||||
|
%{_mandir}/man1/inotifywait.1*
|
||||||
|
%{_mandir}/man1/inotifywatch.1*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 31 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.2-3
|
||||||
|
- Fix URL
|
||||||
|
|
||||||
|
* Thu Jul 6 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.2-2
|
||||||
|
- Fix compilation warnings
|
||||||
|
|
||||||
|
* Thu Jul 6 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.2-1
|
||||||
|
- New version 2.2
|
||||||
|
- Update URL and description
|
||||||
|
- Add man pages
|
||||||
|
|
||||||
|
* Wed Jul 5 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.1-1
|
||||||
|
- Initial RPM release.
|
Loading…
Reference in new issue