2 # _without_xditview - disable xditwiev
5 Summary: A document formatting system
6 Summary(de): Ein Dokumentformatierungssystem
7 Summary(es): Paquete groff GNU - formateador de texto
8 Summary(fr): Paquetage de formatage de texte groff de GNU
9 Summary(pl): GNU groff - pakiet do formatowania tekstu
10 Summary(pt_BR): Pacote groff GNU - formatador de texto
11 Summary(ru): GNU groff - ÐÁËÅÔ ÄÌÑ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÑ ÔÅËÓÔÁ
12 Summary(tr): GNU groff metin biçemleme paketi
13 Summary(uk): GNU groff - ÐÁËÅÔ ÄÌÑ ÆÏÒÍÁÔÕ×ÁÎÎÑ ÔÅËÓÔÕ
18 Group: Applications/Publishing
19 Source0: ftp://ftp.ffii.org/pub/groff/%{name}-%{version}.tar.gz
20 # Source0-md5: c12bf574120df33ec8c18d92703e099e
21 Source1: %{name}-trofftops.sh
22 Source2: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
23 # Source2-md5: 3f8b22cc1eefb53306c8c2acf31aca29
24 Patch0: %{name}-safer.patch
25 Patch1: %{name}-DESTDIR.patch
26 Patch2: %{name}-info.patch
27 Patch3: %{name}-colours.patch
28 %{!?_without_xditview:BuildRequires: XFree86-devel
29 BuildRequires: autoconf
30 BuildRequires: libstdc++-devel
31 %{!?_without_xditview:BuildRequires: netpbm-progs}
32 BuildRequires: texinfo >= 4.5
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Obsoletes: groff-tools
36 Obsoletes: groff-for-man
38 %define _xprefix /usr/X11R6
39 %define _xbindir %{_xprefix}/bin
40 %define _xlibdir %{_xprefix}/lib
41 %define _xmandir %{_xprefix}/man
44 Groff is a document formatting system. Groff takes standard text and
45 formatting commands as input and produces formatted output. The
46 created documents can be shown on a display or printed on a printer.
47 Groff's formatting commands allow you to specify font type and size,
48 bold type, italic type, the number and size of columns on a page, and
49 more. You should install groff if you want to use it as a document
50 formatting system. Groff can also be used to format man pages. If you
51 are going to use groff with the X Window System, you'll also need to
52 install the groff-gxditview package.
55 Groff ist ein Dokumentformatierungssystem. Groff liest Text und
56 Formatierungskommandos ein, und gibt formatierte Ausgabe aus. Die
57 erzeugten Dokumente können angezeigt oder ausgedruckt werden. Groffs
58 Formatierungsbefehle erlauben Ihnen, Schriftart und -größe, Fettdruck,
59 Kursivdruck, und die Anzahl der Spalten pro Seite usw. zu setzen. Sie
60 sollten groff installieren, wenn Sie es als
61 Dokumentformatierungssystem benutzen wollen. Groff ann auch benutzt
62 werden, um man-pages anzuziegen. Wenn Sie groff in X11 benutzen
63 wollten, brauchen Sie auch das groff-gxditview-Paket.
66 El sistema formateador de texto groff puede ser usado para crear
67 documentos con apariencia profesional tanto en papel como en la
68 pantalla. Todas las páginas de manuales son procesadas con groff,
69 entonces este paquete es necesario para leer estas páginas.
72 Le système de formatage de texte groff peut être utilisé pour créer
73 des documents d'aspect professionnel sur papier et à l'écran. Toutes
74 les pages man sont traitées avec groff, vous avez donc besoin de ce
75 paquetage pour les visualiser.
78 System formatowania tekstu groff mo¿e byæ u¿ywany do tworzenia
79 profesjonalnie wygl±daj±cego dokumentu zarówno na papierze jak i na
80 konsoli. Wszystkie podrêczniki ekranowe (man) potrzebuj± groff'a do
81 formatowania tekstu na ekranie. Tak wiêc potrzebujesz tego pakietu do
82 czytania podrêczników ekranowych.
85 O sistema de formatação groff pode ser usado para criar documentos com
86 aparência profissional tanto em papel como na tela do computador.
87 Todas as páginas de manual on-line são processadas com groff, portanto
88 este pacote é necessário para ler estas páginas.
91 óÉÓÔÅÍÁ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÑ ÔÅËÓÔÁ groff ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎÁ ÄÌÑ
92 ÐÏÄÇÏÔÏ×ËÉ ÐÒÏÆÅÓÓÉÏÎÁÌØÎÏ ×ÙÇÌÑÄÑÝÉÈ ÄÏËÕÍÅÎÔÏ× ËÁË ÎÁ ÂÕÍÁÇÅ, ÔÁË É
93 ÎÁ ÜËÒÁÎÅ ËÏÍÐØÀÔÅÒÁ. ÷ÓÅ man-ÓÔÒÁÎÉÃÙ ÏÂÒÁÂÁÔÙ×ÁÀÔÓÑ groff'ÏÍ, ÔÁË
94 ÞÔÏ ÂÅÚ ÜÔÏÇÏ ÐÁËÅÔÁ ×Ù ÎÅ ÓÍÏÖÅÔÅ ÉÈ ÐÒÏÓÍÁÔÒÉ×ÁÔØ.
97 groff metin biçemleme sistemi kaðýt veya bilgisayar ekraný üzerinde
98 profesyonel görünüme sahip belgeler yaratmaya yarar. Bütün kýlavuz
99 (man) sayfalarý groff ile hazýrlanmýþtýr. man sayfalarýný okuyabilmek
100 için groff paketine gereksiniminiz olacaktýr.
103 óÉÓÔÅÍÁ ÆÏÒÍÁÔÕ×ÁÎÎÑ ÔÅËÓÔÕ groff ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÁ ÄÌÑ Ð¦ÄÇÏÔÏ×ËÉ
104 ÄÏËÕÍÅÎÔ¦×, ÝÏ ÐÒÏÆÅÓ¦ÊÎÏ ×ÉÇÌÑÄÁÀÔØ ÑË ÎÁ ÐÁÐÅÒ¦, ÔÁË ¦ ÎÁ ÅËÒÁΦ
105 ËÏÍÐ'ÀÔÅÒÁ. ÷Ó¦ man-ÓÔÏÒ¦ÎËÉ ÏÂÒÏÂÌÑÀÔØÓÑ groff'ÏÍ, ÔÁË ÝÏ ÂÅÚ ÃØÏÇÏ
106 ÐÁËÅÔÕ ×É ÎÅ ÚÍÏÖÅÔÅ §È ÐÅÒÅÇÌÑÄÁÔÉ.
109 Summary: An X previewer for groff text processor output
110 Summary(de): X-Anzeiger fuer groff Textprozessor-Ausgaben
111 Summary(es): Groff GNU para X
112 Summary(fr): Le visualiseur de fichier groff de GNU, sous X
113 Summary(pl): Groff pod X
114 Summary(pt_BR): Groff GNU para X
115 Summary(ru): GNU gxditview - ÐÒÏÇÒÁÍÍÁ ÐÒÏÓÍÏÔÒÁ ÄÏËÕÍÅÎÔÏ× groff ÄÌÑ X Window
116 Summary(tr): GNU groff X görüntüleyici
117 Summary(uk): GNU gxditview - ÐÒÏÇÒÁÍÁ ÐÅÒÅÇÌÑÄÕ ÄÏËÕÍÅÎÔ¦× groff ÄÌÑ X Window
118 Group: Applications/Publishing
119 Requires: %{name} = %{version}
121 %description gxditview
122 Gxditview displays the groff text processor's output on an X Window
123 System display. If you are going to use groff as a text processor, you
124 should install gxditview so that you preview your processed text files
125 in X. You'll also need to install the groff package and the X Window
128 %description gxditview -l de
129 Gxditview zeigt groff-Ausgaben auf einem X-Window-Display an. Wenn Sie
130 groff als Textprozessor benutzen wollen, und X11 benutzen, sollten Sie
131 gxditview installieren.
133 %description gxditview -l es
134 Este paquete contiene el programa gxditview, que se puede usar para
135 formatear y visualizar documentos en X window. Por ejemplo: páginas
136 man se las puede leer utilizando gxditview.
138 %description gxditview -l fr
139 Ce paquetage contient le programme gxditview, qui peut servir à
140 formater et viusaliser les documents groff sous X Window. Les pages
141 peuvent, par exemple, être lues avec gxditview.
143 %description gxditview -l pl
144 Pakiet ten zawiera program gxditview, który pozwoli Ci na formatowanie
145 dokumentów pod X. Na przyk³ad, do czytania porêczników ekranowych.
147 %description gxditview -l pt_BR
148 Este pacote contém o programa gxditview, que pode ser usado para
149 formatar e visualizar documentos no X Window. Por exemplo: páginas man
150 podem ser lidas usando o gxditview.
152 %description gxditview -l ru
153 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÕ gxditview, ËÏÔÏÒÁÑ ÍÏÖÅÔ ÂÙÔØ
154 ÉÓÐÏÌØÚÏ×ÁÎÁ ÄÌÑ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÑ É ÐÒÏÓÍÏÔÒÁ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ groff
155 ÐÏÄ X Window. îÁÐÒÉÍÅÒ, ÐÒÉ ÐÏÍÏÝÉ gxditview ÍÏÖÎÏ ÓÍÏÔÒÅÔØ
156 man-ÓÔÒÁÎÉÃÙ ÐÏÄ X Window.
158 %description gxditview -l tr
159 Bu paket groff belgelerini görüntüleyip deðiþtirmeye yarayan gxditview
160 programýný içerir. Örneðin man sayfalarý gxditview kullanýlarak
163 %description gxditview -l uk
164 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÕ gxditview, ÑËÕ ÍÏÖÎÁ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÄÌÑ
165 ÆÏÒÍÁÔÕ×ÁÎÎÑ ÔÁ ÐÅÒÅÇÌÑÄÕ ÄÏËÕÍÅÎÔ¦× Õ ÆÏÒÍÁÔ¦ groff Ð¦Ä X Window.
166 îÁÐÒÉËÌÁÄ, ÚÁ ÄÏÐÏÍÏÇÏÀ gxditview ÍÏÖÎÁ ÐÅÒÅÇÌÑÄÁÔÉ man-ÓÔÏÒ¦ÎËÉ Ð¦Ä X
170 Summary: Parts of the groff formatting system that require Perl
171 Summary(pl): Cze¶æ zasobów groff-a która wymaga Perla
172 Summary(ru): þÁÓÔØ ÓÉÓÔÅÍÙ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÑ ÔÅËÓÔÁ groff, ÔÒÅÂÕÀÝÁÑ Perl
173 Summary(uk): þÁÓÔÉÎÁ ÓÉÓÔÅÍÉ ÆÏÒÍÁÔÕ×ÁÎÎÑ ÔÅËÓÔÕ groff, ÑË¦Ê ÐÏÔÒ¦ÂÅÎ Perl
174 Group: Applications/Publishing
175 Requires: %{name} = %{version}
178 groff-perl contains the parts of the groff text processor package that
179 require Perl. These include the afmtodit font processor used to create
180 PostScript font files, the grog utility that can be used to
181 automatically determine groff command-line options, and the
182 troff-to-ps print filter.
184 %description perl -l pl
185 groff-perl zawiera czê¶æ zasobów groff-a która wymaga Perla. Skrypt
186 afmtodit jest procesorem fontów u¿ywanym do tworzenia plików fontów w
187 formacie PostScript, a skrypt grok u¿ywany jest do automatycznego
188 doboru parametrów dla groff przy konwersji troff -> PostScript (zwykle
189 u¿ywany przy drukowaniu).
200 PATH=$PATH:%{_prefix}/X11R6/bin
204 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
210 %if %{!?_without_xditview:1}%{?_without_xditview:0}
217 rm -rf $RPM_BUILD_ROOT
218 PATH=$PATH:%{_prefix}/X11R6/bin
220 %{__make} install DESTDIR=$RPM_BUILD_ROOT
222 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/trofftops
224 %if %{!?_without_xditview:1}%{?_without_xditview:0}
225 %{__make} -C src/xditview DESTDIR=$RPM_BUILD_ROOT install install.man
228 ln -sf s.tmac $RPM_BUILD_ROOT%{_datadir}/groff/%{version}/tmac/gs.tmac
229 ln -sf mse.tmac $RPM_BUILD_ROOT%{_datadir}/groff/%{version}/tmac/gmse.tmac
230 ln -sf m.tmac $RPM_BUILD_ROOT%{_datadir}/groff/%{version}/tmac/gm.tmac
231 ln -sf eqn $RPM_BUILD_ROOT%{_bindir}/geqn
232 ln -sf indxbib $RPM_BUILD_ROOT%{_bindir}/gindxbib
233 ln -sf lookbib $RPM_BUILD_ROOT%{_bindir}/glookbib
234 ln -sf neqn $RPM_BUILD_ROOT%{_bindir}/gneqn
235 ln -sf nroff $RPM_BUILD_ROOT%{_bindir}/gnroff
236 ln -sf troff $RPM_BUILD_ROOT%{_bindir}/gtroff
237 ln -sf tbl $RPM_BUILD_ROOT%{_bindir}/gtbl
238 ln -sf pic $RPM_BUILD_ROOT%{_bindir}/gpic
239 ln -sf refer $RPM_BUILD_ROOT%{_bindir}/grefer
240 ln -sf soelim $RPM_BUILD_ROOT%{_bindir}/gsoelim
242 echo ".so eqn.1" > $RPM_BUILD_ROOT%{_mandir}/man1/geqn.1
243 echo ".so indxbib.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gindxbib.1
244 echo ".so lookbib.1" > $RPM_BUILD_ROOT%{_mandir}/man1/glookbib.1
245 echo ".so neqn.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gneqn.1
246 echo ".so nroff.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gnroff.1
247 echo ".so pic.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gpic.1
248 echo ".so refer.1" > $RPM_BUILD_ROOT%{_mandir}/man1/grefer.1
249 echo ".so soelim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsoelim.1
250 echo ".so tbl.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gtbl.1
251 echo ".so troff.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gtroff.1
253 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
254 mv -f $RPM_BUILD_ROOT%{_mandir}/ja/{man7/mmroff.7,man1/mmroff.1}
257 rm -rf $RPM_BUILD_ROOT
260 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
263 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
266 %defattr(644,root,root,755)
267 %doc BUG-REPORT ChangeLog NEWS PROBLEMS PROJECTS README TODO
268 %attr(755,root,root) %{_bindir}/addftinfo
269 %attr(755,root,root) %{_bindir}/eqn
270 %attr(755,root,root) %{_bindir}/eqn2graph
271 %attr(755,root,root) %{_bindir}/geqn
272 %attr(755,root,root) %{_bindir}/gindxbib
273 %attr(755,root,root) %{_bindir}/glookbib
274 %attr(755,root,root) %{_bindir}/gneqn
275 %attr(755,root,root) %{_bindir}/gnroff
276 %attr(755,root,root) %{_bindir}/gpic
277 %attr(755,root,root) %{_bindir}/grefer
278 %attr(755,root,root) %{_bindir}/grn
279 %attr(755,root,root) %{_bindir}/grodvi
280 %attr(755,root,root) %{_bindir}/groff
281 %attr(755,root,root) %{_bindir}/groffer
282 %attr(755,root,root) %{_bindir}/grolbp
283 %attr(755,root,root) %{_bindir}/grolj4
284 %attr(755,root,root) %{_bindir}/grops
285 %attr(755,root,root) %{_bindir}/grotty
286 %attr(755,root,root) %{_bindir}/gsoelim
287 %attr(755,root,root) %{_bindir}/gtbl
288 %attr(755,root,root) %{_bindir}/gtroff
289 %attr(755,root,root) %{_bindir}/hpftodit
290 %attr(755,root,root) %{_bindir}/indxbib
291 %attr(755,root,root) %{_bindir}/lkbib
292 %attr(755,root,root) %{_bindir}/lookbib
293 %attr(755,root,root) %{_bindir}/neqn
294 %attr(755,root,root) %{_bindir}/nroff
295 %attr(755,root,root) %{_bindir}/pfbtops
296 %attr(755,root,root) %{_bindir}/pic
297 %attr(755,root,root) %{_bindir}/pic2graph
298 %attr(755,root,root) %{_bindir}/post-grohtml
299 %attr(755,root,root) %{_bindir}/pre-grohtml
300 %attr(755,root,root) %{_bindir}/refer
301 %attr(755,root,root) %{_bindir}/soelim
302 %attr(755,root,root) %{_bindir}/tbl
303 %attr(755,root,root) %{_bindir}/tfmtodit
304 %attr(755,root,root) %{_bindir}/troff
306 %{_mandir}/man1/addftinfo.1*
307 %{_mandir}/man1/eqn.1*
308 %{_mandir}/man1/eqn2graph.1*
309 %{_mandir}/man1/geqn.1*
310 %{_mandir}/man1/gindxbib.1*
311 %{_mandir}/man1/glookbib.1*
312 %{_mandir}/man1/gneqn.1*
313 %{_mandir}/man1/gnroff.1*
314 %{_mandir}/man1/gpic.1*
315 %{_mandir}/man1/grefer.1*
316 %{_mandir}/man1/grn.1*
317 %{_mandir}/man1/grodvi.1*
318 %{_mandir}/man1/groff.1*
319 %{_mandir}/man1/groffer.1*
320 %{_mandir}/man1/grohtml.1*
321 %{_mandir}/man1/grolbp.1*
322 %{_mandir}/man1/grolj4.1*
323 %{_mandir}/man1/grops.1*
324 %{_mandir}/man1/grotty.1*
325 %{_mandir}/man1/gsoelim.1*
326 %{_mandir}/man1/gtbl.1*
327 %{_mandir}/man1/gtroff.1*
328 %{_mandir}/man1/hpftodit.1*
329 %{_mandir}/man1/indxbib.1*
330 %{_mandir}/man1/lkbib.1*
331 %{_mandir}/man1/lookbib.1*
332 %{_mandir}/man1/neqn.1*
333 %{_mandir}/man1/nroff.1*
334 %{_mandir}/man1/pfbtops.1*
335 %{_mandir}/man1/pic.1*
336 %{_mandir}/man1/pic2graph.1*
337 %{_mandir}/man1/refer.1*
338 %{_mandir}/man1/soelim.1*
339 %{_mandir}/man1/tbl.1*
340 %{_mandir}/man1/tfmtodit.1*
341 %{_mandir}/man1/troff.1*
343 %{_mandir}/man7/[^m]*
345 %lang(de) %{_mandir}/de/man1/groff.1*
347 %lang(fi) %{_mandir}/fi/man1/addftinfo.1*
349 %lang(ja) %{_mandir}/ja/man1/addftinfo.1*
350 %lang(ja) %{_mandir}/ja/man1/eqn.1*
351 %lang(ja) %{_mandir}/ja/man1/geqn.1*
352 %lang(ja) %{_mandir}/ja/man1/gindxbib.1*
353 %lang(ja) %{_mandir}/ja/man1/glookbib.1*
354 %lang(ja) %{_mandir}/ja/man1/gneqn.1*
355 %lang(ja) %{_mandir}/ja/man1/gnroff.1*
356 %lang(ja) %{_mandir}/ja/man1/gpic.1*
357 %lang(ja) %{_mandir}/ja/man1/grefer.1*
358 %lang(ja) %{_mandir}/ja/man1/grn.1*
359 %lang(ja) %{_mandir}/ja/man1/grodvi.1*
360 %lang(ja) %{_mandir}/ja/man1/groff.1*
361 %lang(ja) %{_mandir}/ja/man1/grohtml.1*
362 %lang(ja) %{_mandir}/ja/man1/grolbp.1*
363 %lang(ja) %{_mandir}/ja/man1/grolj4.1*
364 %lang(ja) %{_mandir}/ja/man1/grops.1*
365 %lang(ja) %{_mandir}/ja/man1/grotty.1*
366 %lang(ja) %{_mandir}/ja/man1/gsoelim.1*
367 %lang(ja) %{_mandir}/ja/man1/gtbl.1*
368 %lang(ja) %{_mandir}/ja/man1/gtroff.1*
369 %lang(ja) %{_mandir}/ja/man1/hpftodit.1*
370 %lang(ja) %{_mandir}/ja/man1/indxbib.1*
371 %lang(ja) %{_mandir}/ja/man1/lkbib.1*
372 %lang(ja) %{_mandir}/ja/man1/lookbib.1*
373 %lang(ja) %{_mandir}/ja/man1/nroff.1*
374 %lang(ja) %{_mandir}/ja/man1/pfbtops.1*
375 %lang(ja) %{_mandir}/ja/man1/pic.1*
376 %lang(ja) %{_mandir}/ja/man1/refer.1*
377 %lang(ja) %{_mandir}/ja/man1/soelim.1*
378 %lang(ja) %{_mandir}/ja/man1/tbl.1*
379 %lang(ja) %{_mandir}/ja/man1/tfmtodit.1*
380 %lang(ja) %{_mandir}/ja/man1/troff.1*
381 %lang(ja) %{_mandir}/ja/man5/*
382 %lang(ja) %{_mandir}/ja/man7/[^m]*
384 %lang(pl) %{_mandir}/pl/man1/gnroff.1*
385 %lang(pl) %{_mandir}/pl/man1/groff.1*
386 %lang(pl) %{_mandir}/pl/man1/gsoelim.1*
387 %lang(pl) %{_mandir}/pl/man1/gtbl.1*
388 %lang(pl) %{_mandir}/pl/man1/nroff.1*
389 %lang(pl) %{_mandir}/pl/man1/soelim.1*
390 %lang(pl) %{_mandir}/pl/man1/tbl.1*
395 %if %{!?_without_xditview:1}%{?_without_xditview:0}
396 %defattr(644,root,root,755)
397 %doc src/xditview/{ChangeLog,README,TODO}
398 %attr(755,root,root) %{_xbindir}/gxditview
399 %{_xlibdir}/X11/app-defaults/GXditview
404 %defattr(644,root,root,755)
405 %attr(755,root,root) %{_bindir}/afmtodit
406 %attr(755,root,root) %{_bindir}/grog
407 %attr(755,root,root) %{_bindir}/mmroff
408 %attr(755,root,root) %{_bindir}/trofftops
409 %{_mandir}/man1/afmtodit.*
410 %{_mandir}/man1/grog.*
411 %{_mandir}/man1/mmroff.*
413 %lang(fi) %{_mandir}/fi/man1/afmtodit.*
415 %lang(ja) %{_mandir}/ja/man1/grog.*
416 %lang(ja) %{_mandir}/ja/man1/mmroff.*