Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37562773
en ru br
Репозитории ALT
S:1.8.0-alt1
5.1: 1.2.30-alt1
4.1: 1.2.27-alt1
4.0: 1.2.23-alt1
3.0: 1.0.49-alt1
www.altlinux.org/Changes

Группа :: Разработка/Базы Данных
Пакет: rrd

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

Name: rrd
Version: 1.2.30
Release: alt1

%define native rrdtool
%def_with tcl

Summary: RRD - round robin database
License: GPL
Group: Development/Databases

Url: http://ee-staff.ethz.ch/~oetiker/webtools/%native
Packager: Dmitry Lebkov <dlebkov at altlinux.ru>

Source0: %url/pub/%native-%version.tar.gz
Source1: MRTG-HOWTO
Patch0: %name-1.2.28-alt-build-tcl.patch
Patch1: %name-1.2.28-alt-compile.patch

Requires: lib%name = %version-%release

# Automatically added by buildreq on Fri Sep 05 2008

BuildRequires: gcc-c++ groff-base libart_lgpl-devel libfreetype-devel libpng-devel perl-devel python-devel tcl-devel

Summary(ru_RU.UTF-8): RRDtool - п╠п╟п╥п╟ п╢п╟п╫п╫я▀я┘ я│ "я├п╦п╨п╩п╦я┤п╣я│п╨п╦п╪ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╣п╪"

%package -n lib%name
Summary: Round Robin Database shared library
Group: System/Libraries

%package -n lib%name-devel
Summary: Round Robin Database development files and documentation
Group: Development/C
Requires: lib%name = %version-%release
Provides: %native-devel = %version
Obsoletes: %native-devel

%package utils
Summary: Round Robin Database utilities
Group: Development/Databases
Requires: lib%name = %version-%release
Provides: %native = %version
Obsoletes: %native

%package perl
Summary: Round Robin Database perl modules
Group: Development/Databases
Requires: lib%name = %version-%release
AutoReqProv: yes, perl

%package -n python-module-%name
Summary: Round Robin Database python modules
Group: Development/Databases
Requires: lib%name = %version-%release
Obsoletes: %name-python

%if_with tcl
%package tcl
Summary: Round Robin Database tcl extension
Group: Development/Databases
Requires: lib%name = %version-%release
%endif

%description
RRD is the Acronym for Round Robin Database. RRD is a system to store and
display time-series data (i.e. network bandwidth, machine-room temperature,
server load average). It stores the data in a very compact way that will not
expand over time, and it presents useful graphs by processing the data to
enforce a certain data density. It can be used either via simple wrapper
scripts (from shell or Perl) or via frontends that poll network devices and
put a friendly user interface on it.

