]>
Commit | Line | Data |
---|---|---|
86348168 | 1 | Summary: Line editor |
0b3bac16 | 2 | Summary(pl.UTF-8): Edytor liniowy |
86348168 | 3 | Name: ledit |
6b3412d0 | 4 | Version: 2.02.1 |
fcddb634 | 5 | Release: 2 |
6b3412d0 | 6 | License: BSD |
86348168 | 7 | Group: Base |
6b3412d0 JR |
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/ | |
86348168 | 11 | BuildRequires: ncurses-devel |
34ddb53d | 12 | BuildRequires: ocaml |
6b3412d0 | 13 | BuildRequires: camlp5 |
86348168 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
86348168 | 16 | %description |
17 | Program ledit allows to edit lines one by one when running an | |
da6d0963 JB |
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. | |
86348168 | 22 | |
98ac0e48 JR |
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. | |
86348168 | 28 | |
29 | %prep | |
d577b303 | 30 | %setup -q |
86348168 | 31 | |
32 | %build | |
6b3412d0 | 33 | %{__make} -j1 |
86348168 | 34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %{__make} | |
6b3412d0 | 39 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/etc/skel} |
da6d0963 | 40 | |
86348168 | 41 | install ledit.out $RPM_BUILD_ROOT%{_bindir}/ledit |
6b3412d0 JR |
42 | install -p ledit.1 $RPM_BUILD_ROOT%{_mandir}/man1/ledit.1 |
43 | install -p leditrc $RPM_BUILD_ROOT/etc/skel/.leditrc | |
86348168 | 44 | |
86348168 | 45 | %clean |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
6b3412d0 JR |
50 | %doc README CHANGES |
51 | /etc/skel/.leditrc | |
d577b303 | 52 | %attr(755,root,root) %{_bindir}/* |
86348168 | 53 | %{_mandir}/man1/* |