]> git.pld-linux.org Git - SPECS.git/blob - ledit.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / ledit.spec
1 Summary:        Line editor
2 Summary(pl.UTF-8):      Edytor liniowy
3 Name:           ledit
4 Version:        2.02.1
5 Release:        2
6 License:        BSD
7 Group:          Base
8 Source0:        http://cristal.inria.fr/~ddr/ledit/distrib/src/%{name}-%{version}.tgz
9 # Source0-md5:  f8d51a92bfe78d6e5bd5a94a131c96f8
10 URL:            http://cristal.inria.fr/~ddr/ledit/
11 BuildRequires:  ncurses-devel
12 BuildRequires:  ocaml
13 BuildRequires:  camlp5
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Program ledit allows to edit lines one by one when running an
18 interactive command. When typing a line, some keys with control or
19 meta are interpreted: it is possible to insert characters in the
20 middle of the line, go to the beginning or the end of the line, get a
21 previous line, search for a line with a pattern, etc.
22
23 %description -l pl.UTF-8
24 Program ledit pozwala modyfikować linie tekstu wprowadzane w innym
25 interaktywnym programie. Pozwala na wprowadzanie znaków w środku
26 linii, przejście na jej początek lub koniec, wyszukiwanie linii
27 spełniającej jakiś wzór, wybranie poprzedniej linii, itd.
28
29 %prep
30 %setup -q
31
32 %build
33 %{__make} -j1
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make}
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/etc/skel}
40
41 install ledit.out $RPM_BUILD_ROOT%{_bindir}/ledit
42 install -p ledit.1 $RPM_BUILD_ROOT%{_mandir}/man1/ledit.1
43 install -p leditrc $RPM_BUILD_ROOT/etc/skel/.leditrc
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README CHANGES
51 /etc/skel/.leditrc
52 %attr(755,root,root) %{_bindir}/*
53 %{_mandir}/man1/*
This page took 0.381265 seconds and 3 git commands to generate.