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