]> git.pld-linux.org Git - packages/less.git/blob - less.spec
[335-1]
[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):    less, more aracýna çok benzeyen ama ondan daha yetenekli bir \
6 Summary(tr):    dosya görüntüleme aracýdýr. Metin dosyalarýnýn sayfa sayfa \
7 Summary(tr):    gösterilmesini saðlar.
8 Name:           less
9 Version:        335
10 Release:        1
11 Copyright:      distributable
12 Group:          Utilities/Text
13 Group(pl):      Narzêdzia/Tekst
14 Source0:        ftp://prep.ai.mit.edu:/pub/gnu/%{name}-%{version}.tar.gz
15 Source1:        less.1.pl
16 Requires:       ncurses >= 4.2-12
17 Buildroot:      /tmp/%{name}-%{version}-root
18 Conflicts:      glibc <= 2.0.7
19
20 %description
21 less is a text file viewer much like 'more', only better.  
22
23 %description -l de
24 less ist ein Textdatei-Viewer ähnlich 'more' ... aber besser! 
25
26 %description -l fr
27 less est un visualisateur de fichier texte, comme « more », mais en mieux
28
29 %description -l pl
30 Less jest programem podobnym w dzia³aniu do standardowego unixowego
31 `more', lecz o znacznie wiêkszych mo¿liwo¶ciach.
32
33 %description -l tr
34 Metin dosyasý görüntüleyici - more benzeri
35
36 %prep
37 %setup -q
38
39 %build
40 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
41 ./configure \
42         --prefix=/usr \
43         --mandir=/usr/man/man1
44
45 make datadir=/usr/doc
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT/usr/man/pl/man1
50
51 make install \
52         prefix=$RPM_BUILD_ROOT/usr \
53         mandir=$RPM_BUILD_ROOT/usr/man/man1
54
55 install %{SOURCE1} $RPM_BUILD_ROOT/usr/man/pl/man1/less.1
56
57 gzip -9nf $RPM_BUILD_ROOT/usr/man/{man1/*,pl/man1/*} \
58         README NEWS
59
60 %ifarch axp
61 install -d $RPM_BUILD_ROOT/bin
62 ln -sf /usr/bin/less /bin/more
63 %endif
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc {README,NEWS}.gz
71
72 %attr(755,root,root) /usr/bin/*
73 /usr/man/man1/*
74 %lang(pl) /usr/man/pl/man1/*
75
76 %ifarch axp
77 %attr(755,root,root) /bin/more
78 %endif
79
80 %changelog
81 * Thu Apr  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
82   [335-1]
83 - added pl man page for less(1).
84
85 * Thu Mar 18 1999 Micha³ Kuratczyk <kura@pld.org.pl>
86   [332-6]
87 - gzipping documentation (instead bzipping)
88
89 * Thu Mar 11 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
90   [332-5]
91 - added Group(pl),
92 - added "Requires: ncureses >= 4.2-12" and "Conflicts: glibc <= 2.0.7" for
93   prevent installing in proper enviroment,
94 - added gzipping man pages,
95 - removed man group from man pages.
96
97 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
98   [332-3]
99 - added pl translation,
100 - major modifications of the spec file.
101 - build against GNU libc-2.1,
102 - start at invalid RH spec file.
This page took 0.050771 seconds and 3 git commands to generate.