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