%description -l ru_RU.UTF-8
RRD - я│п╬п╨я─п╟я┴п╣п╫п╦п╣ п╢п╩я▐ "Round Robin Database" (п╠п╟п╥п╟ п╢п╟п╫п╫я▀я┘ я│ "я├п╦п╨п╩п╦я┤п╣я│п╨п╦п╪
п╬п╠п╫п╬п╡п╩п╣п╫п╦п╣п╪"). RRD - я│п╦я│я┌п╣п╪п╟ п╢п╩я▐ я│п╬я┘я─п╟п╫п╣п╫п╦я▐ п╦ п©п╬п╨п╟п╥п╟ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╥п╟
п╬п©я─п╣п╢п╣п╩я▒п╫п╫я▀п╧ п©я─п╬п╪п╣п╤я┐я┌п╬п╨ п╡я─п╣п╪п╣п╫п╦ (п╫п╟п©я─п╦п╪п╣я─ я│п╨п╬я─п╬я│я┌я▄ п©п╣я─п╣п╢п╟я┤п╦ п╢п╟п╫п╫я▀я┘ п╡
я│п╣я┌п╦, я┌п╣п╪п©п╣я─п╟я┌я┐я─я┐ п╡ п╪п╟я┬п╦п╫п╫п╬п╪ п╥п╟п╩п╣, я│я─п╣п╢п╫я▌я▌ п╥п╟пЁя─я┐п╥п╨я┐ я│п╣я─п╡п╣я─п╟). п·п╫п╟
я│п╬я┘я─п╟п╫я▐п╣я┌ п╢п╟п╫п╫я▀п╣ п╡ п╬я┤п╣п╫я▄ п╨п╬п╪п©п╟п╨я┌п╫п╬п╧ я└п╬я─п╪п╣, я┌п╟п╨ я┤я┌п╬ п╢п╟п╫п╫я▀п╣ п╫п╣ п╠я┐п╢я┐я┌
п╥п╟п╫п╦п╪п╟я┌я▄ п╡я│я▒ п╠п╬п╩я▄я┬п╣ п╦ п╠п╬п╩я▄я┬п╣ п╪п╣я│я┌п╟ я│ я┌п╣я┤п╣п╫п╦п╣п╪ п╡я─п╣п╪п╣п╫п╦ п╦ п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌
я─п╟п╥я┐п╪п╫п╬п╣ пЁя─п╟я└п╦я┤п╣я│п╨п╬п╣ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦п╣ п╦п╫я└п╬я─п╪п╟я├п╦п╦. п°п╬п╤п╣я┌ п╠я▀я┌я▄ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╟
п╨п╟п╨ п╦п╥ п©я─п╬я│я┌я▀я┘ я│п╨я─п╦п©я┌п╬п╡ (shell, perl, etc), я┌п╟п╨ п╡я│я┌я─п╬п╣п╫п╟ п╡ п©я─п╬пЁя─п╟п╪п╪я▀,
п╨п╬я┌п╬я─я▀п╣ п╬п©я─п╟я┬п╦п╡п╟я▌я┌ я│п╣я┌п╣п╡я▀п╣ я┐я│я┌я─п╬п╧я│я┌п╡п╟ п╦ п©п╬п╨п╟п╥я▀п╡п╟я▌я┌ п╢п╟п╫п╫я▀п╣ п╡ я┐п╢п╬п╠п╫п╬п╪
п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╡п╦п╢п╣.

%description -n lib%name
RRD is the Acronym for Round Robin Database. RRD is a system to store and
display time-series data (i.e. network bandwidth, machine-room temperature,
server load average).

This package contains shared library required for running RRD-based software.

%description -n lib%name-devel
RRD is the Acronym for Round Robin Database. RRD is a system to store and
display time-series data (i.e. network bandwidth, machine-room temperature,
server load average).

This package contains development files and documentation required for
development of RRD-based software.

%description utils
RRD is the Acronym for Round Robin Database. RRD is a system to store and
display time-series data (i.e. network bandwidth, machine-room temperature,
server load average). It stores the data in a very compact way that will not
expand over time, and it presents useful graphs by processing the data to
enforce a certain data density. It can be used either via simple wrapper
scripts (from shell or Perl) or via frontends that poll network devices and
put a friendly user interface on it.

This package contains utilities for manipulating Round Robin Databases.

%description perl
RRD is the Acronym for Round Robin Database. RRD is a system to store and
display time-series data (i.e. network bandwidth, machine-room temperature,
server load average). It stores the data in a very compact way that will not
expand over time, and it presents useful graphs by processing the data to
enforce a certain data density. It can be used either via simple wrapper
scripts (from shell or Perl) or via frontends that poll network devices and
put a friendly user interface on it.

This package contains perl modules for access the Round Robin Databases.

%description -n python-module-%name
RRD is the Acronym for Round Robin Database. RRD is a system to store and
display time-series data (i.e. network bandwidth, machine-room temperature,
server load average). It stores the data in a very compact way that will not
expand over time, and it presents useful graphs by processing the data to
enforce a certain data density. It can be used either via simple wrapper
scripts (from shell or Perl) or via frontends that poll network devices and
put a friendly user interface on it.

This package contains python modules for access the Round Robin Databases.

%if_with tcl
%description tcl
RRD is the Acronym for Round Robin Database. RRD is a system to store and
display time-series data (i.e. network bandwidth, machine-room temperature,
server load average). It stores the data in a very compact way that will not
expand over time, and it presents useful graphs by processing the data to
enforce a certain data density. It can be used either via simple wrapper
scripts (from shell or Perl) or via frontends that poll network devices and
put a friendly user interface on it.

This package contains tcl extension for access the Round Robin Databases.
%endif

%prep
%setup -q -n %native-%version
%patch0 -p1 -b .p0
%patch1 -p1 -b .p1

find doc bindings/perl-piped -type f -print0 |
xargs -r0 fgrep -l /usr/local |
xargs -r perl -pi -e 's,/usr/local,%prefix,g'

%build
%add_optflags -I%_builddir/%native-%version/src %optflags_shared -I%_includedir/cgilib
autoreconf -fisv
%configure \
--enable-shared \
--disable-static \
--with-tcllib=%_libdir

%make_build

make -C bindings clean

pushd bindings/perl-piped
%def_without test
%perl_vendor_build
popd

# hack due OTHERLDFLAGS overrides by perl_vendor_build

EXTRA_LIBS="-L../../src/.libs/ -lrrd -lm"
pushd bindings/perl-shared
%perl_vendor_build
popd

%install
pushd bindings/perl-piped
%perl_vendor_install
popd

pushd bindings/perl-shared
%perl_vendor_install
popd

mkdir -p %buildroot%_tcllibdir/
make DESTDIR=%buildroot install

# seems to have changed in newer configure,

# didn't find it in 5 min; fix here // mike
mv %buildroot%_datadir/%native/examples %buildroot%_docdir/%native-%version/

%files -n lib%name
%_libdir/*.so.*
%dir %_datadir/%native/
%dir %_datadir/%native/fonts/
%_datadir/%native/fonts/DejaVuSansMono-Roman.ttf

%files -n lib%name-devel
%_libdir/lib*.so
%_includedir/*.h

%files utils
%_bindir/*
%_man1dir/*
%dir %doc %_docdir/%native-%version/
%doc %_docdir/%native-%version/txt/
%doc %_docdir/%native-%version/html/
%doc %_docdir/%native-%version/examples/

%files perl
%perl_vendor_privlib/RRD*
%perl_vendor_archlib/RRD*
%perl_vendor_autolib/RRD*
%perl_vendor_man3dir/RRD*

%files -n python-module-%name
%python_sitelibdir/*

%if_with tcl
%files tcl
%_tcllibdir/tcl*.so
%_tcldatadir/tcl%name%version/
%endif

%changelog

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

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