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