/[packages]/cauldron/groff/current/SPECS/groff.spec
ViewVC logotype

Contents of /cauldron/groff/current/SPECS/groff.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 684 - (show annotations) (download)
Sat Jan 8 14:59:48 2011 UTC (13 years, 3 months ago) by blino
File size: 6457 byte(s)
adapt conflict

1 Name: groff
2 Version: 1.20.1
3 Release: %mkrel 3
4
5 License: GPLv2+
6 URL: http://www.gnu.org/software/groff/
7 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
8
9 Source0: ftp://ftp.gnu.org/gnu/groff/%{name}-%{version}.tar.gz
10 Source1: troff-to-ps.fpi
11 Patch0: groff-1.20.1-string-format-error.patch
12 Patch1: groff-1.20.1-nroff-convert-encoding.patch
13
14 BuildRequires: netpbm
15 BuildRequires: libxaw-devel
16 BuildRequires: libxmu-devel
17 BuildRequires: psutils
18 BuildRequires: ghostscript
19
20 #------------------------------------------------------------------------------#
21
22 # package groff
23
24 Summary: Document formatting system
25 Group: Text tools
26
27 Requires: groff-for-man
28 Requires(post,preun): info-install
29
30 %description
31 Groff is a document formatting system. Groff takes standard text and
32 formatting commands as input and produces formatted output. The created
33 documents can be shown on a display or printed on a printer. Groff's
34 formatting commands allow you to specify font type and size, bold type,
35 italic type, the number and size of columns on a page, and more.
36
37 You should install groff if you want to use it as a document formatting
38 system. Groff can also be used to format man pages. If you are going to
39 use groff with the X Window System, you'll also need to install the
40 groff-gxditview package.
41
42 %files
43 %defattr(-,root,root)
44 %{_bindir}/addftinfo
45 %{_bindir}/chem
46 %{_bindir}/eqn2graph
47 %{_bindir}/gdiffmk
48 %{_bindir}/grap2graph
49 %{_bindir}/grn
50 %{_bindir}/grodvi
51 %{_bindir}/groffer
52 %{_bindir}/grolbp
53 %{_bindir}/grolj4
54 %{_bindir}/hpftodit
55 %{_bindir}/indxbib
56 %{_bindir}/lkbib
57 %{_bindir}/lookbib
58 %{_bindir}/neqn
59 %{_bindir}/pdfroff
60 %{_bindir}/pfbtops
61 %{_bindir}/pic
62 %{_bindir}/pic2graph
63 %{_bindir}/post-grohtml
64 %{_bindir}/pre-grohtml
65 %{_bindir}/roff2dvi
66 %{_bindir}/roff2html
67 %{_bindir}/roff2pdf
68 %{_bindir}/roff2ps
69 %{_bindir}/roff2text
70 %{_bindir}/roff2x
71 %{_bindir}/refer
72 %{_bindir}/soelim
73 %{_bindir}/tfmtodit
74 %{_bindir}/xtotroff
75 %{_libdir}/groff/groffer
76 %{_datadir}/groff/%{version}/eign
77 %{_datadir}/groff/%{version}/font/devX100
78 %{_datadir}/groff/%{version}/font/devX100-12
79 %{_datadir}/groff/%{version}/font/devX75
80 %{_datadir}/groff/%{version}/font/devX75-12
81 %{_datadir}/groff/%{version}/font/devdvi
82 %{_datadir}/groff/%{version}/font/devhtml
83 %{_datadir}/groff/%{version}/font/devlbp
84 %{_datadir}/groff/%{version}/font/devlj4
85 %{_datadir}/groff/%{version}/font/devps
86 %{_datadir}/groff/%{version}/oldfont/devps
87 %{_datadir}/groff/%{version}/pic/chem.pic
88 %{_docdir}/groff/
89 %{_infodir}/groff*
90 %{_mandir}/man1/addftinfo.*
91 %{_mandir}/man1/chem.*
92 %{_mandir}/man1/eqn2graph.*
93 %{_mandir}/man1/gdiffmk.*
94 %{_mandir}/man1/grap2graph.*
95 %{_mandir}/man1/grn.*
96 %{_mandir}/man1/grodvi.*
97 %{_mandir}/man1/groffer.*
98 %{_mandir}/man1/grohtml.*
99 %{_mandir}/man1/grolbp.*
100 %{_mandir}/man1/grolj4.*
101 %{_mandir}/man1/hpftodit.*
102 %{_mandir}/man1/indxbib.*
103 %{_mandir}/man1/lkbib.*
104 %{_mandir}/man1/lookbib.*
105 %{_mandir}/man1/neqn.*
106 %{_mandir}/man1/pdfroff.*
107 %{_mandir}/man1/pfbtops.*
108 %{_mandir}/man1/pic.*
109 %{_mandir}/man1/pic2graph.*
110 %{_mandir}/man1/refer.*
111 %{_mandir}/man1/roff2dvi.*
112 %{_mandir}/man1/roff2html.*
113 %{_mandir}/man1/roff2ps.*
114 %{_mandir}/man1/roff2pdf.*
115 %{_mandir}/man1/roff2text.*
116 %{_mandir}/man1/roff2x.*
117 %{_mandir}/man1/soelim.*
118 %{_mandir}/man1/tfmtodit.*
119 %{_mandir}/man1/xtotroff.*
120 %{_mandir}/man5/*
121 %{_mandir}/man7/*
122
123 %post
124 %_install_info %name
125
126 %preun
127 %_remove_install_info %name
128 #------------------------------------------------------------------------------#
129
130 %package for-man
131
132 Summary: Groff components required for viewing manpages
133 Group: Text tools
134
135 # preconv binary moved from older groff
136 Conflicts: groff < 1.20.1-2mga
137
138 %description for-man
139 The groff-for-man package contains the parts of the groff text processor
140 package that are required for viewing manpages.
141 For a full groff package, install package groff.
142
143 %files for-man
144 %defattr(-,root,root)
145 %{_bindir}/eqn
146 %{_bindir}/groff
147 %{_bindir}/grops
148 %{_bindir}/grotty
149 %{_bindir}/nroff
150 %{_bindir}/preconv
151 %{_bindir}/tbl
152 %{_bindir}/troff
153 %{_datadir}/groff/current
154 %dir %{_datadir}/groff
155 %dir %{_datadir}/groff/%{version}
156 %{_datadir}/groff/%{version}/tmac
157 %dir %{_datadir}/groff/%{version}/font
158 %{_datadir}/groff/%{version}/font/devascii
159 %{_datadir}/groff/%{version}/font/devlatin1
160 %{_datadir}/groff/%{version}/font/devutf8
161 %dir %{_datadir}/groff/site-tmac
162 %{_datadir}/groff/site-tmac/man.local
163 %{_datadir}/groff/site-tmac/mdoc.local
164 %{_mandir}/man1/eqn.*
165 %{_mandir}/man1/groff.*
166 %{_mandir}/man1/grops.*
167 %{_mandir}/man1/grotty.*
168 %{_mandir}/man1/preconv.*
169 %{_mandir}/man1/nroff.*
170 %{_mandir}/man1/tbl.*
171 %{_mandir}/man1/troff.*
172
173 #------------------------------------------------------------------------------#
174
175 %package perl
176
177 Summary: Parts of the groff formatting system that require Perl
178 Group: Text tools
179 Requires: groff-for-man = %{version}-%{release}
180
181 %description perl
182 The groff-perl package contains the parts of the groff text processor
183 package that require Perl. These include the afmtodit font processor for
184 creating PostScript font files, the grog utility that can be used to
185 automatically determine groff command-line options, and the troff-to-ps
186 print filter.
187
188 %files perl
189 %defattr(-,root,root)
190 %{_bindir}/afmtodit
191 %{_bindir}/grog
192 %{_bindir}/mmroff
193 %{_libdir}/rhs/rhs-printfilters/troff-to-ps.fpi
194 %{_mandir}/man1/afmtodit.*
195 %{_mandir}/man1/grog.*
196 %{_mandir}/man1/mmroff.*
197
198 #------------------------------------------------------------------------------#
199
200 %package gxditview
201
202 Summary: X previewer for groff text processor output
203 Group: Text tools
204 Requires: groff-for-man = %{version}-%{release}
205
206 %description gxditview
207
208 Gxditview displays the groff text processor's output on an X Window
209 System display.
210
211 If you are going to use groff as a text processor, you should install
212 gxditview so that you preview your processed text files in X. You'll
213 also need to install the groff package and the X Window System.
214
215 %files gxditview
216 %defattr(-,root,root)
217 %{_bindir}/gxditview
218 %{_libdir}/X11/app-defaults/GXditview
219 %{_libdir}/X11/app-defaults/GXditview-color
220 %{_mandir}/man1/gxditview.*
221
222 #------------------------------------------------------------------------------#
223
224 %prep
225
226 %setup -q
227 %apply_patches
228
229 %build
230 %configure --with-appresdir=%{buildroot}/%{_libdir}/X11/app-defaults/
231 %make
232
233 %install
234 rm -rf %{buildroot}
235 %makeinstall
236
237 mkdir -p %{buildroot}/%{_libdir}/rhs/rhs-printfilters
238 install -m755 %{SOURCE1} %{buildroot}/%{_libdir}/rhs/rhs-printfilters
239
240 %clean
241 rm -rf %{buildroot}
242
243
244

  ViewVC Help
Powered by ViewVC 1.1.30