]> git.pld-linux.org Git - packages/groff.git/blob - groff.spec
- removed using %attr(644,root,man) macros in %files.
[packages/groff.git] / groff.spec
1 Summary:        GNU groff text formatting package
2 Summary(de):    GNU groff-Textformatierungspaket
3 Summary(fr):    Paquetage de formatage de texte groff de GNU
4 Summary(pl):    GNU groff - pakiet do formatowania tekstu 
5 Summary(tr):    GNU groff metin biçemleme paketi
6 Name:           groff
7 Version:        1.11a
8 Release:        12
9 Copyright:      GPL
10 Group:          Applications/Publishing
11 Group(pl):      Aplikacje/Publikowanie
12 Source0:        ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
13 Source1:        troff-to-ps.fpi
14 Patch0:         %{name}-1.11-make.patch
15 Patch1:         %{name}-1.11-safer.patch
16 Requires:       mktemp
17 Obsoletes:      groff-tools
18 Buildroot:      /tmp/%{name}-%{version}-root
19
20 %description
21 The groff text formatting system can be used to create professional looking
22 documents on both paper and a computer screen.  All the man pages are
23 processed with groff, so you'll need this package to read man pages.
24
25 %description -l de
26 Das Textformatiersystem groff wird zum Erstellen professioneller Dokumente
27 auf Papier und Bildschirm verwendet. Alle man-Seiten werden mit groff
28 verarbeitet. Das Paket wird zum Lesen von man-Seiten benötigt.
29
30 %description -l fr
31 Le système de formatage de texte groff peut être utilisé pour créer des
32 documents d'aspect professionnel sur papier et à l'écran. Toutes les pages
33 man sont traitées avec groff, vous avez donc besoin de ce paquetage pour les
34 visualiser.
35
36 %description -l pl
37 System formatowania tekstu groff mo¿e byæ u¿ywany do tworzenia
38 profesjonalnie wygl±daj±cego dokumentu zarówno na papierze jak i na konsoli.
39 Wszystkie podrêczniki ekranowe (man) potrzebuj± groff'a do formatowania
40 tekstu na ekranie. Tak wiêc potrzebujesz tego pakietu do czytania
41 podrêczników ekranowych.
42
43 %description -l tr
44 groff metin biçemleme sistemi kaðýt veya bilgisayar ekraný üzerinde
45 profesyonel görünüme sahip belgeler yaratmaya yarar. Bütün kýlavuz (man)
46 sayfalarý groff ile hazýrlanmýþtýr. man sayfalarýný okuyabilmek için groff
47 paketine gereksiniminiz olacaktýr.
48
49 %package        gxditview
50 Summary:        GNU groff X previewer
51 Summary(de):    GNU groff-X-Previewer
52 Summary(fr):    Le visualiseur de fichier groff de GNU, sous X.
53 Summary(pl):    Groff pod X'y 
54 Summary(tr):    GNU groff X görüntüleyici
55 Group:          Applications/Publishing
56 Group(pl):      Aplikacje/Publikowanie
57
58 %description gxditview
59 The package contains the gxditview program, which can be used to format and
60 view groff documents in X Windows.  For example, man pages can be read using
61 gxditview.
62
63 %description -l de gxditview
64 Das Paket enthält das gxditview-Programm, das zum Formatieren und Anzeigen
65 von groff-Dokumenten in X-Windows benutzt wird. So lassen sich
66 beispielsweise auch die man-Seiten mit gxditview einsehen.
67
68 %description -l fr gxditview
69 Ce paquetage contient le programme gxditview, qui peut servir à formater et
70 viusaliser les documents groff sous X Window. Les pages peuvent, par
71 exemple, être lues avec gxditview.
72
73 %description -l pl gxditview
74 Pakiet ten zawiera program gxditview, który pozwoli Ci na formatowanie
75 dokumentów pod X'ami. Na przyk³ad, do czytania porêczników ekranowych.
76
77 %description -l tr gxditview
78 Bu paket groff belgelerini görüntüleyip deðiþtirmeye yarayan gxditview
79 programýný içerir. Örneðin man sayfalarý gxditview kullanýlarak okunabilir.
80
81 %prep
82 %setup -q -n groff-1.11
83 %patch0 -p1
84 %patch1 -p1
85
86 %build
87 PATH=$PATH:/usr/X11R6/bin
88 CXX='g++' CC='gcc' CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
89 LDFLAGS=-s \
90 ./configure %{_target} \
91         --prefix=/usr
92 make
93 ( cd xditview; xmkmf; make )
94
95 %install
96 rm -rf $RPM_BUILD_ROOT
97 PATH=$PATH:/usr/X11R6/bin
98
99 install -d $RPM_BUILD_ROOT/usr/lib/rhs/rhs-printfilters
100
101 make install prefix=$RPM_BUILD_ROOT/usr
102 ( cd xditview; make DESTDIR=$RPM_BUILD_ROOT install install.man )
103
104 strip $RPM_BUILD_ROOT/usr/bin/* || :
105
106 ln -s tmac.s    $RPM_BUILD_ROOT/usr/lib/groff/tmac/tmac.gs
107 ln -s tmac.mse  $RPM_BUILD_ROOT/usr/lib/groff/tmac/tmac.gmse
108 ln -s tmac.m    $RPM_BUILD_ROOT/usr/lib/groff/tmac/tmac.gm
109 ln -s eqn       $RPM_BUILD_ROOT/usr/bin/geqn
110 ln -s indxbib   $RPM_BUILD_ROOT/usr/bin/gindxbib
111 ln -s lookbib   $RPM_BUILD_ROOT/usr/bin/glookbib
112 ln -s neqn      $RPM_BUILD_ROOT/usr/bin/gneqn
113 ln -s nroff     $RPM_BUILD_ROOT/usr/bin/gnroff
114 ln -s troff     $RPM_BUILD_ROOT/usr/bin/gtroff
115 ln -s tbl       $RPM_BUILD_ROOT/usr/bin/gtbl
116 ln -s pic       $RPM_BUILD_ROOT/usr/bin/gpic
117 ln -s refer     $RPM_BUILD_ROOT/usr/bin/grefer
118 ln -s soelim    $RPM_BUILD_ROOT/usr/bin/gsoelim
119
120 echo ".so eqn.1" >     $RPM_BUILD_ROOT%{_mandir}/man1/geqn.1
121 echo ".so indxbib.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gindxbib.1
122 echo ".so lookbib.1" > $RPM_BUILD_ROOT%{_mandir}/man1/glookbib.1
123 echo ".so neqn.1" >    $RPM_BUILD_ROOT%{_mandir}/man1/gneqn.1
124 echo ".so nroff.1" >   $RPM_BUILD_ROOT%{_mandir}/man1/gnroff.1
125 echo ".so pic.1" >     $RPM_BUILD_ROOT%{_mandir}/man1/gpic.1
126 echo ".so refer.1" >   $RPM_BUILD_ROOT%{_mandir}/man1/grefer.1
127 echo ".so soelim.1" >  $RPM_BUILD_ROOT%{_mandir}/man1/gsoelim.1
128 echo ".so tbl.1" >     $RPM_BUILD_ROOT%{_mandir}/man1/gtbl.1
129 echo ".so troff.1" >   $RPM_BUILD_ROOT%{_mandir}/man1/gtroff.1
130
131 install $RPM_SOURCE_DIR/troff-to-ps.fpi \
132     $RPM_BUILD_ROOT/usr/lib/rhs/rhs-printfilters
133
134 gzip -9fn $RPM_BUILD_ROOT/usr/{man/man1/*,X11R6/man/man1/*}
135
136 %clean
137 rm -rf $RPM_BUILD_ROOT
138
139 %files
140 %defattr(644,root,root,755)
141
142 /usr/lib/groff
143
144 %attr(755,root,root) /usr/bin/addftinfo
145 %attr(755,root,root) /usr/bin/afmtodit
146 %attr(755,root,root) /usr/bin/eqn
147 %attr(755,root,root) /usr/bin/geqn
148 %attr(755,root,root) /usr/bin/gindxbib
149 %attr(755,root,root) /usr/bin/glookbib
150 %attr(755,root,root) /usr/bin/gneqn
151 %attr(755,root,root) /usr/bin/gnroff
152 %attr(755,root,root) /usr/bin/gpic
153 %attr(755,root,root) /usr/bin/grefer
154 %attr(755,root,root) /usr/bin/grodvi
155 %attr(755,root,root) /usr/bin/groff
156 %attr(755,root,root) /usr/bin/grog
157 %attr(755,root,root) /usr/bin/grolj4
158 %attr(755,root,root) /usr/bin/grops
159 %attr(755,root,root) /usr/bin/grotty
160 %attr(755,root,root) /usr/bin/gsoelim
161 %attr(755,root,root) /usr/bin/gtbl
162 %attr(755,root,root) /usr/bin/gtroff
163 %attr(755,root,root) /usr/bin/hpftodit
164 %attr(755,root,root) /usr/bin/indxbib
165 %attr(755,root,root) /usr/bin/lkbib
166 %attr(755,root,root) /usr/bin/lookbib
167 %attr(755,root,root) /usr/bin/neqn
168 %attr(755,root,root) /usr/bin/nroff
169 %attr(755,root,root) /usr/bin/pfbtops
170 %attr(755,root,root) /usr/bin/pic
171 %attr(755,root,root) /usr/bin/psbb
172 %attr(755,root,root) /usr/bin/refer
173 %attr(755,root,root) /usr/bin/soelim
174 %attr(755,root,root) /usr/bin/tbl
175 %attr(755,root,root) /usr/bin/tfmtodit
176 %attr(755,root,root) /usr/bin/troff
177
178 %{_mandir}/man1/*
179
180 %attr(755,root,root) /usr/lib/rhs/rhs-printfilters/*
181
182 %files gxditview
183 %defattr(644,root,root,755)
184
185 %attr(755,root,root) /usr/X11R6/bin/gxditview
186 %attr(644,root,root) %config /usr/X11R6/lib/X11/app-defaults/GXditview
187 /usr/X11R6/man/man1/*
188
189 %changelog
190 * Wed Sep 30 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
191   [1.11a-8d]
192 - build against new PLD,
193 - fixed files permissions,
194 - macro %%{name} in Patch,
195 - minor modifications of the spec file.
196
197 * Thu Sep  8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
198   [1.11a-8]
199 - some man page is now maked as nroff include instead
200   making sym link (this allow compress man pages in future).
201
202 * Mon Jun 29 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
203   [1.11a-7]
204 - added pl translation,
205 - added %defattr support,
206 - build from non root's account.
207
208 * Mon Jun 29 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
209 - build agains glibc-2.1
210 - start at RH spec file.
This page took 0.073144 seconds and 4 git commands to generate.