]> git.pld-linux.org Git - packages/dnotify.git/blob - dnotify.spec
7a06a151ceef4d2cebde19b7cf6df729be1c9908
[packages/dnotify.git] / dnotify.spec
1 Summary:        Execute a command when the contents of a directory change
2 Summary(pl):    Wykonywanie poleceñ po zmianie zawarto¶ci katalogu
3 Name:           dnotify
4 Version:        0.12.0
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Vendor:         Oskar Liljeblad <oskar@osk.mine.nu>
9 Group:          Applications/File
10 Source0:        http://www.student.lu.se/~nbi98oli/src/%{name}-%{version}.tar.gz
11 URL:            http://www.student.lu.se/~nbi98oli/dnotify.html
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 dnotify is a simple program that makes it possible to execute a
16 command every time the contents of a specific directory change in
17 linux. It is run from the command line and takes two arguments: one or
18 more directories to monitor and a command to execute whenever a
19 directory has changed. Options control what events to trigger on: when
20 a file was read in the directory, when one was created, deleted and so
21 on.
22
23 %description -l pl
24 dnotify to prosty program, który umo¿liwia wykonanie polecenia za
25 ka¿dym razem, kiedy zawarto¶æ danego katalogu pod Linuksem ulegnie
26 zmianie. Program jest uruchamiany z linii poleceñ i przyjmuje dwa
27 parametry: jeden lub wiêcej katalogów do monitorowania oraz polecenie
28 do wykonania po ka¿dej zmianie zawarto¶ci katalogu. Opcje kontroluj±,
29 jakie zdarzenia maj± spowodowaæ uruchomienie polecenia: kiedy w
30 katalogu jaki¶ plik by³ czytany, zosta³ utworzony lub usuniêty itp.
31
32 %prep
33 %setup -q
34
35 %build
36 %configure
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README AUTHORS NEWS TODO
51 %attr(755,root,root) %{_bindir}/*
52 %{_mandir}/*/*
This page took 0.05504 seconds and 3 git commands to generate.