]> git.pld-linux.org Git - packages/less.git/blob - less.spec
- updated to 378: bug fixes.
[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(es):    Browser para archivo texto (- es +)
4 Summary(fr):    Une lecteur de fichiers texte.
5 Summary(pl):    Przegl±darka plików tekstowych - mniej jest wiêcej
6 Summary(pt_BR): Browser para arquivo texto (- é +)
7 Summary(ru):    ðÒÏÇÒÁÍÍÁ ÄÌÑ ÐÒÏÓÍÏÔÒÁ ÔÅËÓÔÏ×ÙÈ ÆÁÊÌÏ× ÐÏÈÏÖÁÑ ÎÁ more, ÎÏ ÌÕÞÛÅ
8 Summary(tr):    Metin dosyasý görüntüleyici - more benzeri
9 Summary(uk):    ðÒÏÇÒÁÍÁ ÄÌÑ ÐÅÒÅÇÌÑÄÕ ÔÅËÓÔÏ×ÉÈ ÆÁÊ̦נÓÈÏÖÁ ÎÁ more, ÁÌÅ ËÒÁÝÁ
10 Name:           less
11 Version:        378
12 Release:        1
13 License:        GPL
14 Group:          Applications/Text
15 Source0:        http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
16 Source1:        %{name}-non-english-man-pages.tar.bz2
17 Source2:        %{name}pipe.sh
18 Source3:        %{name}.sh
19 Source4:        %{name}.csh
20 Patch0:         %{name}-DESTDIR.patch
21 Patch1:         %{name}-shell.patch
22 Patch2:         %{name}-edit.patch
23 URL:            http://www.greenwoodsoftware.com/less/
24 BuildRequires:  autoconf
25 BuildRequires:  ncurses-devel >= 5.0
26 Requires:       file
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 The less utility is a text file browser that resembles more, but has
31 more capabilities. Less allows you to move backwards in the file as
32 well as forwards. Since less doesn't have to read the entire input
33 file before it starts, less starts up more quickly than text editors
34 (for example, vi).
35
36 %description -l de
37 less ist ein Textdatei-Viewer ähnlich 'more' ... aber besser!
38
39 %description -l es
40 less es un visor de archivo texto parecido con 'more', sólo que mejor.
41
42 %description -l fr
43 less est un visualisateur de fichier texte, comme « more », mais en
44 mieux.
45
46 %description -l pl
47 Less jest programem podobnym w dzia³aniu do standardowego unixowego
48 `more', lecz o znacznie wiêkszych mo¿liwo¶ciach.
49
50 %description -l pt_BR
51 less é um visualizador de arquivo texto parecido com 'more', só que
52 melhor.
53
54 %description -l ru
55 ðÒÏÇÒÁÍÍÁ ÄÌÑ ÐÒÏÓÍÏÔÒÁ ÔÅËÓÔÏ×ÙÈ ÆÁÊÌÏ×, ÐÏÈÏÖÁ ÎÁ more, ÎÏ ÉÍÅÅÔ
56 ÂÏÌØÛÅ ×ÏÚÍÏÖÎÏÓÔÅÊ. less ÐÏÚ×ÏÌÑÅÔ Ä×ÉÇÁÔØÓÑ ÐÏ ÆÁÊÌÕ × ÏÂÒÁÔÎÏÍ
57 ÎÁÐÒÁ×ÌÅÎÉÉ. ðÏÓËÏÌØËÕ less ÎÅ ÓÞÉÔÙ×ÁÅÔ ÐÒÅÄ×ÁÒÉÔÅÌØÎÏ ×ÅÓØ ×ÈÏÄÎÏÊ
58 ÆÁÊÌ, ÏΠÚÁÐÕÓËÁÅÔÓÑ ÚÎÁÞÉÔÅÌØÎÏ ÂÙÓÔÒÅÅ ÔÅËÓÔÏ×ÙÈ ÒÅÄÁËÔÏÒÏ×
59 (ÎÁÐÒÉÍÅÒ, vi).
60
61 %description -l tr
62 less, more aracýna çok benzeyen ama ondan daha yetenekli bir dosya
63 görüntüleme aracýdýr. Metin dosyalarýnýn sayfa sayfa gösterilmesini
64 saðlar.
65
66 %description -l uk
67 ðÒÏÇÒÁÍÁ ÄÌÑ ÐÅÒÅÇÌÑÄÕ ÔÅËÓÔÏ×ÉÈ ÆÁÊ̦×; ÓÈÏÖÁ ÎÁ more, ÁÌÅ ÍÁ¤ Â¦ÌØÛÅ
68 ÍÏÖÌÉ×ÏÓÔÅÊ. less ÄÏÚ×ÏÌѤ ÒÕÈÁÔÉÓØ ÐÏ ÆÁÊÌÕ × Ú×ÏÒÏÔÎØÏÍÕ ÎÁÐÒÑÍËÕ.
69 ïÓ˦ÌØËÉ less ÎÅ ÚÞÉÔÕ¤ ÐÏÐÅÒÅÄÎØÏ ×ÅÓØ ×ȦÄÎÉÊ ÆÁÊÌ, ×¦Î ÚÁÐÕÓËÁ¤ÔØÓÑ
70 ÚÎÁÞÎÏ Û×ÉÄÛŠΦ֠ÔÅËÓÔÏצ ÒÅÄÁËÔÏÒÉ (ÎÁÐÒÉËÌÁÄ, vi).
71
72 %prep
73 %setup  -q
74 %patch0 -p1
75 %patch1 -p1
76 %patch2 -p1
77
78 %build
79 chmod -R u+w .
80 %{__autoconf}
81 %configure
82
83 %{__make} LIBS="-ltinfo" \
84         CPPFLAGS="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/etc/profile.d
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
94 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
95 install %{SOURCE3} %{SOURCE4} $RPM_BUILD_ROOT/etc/profile.d
96
97 %ifarch axp
98 install -d $RPM_BUILD_ROOT/bin
99 ln -sf %{_bindir}/less $RPM_BUILD_ROOT/bin/more
100 %endif
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %files
106 %defattr(644,root,root,755)
107 %doc README NEWS
108
109 %attr(755,root,root) %{_bindir}/*
110 %attr(755,root,root) /etc/profile.d/*
111 %{_mandir}/man1/*
112 %lang(de) %{_mandir}/de/man1/*
113 %lang(hu) %{_mandir}/hu/man1/*
114 %lang(it) %{_mandir}/it/man1/*
115 %lang(ja) %{_mandir}/ja/man1/*
116 %lang(pl) %{_mandir}/pl/man1/*
117
118 %ifarch axp
119 %attr(755,root,root) /bin/more
120 %endif
This page took 0.290925 seconds and 4 git commands to generate.