2 Summary(pl): 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)
17 %define no_install_post_strip 1
20 Program ledit allows to edit lines one by one when running an
21 interactive command. When typing a line, some keys with control or
22 meta are interpreted: it is possible to insert characters in the
23 middle of the line, go to the beginning or the end of the line, get a
24 previous line, search for a line with a pattern, etc.
27 Program ledit pozwala modyfikowaæ linie tekstu wprowadzane w innym
28 interaktywnym programie. Pozwala na wprowadzanie znaków w ¶rodku
29 linii, przej¶cie na jej pocz±tek lub koniec, wyszukiwanie linii
30 spe³niaj±cej jaki¶ wzór, wybranie poprzedniej linii, itd.
40 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
45 install ledit.out $RPM_BUILD_ROOT%{_bindir}/ledit
46 install ledit.l $RPM_BUILD_ROOT%{_mandir}/man1/ledit.1
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/*