]> git.pld-linux.org Git - packages/ledit.git/blob - ledit.spec
- updated to 1.11
[packages/ledit.git] / ledit.spec
1 Summary:        Line editor
2 Summary(pl):    Edytor liniowy
3 Name:           ledit
4 Version:        1.11
5 Release:        1
6 License:        GPL
7 Group:          Base
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
13 BuildRequires:  ocaml
14 BuildRequires:  ocaml-camlp4
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         no_install_post_strip   1
18
19 %description
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.
25
26 %description -l pl
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.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make}
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
44
45 install ledit.out $RPM_BUILD_ROOT%{_bindir}/ledit
46 install ledit.l $RPM_BUILD_ROOT%{_mandir}/man1/ledit.1
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README Changes
54 %attr(755,root,root) %{_bindir}/*
55 %{_mandir}/man1/*
This page took 0.029274 seconds and 3 git commands to generate.