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