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