]> git.pld-linux.org Git - packages/less.git/blob - less.spec
- release 19: more fixes for lesspipe.sh - oure tar do not support "y" option
[packages/less.git] / less.spec
1 Summary:        text file browser -- less is more
2 Summary(de):    Programm zum Anzeigen von Textdateien - weniger ist mehr
3 Summary(fr):    une lecteur de fichiers texte.
4 Summary(pl):    Przegl±darka plików tekstowych - mniej jest wiêcej
5 Summary(tr):    Metin dosyasý görüntüleyici - more benzeri
6 Name:           less
7 Version:        358
8 Release:        19
9 License:        GPL
10 Group:          Applications/Text
11 Group(de):      Applikationen/Text
12 Group(fr):      Utilitaires/Texte
13 Group(pl):      Aplikacje/Tekst
14 Source0:        ftp://ftp.gnu.org/gnu/less/%{name}-%{version}.tar.gz
15 Source1:        %{name}.1.pl
16 Source2:        %{name}pipe.sh
17 Source3:        %{name}.sh
18 Source4:        %{name}.csh
19 Patch0:         %{name}-DESTDIR.patch
20 Patch1:         %{name}-shell.patch
21 BuildRequires:  ncurses-devel >= 5.0
22 BuildRequires:  autoconf
23 URL:            http://www.flash.net/~marknu/less/
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 less is a text file viewer much like 'more', only better.
28
29 %description -l de
30 less ist ein Textdatei-Viewer ähnlich 'more' ... aber besser!
31
32 %description -l fr
33 less est un visualisateur de fichier texte, comme « more », mais en
34 mieux.
35
36 %description -l pl
37 Less jest programem podobnym w dzia³aniu do standardowego unixowego
38 `more', lecz o znacznie wiêkszych mo¿liwo¶ciach.
39
40 %description -l tr
41 less, more aracýna çok benzeyen ama ondan daha yetenekli bir dosya
42 görüntüleme aracýdýr. Metin dosyalarýnýn sayfa sayfa gösterilmesini
43 saðlar.
44
45 %prep
46 %setup  -q
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 chmod -R u+w .
52 autoconf
53 %configure
54
55 %{__make} LIBS="-ltinfo"
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1 $RPM_BUILD_ROOT/etc/profile.d
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/less.1
65 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
66 install %{SOURCE3} %{SOURCE4} $RPM_BUILD_ROOT/etc/profile.d
67
68 gzip -9nf README NEWS
69
70 %ifarch axp
71 install -d $RPM_BUILD_ROOT/bin
72 ln -sf %{_bindir}/less $RPM_BUILD_ROOT/bin/more
73 %endif
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc {README,NEWS}.gz
81
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) /etc/profile.d/*
84 %{_mandir}/man1/*
85 %lang(pl) %{_mandir}/pl/man1/*
86
87 %ifarch axp
88 %attr(755,root,root) /bin/more
89 %endif
This page took 0.038251 seconds and 4 git commands to generate.