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