]> git.pld-linux.org Git - packages/ledit.git/blob - ledit.spec
- release 3
[packages/ledit.git] / ledit.spec
1 Summary:        Line editor
2 Summary(pl.UTF-8):      Edytor liniowy
3 Name:           ledit
4 Version:        1.11
5 Release:        3
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 %description
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.
23
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.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make}
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
42
43 install ledit.out $RPM_BUILD_ROOT%{_bindir}/ledit
44 install ledit.l $RPM_BUILD_ROOT%{_mandir}/man1/ledit.1
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc README Changes
52 %attr(755,root,root) %{_bindir}/*
53 %{_mandir}/man1/*
This page took 0.031809 seconds and 3 git commands to generate.