]> git.pld-linux.org Git - packages/less.git/blob - less.spec
- used %configureS macro
[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:        340
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 BuildPrereq:    ncurses-devel
17 BuildPrereq:    rpm >= 3.0.1-4
18 Buildroot:      /tmp/%{name}-%{version}-root
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 %configureS
41
42 make 
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT/usr/man/pl/man1
47
48 make install \
49         prefix=$RPM_BUILD_ROOT/usr
50
51 install %{SOURCE1} $RPM_BUILD_ROOT/usr/man/pl/man1/less.1
52
53 gzip -9nf $RPM_BUILD_ROOT/usr/man/{man1/*,pl/man1/*} \
54         README NEWS
55
56 %ifarch axp
57 install -d $RPM_BUILD_ROOT/bin
58 ln -sf /usr/bin/less /bin/more
59 %endif
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc {README,NEWS}.gz
67
68 %attr(755,root,root) /usr/bin/*
69 /usr/man/man1/*
70 %lang(pl) /usr/man/pl/man1/*
71
72 %ifarch axp
73 %attr(755,root,root) /bin/more
74 %endif
75
76 %changelog
77 * Thu Apr 28 1999 Piotr Czerwiñski <pius@pld.org.pl>
78   [340-1]
79 - upadted to 340,
80 - removed "Conflicts: glibc <= 2.0.7" (not neccessary now),
81 - removed Requires: ncurses,
82 - added BuildPrereq: ncurses-devel,
83 - removed --mandir=/usr/man/man1 from ./configure,
84 - removed mandir and datadir definitions from make and make install options 
85   (they seem to be no longer needed),
86 - recompiled on rpm 3.
87
88 * Thu Apr  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
89   [335-1]
90 - added pl man page for less(1).
91
92 * Thu Mar 18 1999 Micha³ Kuratczyk <kura@pld.org.pl>
93   [332-6]
94 - gzipping documentation (instead bzipping)
95
96 * Thu Mar 11 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
97   [332-5]
98 - added Group(pl),
99 - added "Requires: ncureses >= 4.2-12" and "Conflicts: glibc <= 2.0.7" for
100   prevent installing in proper enviroment,
101 - added gzipping man pages,
102 - removed man group from man pages.
103
104 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
105   [332-3]
106 - added pl translation,
107 - major modifications of the spec file.
108 - build against GNU libc-2.1,
109 - start at invalid RH spec file.
This page took 0.032814 seconds and 4 git commands to generate.