]>
Commit | Line | Data |
---|---|---|
e935be00 | 1 | Summary: Execute a command when the contents of a directory change |
2 | Name: dnotify | |
3 | Version: 0.12.0 | |
4 | Release: 1 | |
5 | Epoch: 1 | |
6 | License: GPL | |
7 | Vendor: Oskar Liljeblad <oskar@osk.mine.nu> | |
8 | Group: Applications/File | |
9 | Source0: http://www.student.lu.se/~nbi98oli/src/%{name}-%{version}.tar.gz | |
10 | URL: http://www.student.lu.se/~nbi98oli/dnotify.html | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
5cbd5b0b | 12 | |
13 | %description | |
e935be00 | 14 | dnotify is a simple program that makes it possible to execute a |
15 | command every time the contents of a specific directory change in | |
16 | linux. It is run from the command line and takes two arguments: one or | |
17 | more directories to monitor and a command to execute whenever a | |
18 | directory has changed. Options control what events to trigger on: when | |
19 | a file was read in the directory, when one was created, deleted and so | |
20 | on. | |
5cbd5b0b | 21 | |
22 | %prep | |
23 | %setup -q | |
24 | ||
25 | %build | |
e935be00 | 26 | %configure |
27 | %{__make} | |
5cbd5b0b | 28 | |
29 | %install | |
e935be00 | 30 | rm -rf $RPM_BUILD_ROOT |
31 | ||
32 | %{__make} install \ | |
33 | DESTDIR=$RPM_BUILD_ROOT | |
5cbd5b0b | 34 | |
35 | %clean | |
e935be00 | 36 | rm -rf $RPM_BUILD_ROOT |
5cbd5b0b | 37 | |
38 | %files | |
e935be00 | 39 | %defattr(644,root,root,755) |
40 | %doc README AUTHORS NEWS TODO | |
41 | %attr(755,root,root) %{_bindir}/* | |
5cbd5b0b | 42 | %{_mandir}/*/* |