Репозитории ALT
S: | 8.0.5-alt2 |
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 |
Другие репозитории
Upstream: | 2.18 |
Группа :: Издательство
Пакет: graphviz
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%set_verify_elf_method unresolved=relaxed
Name: graphviz
Version: 2.16.1
Release: alt1
Summary: Graphs visualization tools
License: AT&T open source (see COPYING)
Group: Publishing
Url: http://www.graphviz.org/
Source: %name-%version.tar.gz
Source1: %name-2.2-alt-libpath.patch
Patch1: %name.as-needed.patch
Patch2: %name.as-needed.2.patch
Packager: Michael Shigorin <mike at altlinux.org>
Requires: lib%name = %version-%release
Provides: libdotneato = %version-%release
Obsoletes: libdotneato
# Automatically added by buildreq on Thu Feb 14 2008 (-bi)
BuildRequires: flex gcc-c++ imake libXaw-devel libexpat-devel libgd2-devel libltdl-devel liblua5-devel libpango-devel tk-devel xorg-cf-files
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
%define gvlibdir %_libdir/graphviz/
# {{{ subpackages
%package -n lib%name
Summary: Shared libraries for %name
Group: System/Libraries
%package -n lib%name-devel
Summary: Header files and C programming manual for %name
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release
Obsoletes: %name-devel < 2.16.1
%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 lua
Summary: Lua bindings to %name
Group: Development/Other
Requires: %name = %version-%release
%package perl
Summary: Perl bindings to %name
Group: Development/Perl
Requires: %name = %version-%release
%package python
Summary: Python bindings to %name
Group: Development/Python
Requires: %name = %version-%release
%package ruby
Summary: Ruby bindings to %name
Group: Development/Ruby
Requires: %name = %version-%release
%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 -n lib%name
This package includes shared libraries for %name
%description -n lib%name-devel
This package includes header files for %name
%description doc
This package contains most of documentation for %name
%description demos
This package contains a collection of programs to demonstrate
the features of %name
%description lua
This package makes %name functionality accessible from Lua
%description perl
This package makes %name functionality accessible from Perl
%description python
This package makes %name functionality accessible from Python
%description ruby
This package makes %name functionality accessible from Ruby
%description tcl
This package makes %name functionality accessible from Tcl
%description -n tcl-gd
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
%build
%add_optflags -DNDEBUG %optflags_fastmath
%configure \
--disable-static \
--with-pangocairo \
--with-x \
--without-gdk-pixbuf \
--without-gnomeui \
--without-gtk \
--without-ipsepcola \
--enable-guile \
--enable-lua \
--enable-ocaml \
--enable-php \
--enable-python \
--enable-ruby \
--enable-tcl \
--disable-java \
--disable-sharp \
# SMP-incompatible
make
%install
#make_install DESTDIR=%buildroot install -C dotneato/gvrender
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_defaultdocdir
mv %buildroot%_datadir/%name/doc %buildroot%_defaultdocdir/%name-%version
mkdir -p -m 0755 %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
# created by %_bindir/dot -c
touch %buildroot%gvlibdir/config
rm -f %buildroot%gvlibdir/*/lib*.la
rm -f %buildroot%gvlibdir/libgvplugin_*.la
%post
[ ! -x %_bindir/dot ] || %_bindir/dot -c >&/dev/null
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%_bindir/*
%dir %_datadir/%name/
%_datadir/%name/lefty
%ghost %gvlibdir/config
%_man1dir/*
%_man7dir/*
%doc AUTHORS COPYING cpl1.0.txt ChangeLog NEWS
%files -n lib%name
%_libdir/lib*.so.*
%dir %gvlibdir/
%gvlibdir/lib*.so.*
%gvlibdir/libgvplugin_*.so
%files -n lib%name-devel
%_includedir/%name
%_libdir/lib*.so
%_libdir/pkgconfig/*.pc
%_man3dir/*
%files demos
%_datadir/%name/demo
%_datadir/%name/graphs
%files doc
%_defaultdocdir/%name-%version/
%exclude %_defaultdocdir/%name-%version/AUTHORS
%exclude %_defaultdocdir/%name-%version/COPYING
%exclude %_defaultdocdir/%name-%version/cpl1.0.txt
%exclude %_defaultdocdir/%name-%version/ChangeLog
%exclude %_defaultdocdir/%name-%version/NEWS
%files lua
%dir %gvlibdir/lua/
%gvlibdir/lua/gv.so
%files perl
%dir %gvlibdir/perl/
%gvlibdir/perl/gv.so
#_mandir/mann/gv_perl.n*
%files python
%dir %gvlibdir/python*/
%gvlibdir/python*/_gv.so
#_mandir/mann/gv_python.n*
%files ruby
%dir %gvlibdir/ruby/
%gvlibdir/ruby/gv.so
#_mandir/mann/gv_ruby.n*
%files tcl
%dir %gvlibdir/tcl/
%gvlibdir/tcl/libtcldot_builtin.so*
%gvlibdir/tcl/libtcldot.so*
%gvlibdir/tcl/libtclplan.so*
%gvlibdir/tcl/gv.so
%gvlibdir/pkgIndex.tcl
%_tcldatadir/%name
%_mandir/mann/tcldot.n.*
%files -n tcl-gd
%gvlibdir/tcl/libgdtclft.so*
%_tcldatadir/gd
%_mandir/mann/gdtclft.n*
%files -n tcl-tkspline
%gvlibdir/tcl/libtkspline.so*
%_tcldatadir/tkspline
%_mandir/mann/tkspline.n.*
%changelog
…
Полный changelog можно просмотреть здесь
Name: graphviz
Version: 2.16.1
Release: alt1
Summary: Graphs visualization tools
License: AT&T open source (see COPYING)
Group: Publishing
Url: http://www.graphviz.org/
Source: %name-%version.tar.gz
Source1: %name-2.2-alt-libpath.patch
Patch1: %name.as-needed.patch
Patch2: %name.as-needed.2.patch
Packager: Michael Shigorin <mike at altlinux.org>
Requires: lib%name = %version-%release
Provides: libdotneato = %version-%release
Obsoletes: libdotneato
# Automatically added by buildreq on Thu Feb 14 2008 (-bi)
BuildRequires: flex gcc-c++ imake libXaw-devel libexpat-devel libgd2-devel libltdl-devel liblua5-devel libpango-devel tk-devel xorg-cf-files
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
%define gvlibdir %_libdir/graphviz/
# {{{ subpackages
%package -n lib%name
Summary: Shared libraries for %name
Group: System/Libraries
%package -n lib%name-devel
Summary: Header files and C programming manual for %name
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release
Obsoletes: %name-devel < 2.16.1
%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 lua
Summary: Lua bindings to %name
Group: Development/Other
Requires: %name = %version-%release
%package perl
Summary: Perl bindings to %name
Group: Development/Perl
Requires: %name = %version-%release
%package python
Summary: Python bindings to %name
Group: Development/Python
Requires: %name = %version-%release
%package ruby
Summary: Ruby bindings to %name
Group: Development/Ruby
Requires: %name = %version-%release
%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 -n lib%name
This package includes shared libraries for %name
%description -n lib%name-devel
This package includes header files for %name
%description doc
This package contains most of documentation for %name
%description demos
This package contains a collection of programs to demonstrate
the features of %name
%description lua
This package makes %name functionality accessible from Lua
%description perl
This package makes %name functionality accessible from Perl
%description python
This package makes %name functionality accessible from Python
%description ruby
This package makes %name functionality accessible from Ruby
%description tcl
This package makes %name functionality accessible from Tcl
%description -n tcl-gd
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
%build
%add_optflags -DNDEBUG %optflags_fastmath
%configure \
--disable-static \
--with-pangocairo \
--with-x \
--without-gdk-pixbuf \
--without-gnomeui \
--without-gtk \
--without-ipsepcola \
--enable-guile \
--enable-lua \
--enable-ocaml \
--enable-php \
--enable-python \
--enable-ruby \
--enable-tcl \
--disable-java \
--disable-sharp \
# SMP-incompatible
make
%install
#make_install DESTDIR=%buildroot install -C dotneato/gvrender
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_defaultdocdir
mv %buildroot%_datadir/%name/doc %buildroot%_defaultdocdir/%name-%version
mkdir -p -m 0755 %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
# created by %_bindir/dot -c
touch %buildroot%gvlibdir/config
rm -f %buildroot%gvlibdir/*/lib*.la
rm -f %buildroot%gvlibdir/libgvplugin_*.la
%post
[ ! -x %_bindir/dot ] || %_bindir/dot -c >&/dev/null
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%_bindir/*
%dir %_datadir/%name/
%_datadir/%name/lefty
%ghost %gvlibdir/config
%_man1dir/*
%_man7dir/*
%doc AUTHORS COPYING cpl1.0.txt ChangeLog NEWS
%files -n lib%name
%_libdir/lib*.so.*
%dir %gvlibdir/
%gvlibdir/lib*.so.*
%gvlibdir/libgvplugin_*.so
%files -n lib%name-devel
%_includedir/%name
%_libdir/lib*.so
%_libdir/pkgconfig/*.pc
%_man3dir/*
%files demos
%_datadir/%name/demo
%_datadir/%name/graphs
%files doc
%_defaultdocdir/%name-%version/
%exclude %_defaultdocdir/%name-%version/AUTHORS
%exclude %_defaultdocdir/%name-%version/COPYING
%exclude %_defaultdocdir/%name-%version/cpl1.0.txt
%exclude %_defaultdocdir/%name-%version/ChangeLog
%exclude %_defaultdocdir/%name-%version/NEWS
%files lua
%dir %gvlibdir/lua/
%gvlibdir/lua/gv.so
%files perl
%dir %gvlibdir/perl/
%gvlibdir/perl/gv.so
#_mandir/mann/gv_perl.n*
%files python
%dir %gvlibdir/python*/
%gvlibdir/python*/_gv.so
#_mandir/mann/gv_python.n*
%files ruby
%dir %gvlibdir/ruby/
%gvlibdir/ruby/gv.so
#_mandir/mann/gv_ruby.n*
%files tcl
%dir %gvlibdir/tcl/
%gvlibdir/tcl/libtcldot_builtin.so*
%gvlibdir/tcl/libtcldot.so*
%gvlibdir/tcl/libtclplan.so*
%gvlibdir/tcl/gv.so
%gvlibdir/pkgIndex.tcl
%_tcldatadir/%name
%_mandir/mann/tcldot.n.*
%files -n tcl-gd
%gvlibdir/tcl/libgdtclft.so*
%_tcldatadir/gd
%_mandir/mann/gdtclft.n*
%files -n tcl-tkspline
%gvlibdir/tcl/libtkspline.so*
%_tcldatadir/tkspline
%_mandir/mann/tkspline.n.*
%changelog
…
Полный changelog можно просмотреть здесь