ALT Linux repositórios
Group :: Desenvolvimento/Banco de Dados
RPM: rrd
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
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
…
Todas as alterações você pod ver aqui