]>
Commit | Line | Data |
---|---|---|
e935be00 | 1 | Summary: Execute a command when the contents of a directory change |
893b85e3 | 2 | Summary(pl.UTF-8): Wykonywanie poleceń po zmianie zawartości katalogu |
e935be00 | 3 | Name: dnotify |
5f0b111e | 4 | Version: 0.18.0 |
4c057044 | 5 | Release: 1 |
e935be00 | 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 | |
5f0b111e | 11 | # Source0-md5: 7af869cee7e07b10817c4e7918ad0aee |
e935be00 | 12 | URL: http://www.student.lu.se/~nbi98oli/dnotify.html |
d3749962 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
3f65ccc0 | 15 | BuildRequires: gettext-tools |
e935be00 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5cbd5b0b | 17 | |
18 | %description | |
e935be00 | 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 | |
d3749962 | 21 | Linux. It is run from the command line and takes two arguments: one or |
e935be00 | 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. | |
5cbd5b0b | 26 | |
bbe5b0fa JR |
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. | |
0288afec | 35 | |
5cbd5b0b | 36 | %prep |
37 | %setup -q | |
38 | ||
39 | %build | |
d3749962 | 40 | %{__aclocal} |
41 | %{__autoconf} | |
42 | %{__automake} | |
e935be00 | 43 | %configure |
44 | %{__make} | |
5cbd5b0b | 45 | |
46 | %install | |
e935be00 | 47 | rm -rf $RPM_BUILD_ROOT |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
5cbd5b0b | 51 | |
b41731fa | 52 | %find_lang %{name} |
53 | ||
5cbd5b0b | 54 | %clean |
e935be00 | 55 | rm -rf $RPM_BUILD_ROOT |
5cbd5b0b | 56 | |
b41731fa | 57 | %files -f %{name}.lang |
e935be00 | 58 | %defattr(644,root,root,755) |
59 | %doc README AUTHORS NEWS TODO | |
60 | %attr(755,root,root) %{_bindir}/* | |
5cbd5b0b | 61 | %{_mandir}/*/* |