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