2 Summary(pl.UTF-8): Edytor liniowy
8 Source0: http://caml.inria.fr/distrib/bazar-ocaml/%{name}.tar.gz
9 # Source0-md5: a2d38ba641682509c1e964ad699a9dd2
10 Patch0: %{name}-ocaml3.09.patch
11 URL: http://www.inria.fr/~ddr/
12 BuildRequires: ncurses-devel
14 BuildRequires: ocaml-camlp4
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Program ledit allows to edit lines one by one when running an
19 interactive command. When typing a line, some keys with control or
20 meta are interpreted: it is possible to insert characters in the
21 middle of the line, go to the beginning or the end of the line, get a
22 previous line, search for a line with a pattern, etc.
24 %description -l pl.UTF-8
25 Program ledit pozwala modyfikować linie tekstu wprowadzane w innym
26 interaktywnym programie. Pozwala na wprowadzanie znaków w środku
27 linii, przejście na jej początek lub koniec, wyszukiwanie linii
28 spełniającej jakiś wzór, wybranie poprzedniej linii, itd.
38 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
43 install ledit.out $RPM_BUILD_ROOT%{_bindir}/ledit
44 install ledit.l $RPM_BUILD_ROOT%{_mandir}/man1/ledit.1
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/*