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