]>
Commit | Line | Data |
---|---|---|
a71610d8 | 1 | # TODO |
770227b6 | 2 | # - %{_libdir}/graphviz/config is not FHS friendly path as config |
c006c45c | 3 | # - io language binding (waiting for swig support) |
705dcd18 | 4 | # - some plugin subpackages? (libgvplugin_*: gs=ghostscript, gtk, lasi, poppler, visio, webp) |
a2acb194 JB |
5 | # |
6 | # Conditional build: | |
705dcd18 | 7 | # - language bindings |
5116ffbb JB |
8 | %bcond_without dotnet # C# bindings |
9 | %bcond_with golang # Go bindings | |
705dcd18 | 10 | %bcond_without guile # guile bindings |
5116ffbb JB |
11 | %bcond_without java # Java bindings |
12 | %bcond_without ocaml # OCaml bindings | |
13 | %bcond_without php # PHP bindings | |
14 | %bcond_without perl # Perl bindings | |
15 | %bcond_without ruby # Ruby bindings | |
16 | %bcond_without tcl # Tcl bindings | |
17 | %bcond_without lua # Lua bindings | |
18 | %bcond_without r # R bindings | |
19 | %bcond_without python # Python bindings | |
20 | %bcond_with io # io language bindings (needs swig support) | |
705dcd18 ER |
21 | # - plugins, features |
22 | %bcond_without gd # gd plugin and gd support in tcl package | |
5116ffbb JB |
23 | %bcond_without ming # ming support |
24 | %bcond_without devil # DevIL plugin | |
031977aa | 25 | %bcond_without qt # Qt features (gvedit utility) |
9a694ad1 JB |
26 | %bcond_without smyrna # SMYRNA utility (large graph viewer) |
27 | %bcond_without ipsepcola # IPSEPCOLA features in neato engine [C++ portability problems] | |
03485284 | 28 | |
27ba60cb | 29 | %define tclver 8.6 |
c93f68cd | 30 | %define php_name php55 |
01ba00be | 31 | %ifarch i386 x32 |
f2aec12b JB |
32 | %undefine with_dotnet |
33 | %endif | |
01ba00be | 34 | %ifnarch %{ix86} %{x8664} |
1268dfc4 JB |
35 | %undefine with_java |
36 | %endif | |
37 | %ifarch i386 i486 | |
38 | %undefine with_java | |
39 | %endif | |
936f1e80 JB |
40 | %ifnarch %{ix86} %{x8664} %{arm} |
41 | %undefine with_golang | |
42 | %endif | |
770227b6 | 43 | %{?with_perl:%include /usr/lib/rpm/macros.perl} |
b805f849 | 44 | Summary: Graph Visualization Tools |
af41817c | 45 | Summary(pl.UTF-8): Narzędzie do wizualizacji w postaci grafów |
b805f849 | 46 | Name: graphviz |
616e8216 | 47 | Version: 2.38.0 |
d0b67ccb | 48 | Release: 21 |
404ccc68 | 49 | License: CPL v1.0 |
b805f849 | 50 | Group: X11/Applications/Graphics |
ba995c48 | 51 | Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz |
616e8216 | 52 | # Source0-md5: 5b6a829b2ac94efcd5fa3c223ed6d3ae |
ba995c48 | 53 | Patch0: %{name}-fontpath.patch |
185131e0 | 54 | Patch1: %{name}-tk.patch |
59d09131 | 55 | Patch2: %{name}-bad-header.patch |
f4007000 | 56 | Patch3: %{name}-php.patch |
cada671f | 57 | Patch4: %{name}-ltdl.patch |
c599137b | 58 | Patch6: %{name}-php_modules_dir.patch |
d13e88b1 | 59 | Patch7: %{name}-ruby.patch |
9a694ad1 JB |
60 | Patch10: %{name}-ming.patch |
61 | Patch11: %{name}-visio.patch | |
62 | Patch12: %{name}-webp.patch | |
1921eced | 63 | Patch13: %{name}-format.patch |
39c811b7 | 64 | Patch14: python-paths.patch |
db534832 | 65 | Patch15: ghostscript918.patch |
a47c3e85 | 66 | Patch16: php-dir.patch |
b805f849 | 67 | URL: http://www.graphviz.org/ |
237d1e48 | 68 | %{?with_devil:BuildRequires: DevIL-devel} |
866222d3 | 69 | %{?with_r:BuildRequires: R} |
c006c45c | 70 | BuildRequires: ann-devel |
9a694ad1 | 71 | BuildRequires: autoconf >= 2.61 |
c149ff39 | 72 | BuildRequires: automake |
b805f849 | 73 | BuildRequires: bison |
1268dfc4 | 74 | BuildRequires: expat-devel >= 1.95 |
b805f849 | 75 | BuildRequires: flex |
9a694ad1 | 76 | BuildRequires: fontconfig-devel |
6e4ae19d | 77 | BuildRequires: freetype-devel >= 2.0.0 |
b805f849 | 78 | BuildRequires: gawk |
705dcd18 | 79 | %{?with_gd:BuildRequires: gd-devel >= 2.0.34} |
9a694ad1 | 80 | BuildRequires: gdk-pixbuf2-devel >= 2.0 |
3ac2a26f | 81 | BuildRequires: gettext-tools |
80f376ac | 82 | BuildRequires: ghostscript-devel |
936f1e80 | 83 | %{?with_golang:BuildRequires: golang} |
1268dfc4 | 84 | BuildRequires: gtk+2-devel >= 2:2.8.0 |
9a694ad1 JB |
85 | BuildRequires: gts-devel |
86 | %{?with_guile:BuildRequires: guile-devel >= 2.0} | |
1268dfc4 | 87 | #BuildRequires: io |
a8c57886 AM |
88 | %if %{with java} |
89 | BuildRequires: jdk | |
90 | BuildRequires: jpackage-utils | |
91 | %endif | |
9a694ad1 | 92 | BuildRequires: libLASi-devel |
b805f849 | 93 | BuildRequires: libjpeg-devel |
9a694ad1 | 94 | BuildRequires: libltdl-devel >= 2:2 |
b805f849 | 95 | BuildRequires: libpng-devel |
f4007000 | 96 | BuildRequires: librsvg-devel >= 2.0 |
b805f849 | 97 | BuildRequires: libstdc++-devel |
9a694ad1 JB |
98 | BuildRequires: libtool >= 2:2 |
99 | BuildRequires: libwebp-devel | |
5116ffbb JB |
100 | # currently external library is not used |
101 | #BuildRequires: libvisio-devel | |
9ee036cb | 102 | # for lua51 binary |
c6d42285 | 103 | %if %{with lua} |
9ee036cb | 104 | BuildRequires: lua51 |
1268dfc4 | 105 | BuildRequires: lua51-devel >= 5.1 |
c6d42285 | 106 | %endif |
9a694ad1 | 107 | %{?with_ming:BuildRequires: ming-devel >= 0.4} |
f2aec12b | 108 | %{?with_dotnet:BuildRequires: mono-csharp} |
aafdcba2 | 109 | %{?with_ocaml:BuildRequires: ocaml} |
9a694ad1 | 110 | BuildRequires: pango-devel >= 1:1.14.9 |
d9d5610d | 111 | BuildRequires: perl-devel |
c6d42285 | 112 | %if %{with php} |
c93f68cd ER |
113 | BuildRequires: %{php_name}-devel |
114 | BuildRequires: %{php_name}-program | |
115 | BuildRequires: swig-php >= 1.3.40 | |
c6d42285 | 116 | %endif |
00031463 | 117 | BuildRequires: pkgconfig |
c006c45c | 118 | BuildRequires: poppler-glib-devel |
5116ffbb | 119 | %{?with_python:BuildRequires: python-devel >= 2.3} |
410c2949 | 120 | %{?with_perl:BuildRequires: rpm-perlprov} |
770227b6 | 121 | %{?with_python:BuildRequires: rpm-pythonprov} |
19de6b8f | 122 | BuildRequires: rpmbuild(macros) >= 1.696 |
c006c45c | 123 | %{?with_ruby:BuildRequires: ruby-devel >= 1.9} |
00ff7557 | 124 | BuildRequires: sed >= 4.0 |
9a694ad1 | 125 | # swig-csharp,swig-go,swig-java,swig-lua,swig-ocaml in main swig |
1268dfc4 | 126 | # swig-io ??? |
9a694ad1 | 127 | BuildRequires: swig >= 1.3 |
71e17c62 | 128 | %{?with_guile:BuildRequires: swig-guile >= 2.0.3} |
9a694ad1 | 129 | %{?with_perl:BuildRequires: swig-perl >= 1.3} |
9a694ad1 JB |
130 | BuildRequires: swig-python >= 1.3 |
131 | %{?with_ruby:BuildRequires: swig-ruby >= 1.3} | |
c6d42285 | 132 | %if %{with tcl} |
9a694ad1 | 133 | BuildRequires: swig-tcl >= 1.3 |
27ba60cb AM |
134 | BuildRequires: tcl-devel >= %{tcl_ver} |
135 | BuildRequires: tk-devel >= 8.6.0 | |
c6d42285 | 136 | %endif |
bbf59095 | 137 | BuildRequires: xorg-lib-libX11-devel |
1268dfc4 JB |
138 | BuildRequires: xorg-lib-libXaw-devel |
139 | BuildRequires: xorg-lib-libXpm-devel | |
5116ffbb JB |
140 | # tested in configure to enable ghostscript plugin build, actually not used |
141 | BuildRequires: xorg-lib-libXrender-devel | |
b805f849 | 142 | BuildRequires: zlib-devel |
9a694ad1 JB |
143 | %if %{with smyrna} |
144 | BuildRequires: OpenGL-glut-devel | |
145 | # only tested, actually not used | |
146 | #BuildRequires: gtkglarea-devel >= 2.0 | |
147 | BuildRequires: gtkglext-devel >= 1.0 | |
148 | BuildRequires: libglade2-devel >= 2.0 | |
149 | %endif | |
031977aa JB |
150 | %if %{with qt} |
151 | BuildRequires: QtCore-devel >= 4 | |
152 | BuildRequires: QtGui-devel >= 4 | |
d0b67ccb | 153 | BuildRequires: qt4-build >= 4 |
031977aa JB |
154 | BuildRequires: qt4-qmake >= 4 |
155 | %endif | |
07fea929 | 156 | Requires(post,postun): /sbin/ldconfig |
d115400b | 157 | Requires: fonts-Type1-urw |
9a694ad1 | 158 | Requires: pango >= 1:1.14.9 |
5116ffbb | 159 | %{!?with_golang:Obsoletes: golang-graphviz < %{version}} |
b805f849 AM |
160 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
161 | ||
b805f849 AM |
162 | %description |
163 | A collection of tools and tcl packages for the manipulation and layout | |
164 | of graphs (as in nodes and edges, not as in barcharts). | |
165 | ||
e5b048d9 JR |
166 | %description -l pl.UTF-8 |
167 | Kolekcja narzędzi oraz pakietów tcl służących do manipulacji i | |
168 | rozmieszczania grafów. | |
b805f849 | 169 | |
a2acb194 JB |
170 | %package devel |
171 | Summary: Header files for graphviz libraries | |
af41817c | 172 | Summary(pl.UTF-8): Pliki nagłówkowe do bibliotek graphviz |
a2acb194 JB |
173 | Group: X11/Development/Libraries |
174 | Requires: %{name} = %{version}-%{release} | |
9a694ad1 | 175 | Requires: libltdl-devel >= 2:2 |
705dcd18 ER |
176 | # this is perhaps pointless as gd is plugin not needed for graphviz-devel? |
177 | %if %{with gd} | |
178 | Requires: %{name}-gd = %{version}-%{release} | |
179 | Requires: gd-devel >= 2.0.34 | |
180 | %endif | |
a2acb194 JB |
181 | |
182 | %description devel | |
183 | This package contains the header files for graphviz libraries. | |
184 | ||
e5b048d9 JR |
185 | %description devel -l pl.UTF-8 |
186 | Ten pakiet zawiera pliki nagłówkowe do bibliotek graphviz. | |
a2acb194 | 187 | |
eab557ec ER |
188 | %package devil |
189 | Summary: Graphviz plugin for renderers based on DevIL | |
190 | Group: Applications/Multimedia | |
191 | Requires: %{name} = %{version}-%{release} | |
192 | ||
193 | %description devil | |
194 | Graphviz plugin for renderers based on DevIL. (Unless you absolutely | |
195 | have to use BMP, TIF, or TGA, you are recommended to use the PNG | |
196 | format instead supported directly by the cairo+pango based renderer in | |
197 | the base graphviz rpm.) | |
198 | ||
705dcd18 ER |
199 | %package gd |
200 | Summary: Graphviz plugin for renderers based on gd | |
201 | Group: Applications/Multimedia | |
202 | Requires: %{name} = %{version}-%{release} | |
203 | Requires: gd >= 2.0.33-5 | |
204 | ||
205 | %description gd | |
206 | Graphviz plugin for renderers based on gd. (Unless you absolutely have | |
207 | to use GIF, you are recommended to use the PNG format instead because | |
208 | of the better quality anti-aliased lines provided by the cairo+pango | |
209 | based renderer.) | |
210 | ||
031977aa JB |
211 | %package gvedit |
212 | Summary: gvedit - simple graph editor and viewer based on Qt | |
213 | Summary(pl.UTF-8): gvedit - prosty edytor i przeglądarka grafów oparta na Qt | |
214 | Group: X11/Applications/Graphics | |
215 | Requires: %{name} = %{version}-%{release} | |
216 | ||
217 | %description gvedit | |
218 | gvedit provides a simple Qt-based graph editor and viewer. | |
219 | ||
220 | %description gvedit -l l.UTF-8 | |
221 | gvedit to prosty edytor i przeglądarka grafów oparta na Qt. | |
222 | ||
eab557ec ER |
223 | %package ming |
224 | Summary: Graphviz plugin for flash renderer based on ming | |
225 | Group: Applications/Multimedia | |
226 | Requires: %{name} = %{version}-%{release} | |
227 | ||
228 | %description ming | |
229 | Graphviz plugin for -Tswf (flash) renderer based on ming. | |
230 | ||
031977aa JB |
231 | %package smyrna |
232 | Summary: SMYRNA large graph viewer | |
233 | Summary(pl.UTF-8): SMYRNA - przeglądarka dużych grafów | |
234 | Group: X11/Applications/Graphics | |
235 | Requires: %{name} = %{version}-%{release} | |
236 | Requires: gtkglext >= 1.0 | |
237 | ||
238 | %description smyrna | |
239 | SMYRNA is an interactive viewer for graphs in the DOT format. It is | |
240 | especially designed to handle large graphs, and allows flat and | |
241 | topological fisheye views. | |
242 | ||
243 | %description smyrna -l pl.UTF-8 | |
244 | SMYRNA to interaktywna przeglądarka grafów w formacie DOT. Jest | |
245 | przeznaczona szczególnie do obsługi dużych grafów, udostępnia widok | |
246 | płaski oraz topologiczny typu "rybie oko". | |
247 | ||
72fb0113 ER |
248 | %package doc-html |
249 | Summary: HTML documentation for graphviz | |
95a5febc | 250 | Summary(pl.UTF-8): Dokumentacja do graphviza w formacie HTML |
72fb0113 ER |
251 | Group: Documentation |
252 | ||
253 | %description doc-html | |
254 | HTML documentation for graphviz. | |
255 | ||
95a5febc JB |
256 | %description doc-html -l pl.UTF-8 |
257 | Dokumentacja do graphviza w formacie HTML. | |
258 | ||
72fb0113 ER |
259 | %package doc-pdf |
260 | Summary: PDF documentation for graphviz | |
95a5febc | 261 | Summary(pl.UTF-8): Dokumentacja do graphviza w formacie PDF |
72fb0113 ER |
262 | Group: Documentation |
263 | ||
264 | %description doc-pdf | |
265 | PDF documentation for graphviz. | |
266 | ||
95a5febc JB |
267 | %description doc-pdf -l pl.UTF-8 |
268 | Dokumentacja do graphviza w formacie PDF. | |
269 | ||
ddb1b260 JB |
270 | %package graphs |
271 | Summary: Demo graphs for graphviz | |
af41817c | 272 | Summary(pl.UTF-8): Przykładowe grafy dla graphviza |
ddb1b260 | 273 | Group: X11/Applications/Graphics |
b8ced4d6 | 274 | Requires: %{name} = %{version}-%{release} |
ddb1b260 JB |
275 | |
276 | %description graphs | |
277 | This package provides some example graphs. | |
278 | ||
e5b048d9 JR |
279 | %description graphs -l pl.UTF-8 |
280 | Ten pakiet zawiera trochę przykładowych grafów. | |
ddb1b260 | 281 | |
936f1e80 JB |
282 | %package -n golang-%{name} |
283 | Summary: Go binding for graphviz | |
284 | Summary(pl.UTF-8): Wiązania języka Go dla graphviza | |
285 | Group: Libraries | |
286 | Requires: %{name} = %{version}-%{release} | |
287 | Requires: golang | |
288 | ||
289 | %description -n golang-%{name} | |
290 | Go binding for graphviz. | |
291 | ||
292 | %description -n golang-%{name} -l pl.UTF-8 | |
293 | Wiązania języka Go dla graphviza. | |
294 | ||
c006c45c JB |
295 | %package -n io-%{name} |
296 | Summary: Io binding for graphviz | |
297 | Summary(pl.UTF-8): Wiązania języka Io dla graphviza | |
298 | Group: Libraries | |
299 | Requires: %{name} = %{version}-%{release} | |
300 | Requires: io | |
301 | ||
302 | %description -n io-%{name} | |
303 | Io binding for graphviz. | |
304 | ||
305 | %description -n io-%{name} -l pl.UTF-8 | |
306 | Wiązania języka Io dla graphviza. | |
307 | ||
410c2949 | 308 | %package -n guile-%{name} |
f2aec12b | 309 | Summary: Guile binding for graphviz |
af41817c | 310 | Summary(pl.UTF-8): Wiązania Guile dla graphviza |
f2aec12b JB |
311 | Group: Libraries |
312 | Requires: %{name} = %{version}-%{release} | |
770227b6 | 313 | Obsoletes: graphviz-guile |
f2aec12b | 314 | |
410c2949 | 315 | %description -n guile-%{name} |
f2aec12b JB |
316 | Guile binding for graphviz. |
317 | ||
410c2949 | 318 | %description -n guile-%{name} -l pl.UTF-8 |
e5b048d9 | 319 | Wiązania Guile dla graphviza. |
f2aec12b | 320 | |
410c2949 | 321 | %package -n java-%{name} |
a2acb194 | 322 | Summary: Java binding for graphviz |
af41817c | 323 | Summary(pl.UTF-8): Wiązania Javy dla graphviza |
a2acb194 JB |
324 | Group: Libraries |
325 | Requires: %{name} = %{version}-%{release} | |
770227b6 | 326 | Obsoletes: graphviz-java |
a2acb194 | 327 | |
410c2949 | 328 | %description -n java-%{name} |
a2acb194 JB |
329 | Java binding for graphviz. |
330 | ||
410c2949 | 331 | %description -n java-%{name} -l pl.UTF-8 |
e5b048d9 | 332 | Wiązania Javy dla graphviza. |
a2acb194 | 333 | |
410c2949 | 334 | %package -n lua-%{name} |
f2aec12b | 335 | Summary: LUA binding for graphviz |
af41817c | 336 | Summary(pl.UTF-8): Wiązania LUA dla graphviza |
f2aec12b JB |
337 | Group: Libraries |
338 | Requires: %{name} = %{version}-%{release} | |
770227b6 | 339 | Obsoletes: graphviz-lua |
f2aec12b | 340 | |
410c2949 | 341 | %description -n lua-%{name} |
f2aec12b JB |
342 | LUA binding for graphviz. |
343 | ||
410c2949 | 344 | %description -n lua-%{name} -l pl.UTF-8 |
e5b048d9 | 345 | Wiązania LUA dla graphviza. |
f2aec12b | 346 | |
410c2949 | 347 | %package -n ocaml-%{name} |
f2aec12b | 348 | Summary: OCaml binding for graphviz |
af41817c | 349 | Summary(pl.UTF-8): Wiązania OCamla dla graphviza |
f2aec12b JB |
350 | Group: Libraries |
351 | Requires: %{name} = %{version}-%{release} | |
770227b6 | 352 | Obsoletes: graphviz-ocaml |
f2aec12b | 353 | |
410c2949 | 354 | %description -n ocaml-%{name} |
f2aec12b JB |
355 | OCaml binding for graphviz. |
356 | ||
410c2949 | 357 | %description -n ocaml-%{name} -l pl.UTF-8 |
e5b048d9 | 358 | Wiązania OCamla dla graphviza. |
f2aec12b | 359 | |
410c2949 | 360 | %package -n perl-%{name} |
a2acb194 | 361 | Summary: Perl binding for graphviz |
af41817c | 362 | Summary(pl.UTF-8): Wiązania Perla dla graphviza |
a2acb194 JB |
363 | Group: Libraries |
364 | Requires: %{name} = %{version}-%{release} | |
365 | ||
410c2949 | 366 | %description -n perl-%{name} |
a2acb194 JB |
367 | Perl binding for graphviz. |
368 | ||
410c2949 | 369 | %description -n perl-%{name} -l pl.UTF-8 |
e5b048d9 | 370 | Wiązania Perla dla graphviza. |
a2acb194 | 371 | |
c93f68cd | 372 | %package -n %{php_name}-%{name} |
a2acb194 | 373 | Summary: PHP binding for graphviz |
af41817c | 374 | Summary(pl.UTF-8): Wiązania PHP dla graphviza |
a2acb194 JB |
375 | Group: Libraries |
376 | Requires: %{name} = %{version}-%{release} | |
03485284 | 377 | Obsoletes: graphviz-php |
e062f6b1 | 378 | %{?requires_php_extension} |
a2acb194 | 379 | |
c93f68cd | 380 | %description -n %{php_name}-%{name} |
a2acb194 JB |
381 | PHP binding for graphviz. |
382 | ||
c93f68cd | 383 | %description -n %{php_name}-%{name} -l pl.UTF-8 |
e5b048d9 | 384 | Wiązania PHP dla graphviza. |
a2acb194 | 385 | |
410c2949 | 386 | %package -n python-%{name} |
a2acb194 | 387 | Summary: Python binding for graphviz |
af41817c | 388 | Summary(pl.UTF-8): Wiązania Pythona dla graphviza |
a2acb194 JB |
389 | Group: Libraries |
390 | Requires: %{name} = %{version}-%{release} | |
770227b6 | 391 | Obsoletes: graphviz-python |
a2acb194 | 392 | |
410c2949 | 393 | %description -n python-%{name} |
a2acb194 JB |
394 | Python binding for graphviz. |
395 | ||
410c2949 | 396 | %description -n python-%{name} -l pl.UTF-8 |
e5b048d9 | 397 | Wiązania Pythona dla graphviza. |
a2acb194 | 398 | |
410c2949 | 399 | %package -n ruby-%{name} |
a2acb194 | 400 | Summary: Ruby binding for graphviz |
af41817c | 401 | Summary(pl.UTF-8): Wiązania Ruby'ego dla graphviza |
a2acb194 JB |
402 | Group: Libraries |
403 | Requires: %{name} = %{version}-%{release} | |
770227b6 | 404 | Obsoletes: graphviz-ruby |
a2acb194 | 405 | |
410c2949 | 406 | %description -n ruby-%{name} |
a2acb194 JB |
407 | Ruby binding for graphviz. |
408 | ||
410c2949 | 409 | %description -n ruby-%{name} -l pl.UTF-8 |
e5b048d9 | 410 | Wiązania Ruby'ego dla graphviza. |
a2acb194 | 411 | |
95a5febc | 412 | %package -n dotnet-%{name}-sharp |
f2aec12b | 413 | Summary: C# binding for graphviz |
af41817c | 414 | Summary(pl.UTF-8): Wiązania C# dla graphviza |
f2aec12b JB |
415 | Group: Libraries |
416 | Requires: %{name} = %{version}-%{release} | |
770227b6 | 417 | Obsoletes: graphviz-sharp |
95a5febc | 418 | Obsoletes: sharp-graphviz |
f2aec12b | 419 | |
95a5febc | 420 | %description -n dotnet-%{name}-sharp |
f2aec12b JB |
421 | C# binding for graphviz. |
422 | ||
95a5febc | 423 | %description -n dotnet-%{name}-sharp -l pl.UTF-8 |
e5b048d9 | 424 | Wiązania C# dla graphviza. |
f2aec12b | 425 | |
410c2949 | 426 | %package -n tcl-%{name} |
ddb1b260 | 427 | Summary: Tcl extension tools for graphviz |
af41817c | 428 | Summary(pl.UTF-8): Rozszerzenia Tcl dla graphviza |
ddb1b260 | 429 | Group: X11/Applications/Graphics |
b8ced4d6 | 430 | Requires: %{name} = %{version}-%{release} |
770227b6 | 431 | Obsoletes: graphviz-tcl |
ddb1b260 | 432 | |
410c2949 | 433 | %description -n tcl-%{name} |
a2acb194 | 434 | This package contains the various Tcl packages (extensions) using |
ddb1b260 JB |
435 | graphviz. |
436 | ||
410c2949 | 437 | %description -n tcl-%{name} -l pl.UTF-8 |
e5b048d9 | 438 | Ten pakiet zawiera różne pakiety (rozszerzenia) Tcl używające |
ddb1b260 JB |
439 | graphviza. |
440 | ||
866222d3 ER |
441 | %package -n R-%{name} |
442 | Summary: graphviz bindings for R language | |
b9fddc2f | 443 | Summary(pl.UTF-8): Wiązania graphviza dla języka R |
866222d3 ER |
444 | Group: X11/Applications/Graphics |
445 | Requires: %{name} = %{version}-%{release} | |
446 | ||
447 | %description -n R-%{name} | |
448 | graphviz bindings for R language. | |
449 | ||
b9fddc2f JB |
450 | %description -n R-%{name} -l pl.UTF-8 |
451 | Wiązania graphviza dla języka R. | |
452 | ||
b805f849 AM |
453 | %prep |
454 | %setup -q | |
ddb1b260 | 455 | %patch0 -p1 |
d9d5610d | 456 | %patch1 -p1 |
b8a8a38c | 457 | %patch3 -p1 |
cada671f | 458 | %patch4 -p1 |
c599137b | 459 | %patch6 -p1 |
d13e88b1 | 460 | %patch7 -p1 |
aced2bd1 | 461 | %patch10 -p1 |
9a694ad1 JB |
462 | %patch11 -p1 |
463 | %patch12 -p1 | |
3244e00d | 464 | %patch13 -p1 |
39c811b7 | 465 | %patch14 -p1 |
db534832 | 466 | %patch15 -p1 |
a47c3e85 | 467 | %patch16 -p1 |
b805f849 | 468 | |
3b68ade2 | 469 | %{__sed} '1s@/usr/bin/lua$@/usr/bin/lua5.1@' -i tclpkg/gv/demo/modgraph.lua |
88c0ea21 | 470 | |
80f376ac JB |
471 | %{__rm} m4/*.m4 |
472 | ||
b805f849 | 473 | %build |
a79fb9be AM |
474 | touch config/config.rpath |
475 | %{__libtoolize} --ltdl | |
185131e0 | 476 | %{__aclocal} -I m4 |
f1da6fb9 | 477 | %{__autoconf} |
404ccc68 | 478 | %{__autoheader} |
f1da6fb9 | 479 | %{__automake} |
a8c57886 | 480 | |
c4b373de | 481 | CPPFLAGS="%{rpmcppflags}" |
a8c57886 AM |
482 | %if %{with java} |
483 | JAVA_HOME=%{java_home} | |
484 | export JAVA_HOME | |
c4b373de | 485 | CPPFLAGS="$CPPFLAGS -I$JAVA_HOME/include -I$JAVA_HOME/include/linux" |
a8c57886 AM |
486 | %endif |
487 | ||
19de6b8f | 488 | %if %{with ruby} |
9c7978b6 | 489 | CPPFLAGS="$CPPFLAGS $(pkg-config ruby-%{ruby_abi} --cflags)" |
19de6b8f ER |
490 | %endif |
491 | ||
c4b373de | 492 | export CPPFLAGS |
493 | ||
753cb1b6 | 494 | %configure \ |
bdcec6f2 JR |
495 | %ifarch %{x8664} |
496 | LIBPOSTFIX="64" \ | |
497 | %endif | |
498 | %ifarch x32 | |
499 | LIBPOSTFIX="x32" \ | |
500 | %endif | |
a47c3e85 | 501 | PHP=%{__php} \ |
3b68ade2 | 502 | LUA=/usr/bin/lua5.1 \ |
185131e0 | 503 | lua_suffix=51 \ |
9a694ad1 | 504 | %{!?with_devil:--disable-devil} \ |
936f1e80 | 505 | %{?with_golang:--enable-go} \ |
c006c45c | 506 | %{?with_io:--enable-io} \ |
f2aec12b | 507 | %{!?with_java:--disable-java} \ |
9a694ad1 JB |
508 | --disable-ltdl-install \ |
509 | %{!?with_lua:--disable-lua} \ | |
aafdcba2 | 510 | %{!?with_ocaml:--disable-ocaml} \ |
c6d42285 | 511 | %{!?with_perl:--disable-perl} \ |
512 | %{!?with_php:--disable-php} \ | |
9a694ad1 | 513 | %{!?with_r:--disable-r} \ |
c6d42285 | 514 | %{!?with_ruby:--disable-ruby} \ |
9a694ad1 | 515 | %{!?with_dotnet:--disable-sharp} \ |
c6d42285 | 516 | %{!?with_tcl:--disable-tcl} \ |
9a694ad1 JB |
517 | --disable-silent-rules \ |
518 | --disable-static \ | |
519 | %{?with_ipsepcola:--with-ipsepcola} \ | |
520 | %{?with_ming:--with-ming} \ | |
031977aa | 521 | %{!?with_qt:--without-qt} \ |
9a694ad1 | 522 | %{?with_smyrna:--with-smyrna} \ |
705dcd18 | 523 | %{!?with_gd:--without-libgd} \ |
9a694ad1 JB |
524 | --with-visio \ |
525 | --with-webp | |
ddb1b260 | 526 | |
5116ffbb | 527 | %{__make} |
b805f849 AM |
528 | |
529 | %install | |
530 | rm -rf $RPM_BUILD_ROOT | |
b805f849 AM |
531 | %{__make} install \ |
532 | DESTDIR=$RPM_BUILD_ROOT | |
533 | ||
03485284 ER |
534 | %if %{with php} |
535 | install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d | |
536 | cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{name}.ini | |
537 | ; Enable gv.so extension module | |
538 | extension=gv.so | |
539 | EOF | |
540 | ||
541 | # drop the symlinks and install to php dirs directly | |
a47c3e85 | 542 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{php_name}-%{name}-%{version} |
c93f68cd | 543 | mv $RPM_BUILD_ROOT{%{_libdir}/%{name}/php,%{php_data_dir}}/gv.php |
a47c3e85 | 544 | rm $RPM_BUILD_ROOT%{_libdir}/%{name}/php/libgv_php.so |
c93f68cd ER |
545 | rm $RPM_BUILD_ROOT%{_libdir}/%{name}/php/gv.so |
546 | mv $RPM_BUILD_ROOT{%{_datadir}/%{name}/demo,%{_examplesdir}/%{php_name}-%{name}-%{version}}/modgraph.php | |
03485284 ER |
547 | %endif |
548 | ||
ffc497de ER |
549 | # "man3/gv.3r.gz" and "man3/gv.3ruby.gz" are both manual for "gv" in "section 3" of man pages |
550 | # make manual pages unique. | |
551 | for a in $RPM_BUILD_ROOT%{_mandir}/man3/gv.*; do | |
552 | m=${a##*/} | |
553 | l=${m#gv.3} | |
554 | mv $a ${a%/*}/gv_$l.3 | |
555 | done | |
556 | ||
7c737c2a KK |
557 | # created by %{_bindir}/dot -c |
558 | touch $RPM_BUILD_ROOT%{_libdir}/graphviz/config | |
559 | ||
d13e88b1 | 560 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/graphviz/libgvplugin_*.la |
616e8216 JB |
561 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/graphviz/*/lib*.la |
562 | %if %{with java} | |
563 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/graphviz/java/org/graphviz/lib*.la | |
564 | %endif | |
da038acf | 565 | |
1cf9b16b ER |
566 | rm -rf doc-html doc-pdf |
567 | mv $RPM_BUILD_ROOT%{_datadir}/%{name}/doc/html doc-html | |
568 | mv $RPM_BUILD_ROOT%{_datadir}/%{name}/doc/pdf doc-pdf | |
69166142 ER |
569 | rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/doc |
570 | rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/examples | |
1cf9b16b | 571 | |
d13e88b1 | 572 | cd $RPM_BUILD_ROOT |
e6ddb759 | 573 | patch -p1 --no-backup-if-mismatch < %{PATCH2} || exit 1 |
d13e88b1 | 574 | |
b805f849 AM |
575 | %clean |
576 | rm -rf $RPM_BUILD_ROOT | |
577 | ||
07b95f14 AM |
578 | %post |
579 | /sbin/ldconfig | |
07fea929 | 580 | umask 022 |
a2acb194 | 581 | [ ! -x %{_bindir}/dot ] || %{_bindir}/dot -c > /dev/null 2>&1 |
07b95f14 | 582 | |
7c737c2a | 583 | %postun -p /sbin/ldconfig |
b805f849 | 584 | |
c93f68cd | 585 | %post -n %{php_name}-%{name} |
03485284 ER |
586 | %php_webserver_restart |
587 | ||
c93f68cd | 588 | %postun -n %{php_name}-%{name} |
03485284 ER |
589 | if [ "$1" = 0 ]; then |
590 | %php_webserver_restart | |
591 | fi | |
592 | ||
b805f849 AM |
593 | %files |
594 | %defattr(644,root,root,755) | |
d13e88b1 JB |
595 | %doc AUTHORS COPYING ChangeLog NEWS README |
596 | %attr(755,root,root) %{_bindir}/acyclic | |
597 | %attr(755,root,root) %{_bindir}/bcomps | |
598 | %attr(755,root,root) %{_bindir}/ccomps | |
599 | %attr(755,root,root) %{_bindir}/circo | |
80f376ac | 600 | %attr(755,root,root) %{_bindir}/cluster |
d13e88b1 JB |
601 | %attr(755,root,root) %{_bindir}/dijkstra |
602 | %attr(755,root,root) %{_bindir}/dot | |
603 | %attr(755,root,root) %{_bindir}/dot2gxl | |
80f376ac | 604 | %attr(755,root,root) %{_bindir}/dot_builtins |
d13e88b1 | 605 | %attr(755,root,root) %{_bindir}/dotty |
616e8216 | 606 | %attr(755,root,root) %{_bindir}/edgepaint |
d13e88b1 JB |
607 | %attr(755,root,root) %{_bindir}/fdp |
608 | %attr(755,root,root) %{_bindir}/gc | |
609 | %attr(755,root,root) %{_bindir}/gml2gv | |
9a694ad1 JB |
610 | %attr(755,root,root) %{_bindir}/graphml2gv |
611 | %attr(755,root,root) %{_bindir}/gv2gml | |
d13e88b1 JB |
612 | %attr(755,root,root) %{_bindir}/gv2gxl |
613 | %attr(755,root,root) %{_bindir}/gvcolor | |
614 | %attr(755,root,root) %{_bindir}/gvgen | |
80f376ac JB |
615 | %attr(755,root,root) %{_bindir}/gvmap |
616 | %attr(755,root,root) %{_bindir}/gvmap.sh | |
d13e88b1 JB |
617 | %attr(755,root,root) %{_bindir}/gvpack |
618 | %attr(755,root,root) %{_bindir}/gvpr | |
619 | %attr(755,root,root) %{_bindir}/gxl2dot | |
620 | %attr(755,root,root) %{_bindir}/gxl2gv | |
621 | %attr(755,root,root) %{_bindir}/lefty | |
622 | %attr(755,root,root) %{_bindir}/lneato | |
c006c45c | 623 | %attr(755,root,root) %{_bindir}/mingle |
d13e88b1 JB |
624 | %attr(755,root,root) %{_bindir}/mm2gv |
625 | %attr(755,root,root) %{_bindir}/neato | |
626 | %attr(755,root,root) %{_bindir}/nop | |
627 | %attr(755,root,root) %{_bindir}/osage | |
80f376ac | 628 | %attr(755,root,root) %{_bindir}/patchwork |
d13e88b1 JB |
629 | %attr(755,root,root) %{_bindir}/prune |
630 | %attr(755,root,root) %{_bindir}/sccmap | |
631 | %attr(755,root,root) %{_bindir}/sfdp | |
632 | %attr(755,root,root) %{_bindir}/tred | |
633 | %attr(755,root,root) %{_bindir}/twopi | |
634 | %attr(755,root,root) %{_bindir}/unflatten | |
635 | %attr(755,root,root) %{_bindir}/vimdot | |
1268dfc4 | 636 | %attr(755,root,root) %{_libdir}/libcdt.so.*.*.* |
80f376ac | 637 | %attr(755,root,root) %ghost %{_libdir}/libcdt.so.5 |
f4007000 | 638 | %attr(755,root,root) %{_libdir}/libcgraph.so.*.*.* |
80f376ac | 639 | %attr(755,root,root) %ghost %{_libdir}/libcgraph.so.6 |
1268dfc4 | 640 | %attr(755,root,root) %{_libdir}/libgvc.so.*.*.* |
80f376ac | 641 | %attr(755,root,root) %ghost %{_libdir}/libgvc.so.6 |
237d1e48 | 642 | %attr(755,root,root) %{_libdir}/libgvpr.so.*.*.* |
80f376ac | 643 | %attr(755,root,root) %ghost %{_libdir}/libgvpr.so.2 |
1268dfc4 | 644 | %attr(755,root,root) %{_libdir}/libpathplan.so.*.*.* |
f4007000 | 645 | %attr(755,root,root) %ghost %{_libdir}/libpathplan.so.4 |
237d1e48 | 646 | %attr(755,root,root) %{_libdir}/libxdot.so.*.*.* |
647 | %attr(755,root,root) %ghost %{_libdir}/libxdot.so.4 | |
ddb1b260 | 648 | %dir %{_libdir}/graphviz |
f2aec12b | 649 | %ghost %{_libdir}/graphviz/config |
1268dfc4 | 650 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_core.so* |
a2acb194 | 651 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_dot_layout.so* |
5116ffbb | 652 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_gdk.so* |
d13e88b1 | 653 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_gs.so* |
1268dfc4 | 654 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_gtk.so* |
9a694ad1 | 655 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_lasi.so* |
a2acb194 | 656 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_neato_layout.so* |
1268dfc4 | 657 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_pango.so* |
c006c45c | 658 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_poppler.so* |
f4007000 | 659 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_rsvg.so* |
9a694ad1 JB |
660 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_visio.so* |
661 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_webp.so* | |
1268dfc4 | 662 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_xlib.so* |
ddb1b260 | 663 | %dir %{_datadir}/graphviz |
f4007000 | 664 | %dir %{_datadir}/graphviz/demo |
9a694ad1 | 665 | %{_datadir}/graphviz/gvpr |
ddb1b260 | 666 | %{_datadir}/graphviz/lefty |
d13e88b1 JB |
667 | %{_mandir}/man1/acyclic.1* |
668 | %{_mandir}/man1/bcomps.1* | |
669 | %{_mandir}/man1/ccomps.1* | |
670 | %{_mandir}/man1/circo.1* | |
80f376ac | 671 | %{_mandir}/man1/cluster.1* |
d13e88b1 JB |
672 | %{_mandir}/man1/dijkstra.1* |
673 | %{_mandir}/man1/dot.1* | |
674 | %{_mandir}/man1/dotty.1* | |
616e8216 | 675 | %{_mandir}/man1/edgepaint.1* |
d13e88b1 JB |
676 | %{_mandir}/man1/fdp.1* |
677 | %{_mandir}/man1/gc.1* | |
678 | %{_mandir}/man1/gml2gv.1* | |
9a694ad1 JB |
679 | %{_mandir}/man1/graphml2gv.1* |
680 | %{_mandir}/man1/gv2gml.1* | |
d13e88b1 JB |
681 | %{_mandir}/man1/gv2gxl.1* |
682 | %{_mandir}/man1/gvcolor.1* | |
683 | %{_mandir}/man1/gvgen.1* | |
80f376ac JB |
684 | %{_mandir}/man1/gvmap.1* |
685 | %{_mandir}/man1/gvmap.sh.1* | |
d13e88b1 JB |
686 | %{_mandir}/man1/gvpack.1* |
687 | %{_mandir}/man1/gvpr.1* | |
688 | %{_mandir}/man1/gxl2gv.1* | |
689 | %{_mandir}/man1/lefty.1* | |
690 | %{_mandir}/man1/lneato.1* | |
c006c45c | 691 | %{_mandir}/man1/mingle.1* |
d13e88b1 JB |
692 | %{_mandir}/man1/mm2gv.1* |
693 | %{_mandir}/man1/neato.1* | |
694 | %{_mandir}/man1/nop.1* | |
695 | %{_mandir}/man1/osage.1* | |
80f376ac | 696 | %{_mandir}/man1/patchwork.1* |
d13e88b1 JB |
697 | %{_mandir}/man1/prune.1* |
698 | %{_mandir}/man1/sccmap.1* | |
699 | %{_mandir}/man1/sfdp.1* | |
d13e88b1 JB |
700 | %{_mandir}/man1/tred.1* |
701 | %{_mandir}/man1/twopi.1* | |
702 | %{_mandir}/man1/unflatten.1* | |
80f376ac | 703 | %{_mandir}/man1/vimdot.1* |
185131e0 | 704 | %{_mandir}/man7/graphviz.7* |
ddb1b260 | 705 | |
eab557ec ER |
706 | %if %{with devil} |
707 | %files devil | |
705dcd18 | 708 | %defattr(644,root,root,755) |
eab557ec ER |
709 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_devil.so* |
710 | %endif | |
711 | ||
705dcd18 ER |
712 | %if %{with gd} |
713 | %files gd | |
714 | %defattr(644,root,root,755) | |
715 | %attr(755,root,root) %{_bindir}/diffimg | |
716 | %{_mandir}/man1/diffimg.1* | |
717 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_gd.so* | |
718 | %endif | |
719 | ||
eab557ec ER |
720 | %if %{with ming} |
721 | %files ming | |
705dcd18 | 722 | %defattr(644,root,root,755) |
eab557ec ER |
723 | %attr(755,root,root) %{_libdir}/graphviz/libgvplugin_ming.so* |
724 | %{_datadir}/graphviz/font | |
725 | %endif | |
726 | ||
a2acb194 JB |
727 | %files devel |
728 | %defattr(644,root,root,755) | |
1268dfc4 | 729 | %attr(755,root,root) %{_libdir}/libcdt.so |
f4007000 | 730 | %attr(755,root,root) %{_libdir}/libcgraph.so |
1268dfc4 | 731 | %attr(755,root,root) %{_libdir}/libgvc.so |
237d1e48 | 732 | %attr(755,root,root) %{_libdir}/libgvpr.so |
1268dfc4 | 733 | %attr(755,root,root) %{_libdir}/libpathplan.so |
237d1e48 | 734 | %attr(755,root,root) %{_libdir}/libxdot.so |
1268dfc4 | 735 | %{_libdir}/libcdt.la |
f4007000 | 736 | %{_libdir}/libcgraph.la |
1268dfc4 | 737 | %{_libdir}/libgvc.la |
237d1e48 | 738 | %{_libdir}/libgvpr.la |
1268dfc4 | 739 | %{_libdir}/libpathplan.la |
237d1e48 | 740 | %{_libdir}/libxdot.la |
1268dfc4 | 741 | %{_pkgconfigdir}/libcdt.pc |
f4007000 | 742 | %{_pkgconfigdir}/libcgraph.pc |
1268dfc4 | 743 | %{_pkgconfigdir}/libgvc.pc |
237d1e48 | 744 | %{_pkgconfigdir}/libgvpr.pc |
1268dfc4 | 745 | %{_pkgconfigdir}/libpathplan.pc |
237d1e48 | 746 | %{_pkgconfigdir}/libxdot.pc |
a2acb194 | 747 | %{_includedir}/graphviz |
03485284 ER |
748 | %{_mandir}/man3/cdt.3* |
749 | %{_mandir}/man3/cgraph.3* | |
80f376ac | 750 | %{_mandir}/man3/expr.3* |
03485284 | 751 | %{_mandir}/man3/gvc.3* |
5116ffbb | 752 | %{_mandir}/man3/gvpr.3* |
80f376ac | 753 | %{_mandir}/man3/pack.3* |
03485284 | 754 | %{_mandir}/man3/xdot.3* |
a2acb194 | 755 | |
031977aa JB |
756 | %if %{with qt} |
757 | %files gvedit | |
758 | %defattr(644,root,root,755) | |
759 | %attr(755,root,root) %{_bindir}/gvedit | |
760 | %{_datadir}/graphviz/gvedit | |
761 | %{_mandir}/man1/gvedit.1* | |
762 | %endif | |
763 | ||
764 | %if %{with smyrna} | |
765 | %files smyrna | |
766 | %defattr(644,root,root,755) | |
767 | %attr(755,root,root) %{_bindir}/smyrna | |
768 | %{_datadir}/graphviz/smyrna | |
769 | %{_mandir}/man1/smyrna.1* | |
770 | %endif | |
771 | ||
72fb0113 ER |
772 | %files doc-html |
773 | %defattr(644,root,root,755) | |
1cf9b16b | 774 | %doc doc-html/* |
72fb0113 ER |
775 | |
776 | %files doc-pdf | |
777 | %defattr(644,root,root,755) | |
1cf9b16b | 778 | %doc doc-pdf/* |
72fb0113 | 779 | |
ddb1b260 JB |
780 | %files graphs |
781 | %defattr(644,root,root,755) | |
782 | %{_datadir}/graphviz/graphs | |
783 | ||
936f1e80 JB |
784 | %if %{with golang} |
785 | %files -n golang-%{name} | |
786 | %defattr(644,root,root,755) | |
787 | %dir %{_libdir}/graphviz/go | |
788 | %attr(755,root,root) %{_libdir}/graphviz/go/libgv_go.so | |
789 | %{_mandir}/man3/gv_go.3* | |
790 | %endif | |
791 | ||
c6d42285 | 792 | %if %{with guile} |
410c2949 | 793 | %files -n guile-%{name} |
f2aec12b JB |
794 | %defattr(644,root,root,755) |
795 | %dir %{_libdir}/graphviz/guile | |
f4007000 | 796 | %attr(755,root,root) %{_libdir}/graphviz/guile/libgv_guile.so |
d13e88b1 | 797 | %{_mandir}/man3/gv_guile.3* |
c6d42285 | 798 | %endif |
f2aec12b | 799 | |
c006c45c JB |
800 | %if %{with io} |
801 | %files -n io-%{name} | |
802 | %defattr(644,root,root,755) | |
803 | %dir %{_libdir}/graphviz/io | |
804 | %attr(755,root,root) %{_libdir}/graphviz/io/libgv_io.so* | |
805 | %{_mandir}/mann/gv_io.n* | |
806 | %endif | |
807 | ||
a2acb194 | 808 | %if %{with java} |
410c2949 | 809 | %files -n java-%{name} |
a2acb194 | 810 | %defattr(644,root,root,755) |
f2aec12b | 811 | %dir %{_libdir}/graphviz/java |
616e8216 JB |
812 | %attr(755,root,root) %{_libdir}/graphviz/java/libgv.jnilib |
813 | %dir %{_libdir}/graphviz/java/org | |
814 | %dir %{_libdir}/graphviz/java/org/graphviz | |
815 | %attr(755,root,root) %{_libdir}/graphviz/java/org/graphviz/libgv_java.so | |
816 | %{_libdir}/graphviz/java/org/graphviz/*.class | |
817 | %{_libdir}/graphviz/java/org/graphviz/*.java | |
d13e88b1 | 818 | %{_mandir}/man3/gv_java.3* |
a2acb194 JB |
819 | %endif |
820 | ||
c6d42285 | 821 | %if %{with lua} |
410c2949 | 822 | %files -n lua-%{name} |
f2aec12b JB |
823 | %defattr(644,root,root,755) |
824 | %dir %{_libdir}/graphviz/lua | |
f4007000 | 825 | %attr(755,root,root) %{_libdir}/graphviz/lua/libgv_lua.so |
f2aec12b | 826 | %attr(755,root,root) %{_libdir}/graphviz/lua/gv.so |
f4007000 | 827 | %attr(755,root,root) %{_datadir}/graphviz/demo/modgraph.lua |
8e754c12 | 828 | %attr(755,root,root) %{_libdir}/lua/gv.so |
d13e88b1 | 829 | %{_mandir}/man3/gv_lua.3* |
c6d42285 | 830 | %endif |
f2aec12b | 831 | |
aafdcba2 | 832 | %if %{with ocaml} |
410c2949 | 833 | %files -n ocaml-%{name} |
f2aec12b | 834 | %defattr(644,root,root,755) |
29487644 | 835 | %dir %{_libdir}/graphviz/ocaml |
f4007000 JB |
836 | %attr(755,root,root) %{_libdir}/graphviz/ocaml/libgv_ocaml.so |
837 | %{_libdir}/graphviz/ocaml/META.gv | |
9a694ad1 JB |
838 | # ocamlopt temporarily disabled |
839 | #%{_libdir}/graphviz/ocaml/gv.a | |
f4007000 | 840 | %{_libdir}/graphviz/ocaml/gv.cm* |
9a694ad1 | 841 | #%{_libdir}/graphviz/ocaml/gv.ml* |
d13e88b1 | 842 | %{_mandir}/man3/gv_ocaml.3* |
aafdcba2 | 843 | %endif |
f2aec12b | 844 | |
c6d42285 | 845 | %if %{with perl} |
410c2949 | 846 | %files -n perl-%{name} |
a2acb194 | 847 | %defattr(644,root,root,755) |
f2aec12b | 848 | %dir %{_libdir}/graphviz/perl |
f4007000 | 849 | %attr(755,root,root) %{_libdir}/graphviz/perl/libgv_perl.so |
f2aec12b JB |
850 | %attr(755,root,root) %{_libdir}/graphviz/perl/gv.so |
851 | %{_libdir}/graphviz/perl/gv.pm | |
f4007000 JB |
852 | %attr(755,root,root) %{_datadir}/graphviz/demo/modgraph.pl |
853 | %attr(755,root,root) %{perl_vendorarch}/gv.so | |
854 | %{perl_vendorarch}/gv.pm | |
d13e88b1 | 855 | %{_mandir}/man3/gv_perl.3* |
c6d42285 | 856 | %endif |
a2acb194 | 857 | |
c6d42285 | 858 | %if %{with php} |
c93f68cd | 859 | %files -n %{php_name}-%{name} |
a2acb194 | 860 | %defattr(644,root,root,755) |
03485284 ER |
861 | %attr(755,root,root) %{php_extensiondir}/gv.so |
862 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{name}.ini | |
863 | %{php_data_dir}/gv.php | |
d13e88b1 | 864 | %{_mandir}/man3/gv_php.3* |
c93f68cd | 865 | %{_examplesdir}/%{php_name}-%{name}-%{version} |
c6d42285 | 866 | %endif |
a2acb194 | 867 | |
410c2949 ER |
868 | %if %{with python} |
869 | %files -n python-%{name} | |
a2acb194 | 870 | %defattr(644,root,root,755) |
f2aec12b | 871 | %dir %{_libdir}/graphviz/python |
f4007000 | 872 | %attr(755,root,root) %{_libdir}/graphviz/python/libgv_python.so |
f2aec12b JB |
873 | %attr(755,root,root) %{_libdir}/graphviz/python/_gv.so |
874 | %{_libdir}/graphviz/python/gv.py | |
f4007000 JB |
875 | %attr(755,root,root) %{_datadir}/graphviz/demo/modgraph.py |
876 | %attr(755,root,root) %{py_sitedir}/_gv.so | |
877 | %{py_sitedir}/gv.py | |
d13e88b1 | 878 | %{_mandir}/man3/gv_python.3* |
410c2949 | 879 | %endif |
a2acb194 | 880 | |
c6d42285 | 881 | %if %{with ruby} |
410c2949 | 882 | %files -n ruby-%{name} |
a2acb194 | 883 | %defattr(644,root,root,755) |
f2aec12b | 884 | %dir %{_libdir}/graphviz/ruby |
f4007000 | 885 | %attr(755,root,root) %{_libdir}/graphviz/ruby/libgv_ruby.so |
f2aec12b | 886 | %attr(755,root,root) %{_libdir}/graphviz/ruby/gv.so |
f4007000 | 887 | %attr(755,root,root) %{_datadir}/graphviz/demo/modgraph.rb |
9a694ad1 | 888 | %{ruby_vendorarchdir}/gv.so |
d13e88b1 | 889 | %{_mandir}/man3/gv_ruby.3* |
c6d42285 | 890 | %endif |
f2aec12b JB |
891 | |
892 | %if %{with dotnet} | |
95a5febc | 893 | %files -n dotnet-%{name}-sharp |
f2aec12b JB |
894 | %defattr(644,root,root,755) |
895 | %dir %{_libdir}/graphviz/sharp | |
f4007000 | 896 | %attr(755,root,root) %{_libdir}/graphviz/sharp/libgv_sharp.so |
f2aec12b | 897 | %{_libdir}/graphviz/sharp/*.cs |
d13e88b1 | 898 | %{_mandir}/man3/gv_sharp.3* |
410c2949 | 899 | %endif |
a2acb194 | 900 | |
c6d42285 | 901 | %if %{with tcl} |
410c2949 | 902 | %files -n tcl-%{name} |
ddb1b260 | 903 | %defattr(644,root,root,755) |
f2aec12b | 904 | %dir %{_libdir}/graphviz/tcl |
f4007000 | 905 | %attr(755,root,root) %{_libdir}/graphviz/tcl/libgv_tcl.so |
f2aec12b | 906 | %attr(755,root,root) %{_libdir}/graphviz/tcl/libtcldot.so* |
1268dfc4 | 907 | %attr(755,root,root) %{_libdir}/graphviz/tcl/libtcldot_builtin.so* |
f2aec12b JB |
908 | %attr(755,root,root) %{_libdir}/graphviz/tcl/libtclplan.so* |
909 | %attr(755,root,root) %{_libdir}/graphviz/tcl/libtkspline.so* | |
f4007000 | 910 | %{_libdir}/graphviz/tcl/pkgIndex.tcl |
00ff7557 | 911 | %{_libdir}/tcl%{tclver}/graphviz |
d13e88b1 | 912 | %{_mandir}/man3/gv_tcl.3* |
ffc497de | 913 | %{_mandir}/man3/pathplan.3* |
03485284 ER |
914 | %{_mandir}/man3/tcldot.3tcl* |
915 | %{_mandir}/man3/tkspline.3tk* | |
ddb1b260 | 916 | %{_datadir}/graphviz/demo/pathplan_data |
f4007000 JB |
917 | %{_datadir}/graphviz/demo/*.README |
918 | %{_datadir}/graphviz/demo/*.html | |
919 | %attr(755,root,root) %{_datadir}/graphviz/demo/doted.tcl | |
920 | %attr(755,root,root) %{_datadir}/graphviz/demo/entities.tcl | |
921 | %attr(755,root,root) %{_datadir}/graphviz/demo/gcat.tcl | |
922 | %attr(755,root,root) %{_datadir}/graphviz/demo/modgraph.tcl | |
923 | %attr(755,root,root) %{_datadir}/graphviz/demo/pathplan.tcl | |
924 | %attr(755,root,root) %{_datadir}/graphviz/demo/spline.tcl | |
705dcd18 ER |
925 | %if %{with gd} |
926 | %attr(755,root,root) %{_libdir}/graphviz/tcl/libgdtclft.so* | |
927 | %{_mandir}/man3/gdtclft.3tcl* | |
928 | %endif | |
c6d42285 | 929 | %endif |
866222d3 ER |
930 | |
931 | %if %{with r} | |
932 | %files -n R-%{name} | |
933 | %defattr(644,root,root,755) | |
770227b6 | 934 | %dir %{_libdir}/%{name}/R |
866222d3 ER |
935 | %attr(755,root,root) %{_libdir}/%{name}/R/gv.so |
936 | %attr(755,root,root) %{_libdir}/%{name}/R/libgv_R.so | |
d13e88b1 | 937 | %{_mandir}/man3/gv_r.3* |
866222d3 | 938 | %endif |