Репозиторий Sisyphus
Последнее обновление: 14 апреля 2021 | Пакетов: 17839 | Посещений: 20713959
en ru br
Репозитории ALT
S:2.41.2-alt4
D:2.16.1-alt1
5.1: 2.22.2-alt2.2
4.1: 2.20.3-alt0.M41.1
4.0: 2.2.1-alt2
3.0: 2.2.1-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:2.18

Группа :: Издательство
Пакет: graphviz

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# -*- mode: rpm-spec; mode: folding  -*-
# $Id: graphviz,v 1.42 2005/06/13 17:14:08 me Exp $

Name: graphviz
Version: 2.2.1
Release: alt1

Summary: Graphs visualization tools
License: AT&T open source (see COPYING)
Group: Publishing
Url: http://www.graphviz.org/

Source0: %name-%version.tar.bz2
Patch0: %name-2.2-alt-libpath.patch.gz

Provides: libdotneato = %version-%release
Obsoletes: libdotneato

BuildRequires: flex fontconfig-devel freetype2-devel gcc-c++ gd2-utils libexpat-devel libgd2-devel libjpeg-devel libpng-devel libstdc++-devel tcl-devel tk-devel xorg-x11-devel zlib-devel

# {{{ subpackages

%package devel
Summary: Header files and C programming manual for %name
Group: Development/C
Requires: %name = %version-%release

%package doc
Summary: Documentation for %name
Group: Publishing
Requires: %name = %version-%release

%package demos
Summary: A collection of programs to demonstrate the features of %name
Group: Publishing
Requires: %name-tcl = %version-%release tk-demos >= 8.4.0-alt1 tcl-gd tcl-tkspline

%package tcl
Summary: Tcl bindings to %name
Group: Development/Tcl
Requires: tcl >= 8.4.0-alt1

%package -n tcl-gd
Summary: A Tcl bindings for Gd library
Group: Development/Tcl
Requires: tcl >= 8.4.0-alt1

%package -n tcl-tkspline
Summary: Additional smoothing method for Tk canvas items
Group: Development/Tcl
Requires: tk >= 8.4.0-alt1

# }}}


# {{{ descriptions

%description
%name is a set of graph drawing tools for Un*x or MS-Wind*ws (win32).
Source code and binary executables for common platforms are available.
Graph drawing addresses the problem of visualizing structural information by
constructing geometric representations of abstract graphs and networks.
Automatic generation of graph drawings has important applications in key
technologies such as database design, software engineering, VLSI and network
design and visual interfaces in other domains.

%description devel
%name is a set of graph drawing tools for Un*x or MS-Wind*ws (win32).
Source code and binary executables for common platforms are available.
Graph drawing addresses the problem of visualizing structural information by
constructing geometric representations of abstract graphs and networks.
Automatic generation of graph drawings has important applications in key
technologies such as database design, software engineering, VLSI and network
design and visual interfaces in other domains.

This package includes header files and C programming manual for %name.


%description doc
%name is a set of graph drawing tools for Un*x or MS-Wind*ws (win32).
Source code and binary executables for common platforms are available.
Graph drawing addresses the problem of visualizing structural information by
constructing geometric representations of abstract graphs and networks.
Automatic generation of graph drawings has important applications in key
technologies such as database design, software engineering, VLSI and network
design and visual interfaces in other domains.

This package contains modt of documentation for %name

%description demos
%name is a set of graph drawing tools for Un*x or MS-Wind*ws (win32).
Source code and binary executables for common platforms are available.
Graph drawing addresses the problem of visualizing structural information by
constructing geometric representations of abstract graphs and networks.
Automatic generation of graph drawings has important applications in key
technologies such as database design, software engineering, VLSI and network
design and visual interfaces in other domains.

This package contains a collection of programs to demonstrate the features
of %name.

%description tcl
%name is a set of graph drawing tools for Un*x or MS-Wind*ws (win32).
Source code and binary executables for common platforms are available.
Graph drawing addresses the problem of visualizing structural information by
constructing geometric representations of abstract graphs and networks.
Automatic generation of graph drawings has important applications in key
technologies such as database design, software engineering, VLSI and network
design and visual interfaces in other domains.

This package makes %name functionality accessible from Tcl.

%description -n tcl-gd
Gd is a graphics library for drawing image files in various formats. Gd
allows your code to quickly draw images (lines, arcs, text, multiple colors,
cutting and pasting from other images, flood fills) and write out the result
as a jpeg, png or wbmp file. Gd is particularly useful in web applications,
where jpeg, png or wbmp files are commonly used as inline images.  Note,
however, that gd is not a paint program.

This package provides Tcl bindings for the Gd library.

%description -n tcl-tkspline
This package provides additional smoothing method for Tk canvas items,
initially released as part of Jan Nijtman's "dash" patch.

# }}}


%prep
%setup -q
%patch0 -p1

%build
%add_optflags -DNDEBUG %optflags_fastmath
%configure
# SMP-incompatible
%__make

%install
%make_install DESTDIR=%buildroot install
%__mkdir_p %buildroot%_defaultdocdir
%__mv %buildroot%_datadir/%name/doc %buildroot%_defaultdocdir/%name
%__mkdir_p -m0755 %buildroot%_tcldatadir/{%name,gd,tkspline}
%__cat <<EOF > %buildroot%_tcldatadir/gd/pkgIndex.tcl
package ifneeded Gdtclft %version "load [file join \$dir .. .. .. lib tcl libgdtclft.so.0] Gdtclft"
EOF
%__cat <<EOF > %buildroot%_tcldatadir/%name/pkgIndex.tcl
package ifneeded Tcldot %version "load [file join \$dir .. .. .. lib tcl libtcldot.so.0] Tcldot"
package ifneeded Tclpathplan %version "load [file join \$dir .. .. .. lib tcl libtclplan.so.0] Tclpathplan"
EOF
%__cat <<EOF > %buildroot%_tcldatadir/tkspline/pkgIndex.tcl
package ifneeded Tkspline %version "
package require Tk 8.3
       load [file join \$dir .. .. .. lib tcl libtkspline.so.0] Tkspline"
EOF

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_bindir/*
%exclude %_bindir/dotneato-config
%_libdir/lib*.so.*
%_datadir/%name/lefty
%_man1dir/*
%exclude %_man1dir/dotneato-config.*

%files devel
%_includedir/%name
%_libdir/lib*.so
%_libdir/pkgconfig/*.pc
%_bindir/dotneato-config
%_man1dir/dotneato-config.*
%_man3dir/*

%files demos
%_datadir/%name/demo
%_datadir/%name/graphs

%files doc
%_defaultdocdir/%name

%files tcl
%_tcllibdir/libtcldot.so.0*
%_tcllibdir/libtclplan.so.0*
%_tcldatadir/%name
%_mandir/mann/tcldot.n.*

%files -n tcl-gd
%_tcllibdir/libgdtclft.so.0*
%_tcldatadir/gd
%_mandir/mann/gdtclft.n*

%files -n tcl-tkspline
%_tcllibdir/libtkspline.so.0*
%_tcldatadir/tkspline
%_mandir/mann/tkspline.n.*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin