Name: graphviz Version: 2.0 Release: 1.n0i.2 Epoch: 0 Group: Applications/Multimedia License: AT&T open source (see COPYING) URL: http://www.graphviz.org/ Summary: Graph Visualization Tools Source: http://www.graphviz.org/pub/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: zlib-devel libpng-devel libjpeg-devel XFree86-devel expat-devel BuildRequires: bison flex %{!?_without_tcl:BuildRequires: tcl-devel, tk-devel} %description A collection of tools and tcl packages for the manipulation and layout of graphs (as in nodes and edges, not as in barcharts). Rebuilding options: --without tcl = don't build Tcl support %package graphs Group: Applications/Multimedia Summary: Demo graphs for %{name} Requires: %{name} = %{epoch}:%{version} %description graphs This package provides some example graphs for %{name}. %if %{!?_without_tcl:1}%{?_without_tcl:0} %package tcl Group: Development/Libraries Summary: Tcl extension tools for version %{version} of %{name} Requires: %{name} = %{epoch}:%{version} Requires: tcl, tk %description tcl The %{name}-tcl package contains the various tcl packages (extensions) for version %{version} of the %{name} tools. %endif %package devel Group: Development/Libraries Summary: Development tools for version %{version} of %{name} Requires: %{name} = %{epoch}:%{version} %description devel The %{name}-devel package contains the header files and man3 pages necessary for developing programs using version %{version} of the %{name} libraries. %prep %setup -n %{name}-%{version} %build export CFLAGS=${CFLAGS-"$RPM_OPT_FLAGS -ffast-math"} export CXXFLAGS=${CXXFLAGS-"$CFLAGS"} %configure --with-x make docdir=%{_docdir}/%{name} %{?_smp_mflags} %install rm -rf "$RPM_BUILD_ROOT" make \ DESTDIR=$RPM_BUILD_ROOT \ docdir=$RPM_BUILD_ROOT%{_docdir}/%{name} \ transform='s,x,x,' \ install %{?_without_tcl:rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/pkgIndex.tcl} %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS FAQ.txt %{_bindir}/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/lefty %{_mandir}/man1/*.1* %dir %{_libdir}/%{name} %{_libdir}/%{name}/libagraph.so.* %{_libdir}/%{name}/libcdt.so.* %{_libdir}/%{name}/libcircogen.so.* %{_libdir}/%{name}/libcommon.so.* %{_libdir}/%{name}/libdotgen.so.* %{_libdir}/%{name}/libdotneato.so.* %{_libdir}/%{name}/libexpr.so.* %{_libdir}/%{name}/libfdpgen.so.* %{_libdir}/%{name}/libgraph.so.* %{_libdir}/%{name}/libgvgd.so.* %{_libdir}/%{name}/libgvrender.so.* %{_libdir}/%{name}/libneatogen.so.* %{_libdir}/%{name}/libpack.so.* %{_libdir}/%{name}/libpathplan.so.* %{_libdir}/%{name}/libtwopigen.so.* %files graphs %defattr(-,root,root) %{_datadir}/%{name}/graphs %if %{!?_without_tcl:1}%{?_without_tcl:0} %files tcl %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog FAQ.txt MINTERMS.txt %doc doc/tcldot.html %{_libdir}/%{name}/libgdtclft.so* %{_libdir}/%{name}/libtcldot.so* %{_libdir}/%{name}/libtclplan.so* %{_libdir}/%{name}/libtkspline.so* %{_libdir}/%{name}/pkgIndex.tcl %{_datadir}/%{name}/demo %{_mandir}/mann/*.n* %endif %files devel %defattr(-,root,root) %doc %{_datadir}/%{name}/doc %{_includedir}/%{name} %{_libdir}/%{name}/pkgconfig %{_libdir}/%{name}/libagraph.so %{_libdir}/%{name}/libcdt.so %{_libdir}/%{name}/libexpr.so %{_libdir}/%{name}/libgraph.so %{_libdir}/%{name}/libpack.so %{_libdir}/%{name}/libpathplan.so %{_libdir}/%{name}/libdotneato.so %exclude %{_libdir}/%{name}/*.la %{_mandir}/man3/*.3* %changelog * Thu Jan 13 2005 Marius FERARU 0:2.0-1.n0i.2 - version 2.0 * Thu Nov 25 2004 Marius FERARU 0:1.16-1.n0i.1 - version 1.16 - added "without tcl" option * Tue May 04 2004 Marius FERARU 0:1.13-0.n0i.20040504.0415 - version 1.13.20040504.0415 - merged vendor spec with fedora.us' into this hacked up one =]