Summary: Round Robin Database Tool to store and display time-series data Name: rrdtool Version: 1.2.12 Release: 1%{?dist} License: GPL Group: Applications/Databases URL: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ Source: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.0.x/rrdtool-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gcc-c++ openssl-devel BuildRequires: libpng-devel, zlib-devel, libart_lgpl-devel BuildRequires: freetype-devel, python-devel %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %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. %package devel Summary: RRDtool static libraries and header files Group: Development/Libraries Requires: %{name} = %{version} %description 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 allow you to use directly this library. %prep %setup # Fixes to /usr/lib(64) for x86_64 %{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g' \ configure Makefile.in %build %configure \ --program-prefix="%{?_program_prefix}" \ --enable-shared \ --with-pic \ --enable-perl-site-install \ --with-perl-options='INSTALLDIRS="vendor"' %{__make} %{?_smp_mflags} # Fix @perl@ and @PERL@ find examples/ -type f \ -exec %{__perl} -pi -e 's|^#! \@perl\@|#!%{__perl}|gi' {} \; find examples/ -name "*.pl" \ -exec %{__perl} -pi -e 's|\015||gi' {} \; %install rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" install # We only want .txt and .html files for the main documentation %{__mkdir_p} doc2/doc %{__cp} -a doc/*.txt doc/*.html doc2/doc/ # Clean up the examples and contrib %{__rm} -f examples/Makefile* examples/*.in # This is so rpm doesn't pick up perl module dependencies automatically find examples/ -type f -exec chmod 0644 {} \; # Clean up the buildroot %{__rm} -rf %{buildroot}%{_prefix}/{doc,examples,html}/ \ %{buildroot}%{perl_vendorarch}/ntmake.pl \ %{buildroot}%{perl_archlib}/perllocal.pod \ %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO NEWS THREADS doc2/doc %{_bindir}/* %{_libdir}/*.so.* %{_datadir}/rrdtool/ %{perl_vendorlib}/*.pm %{perl_vendorarch}/*.pm %{perl_vendorarch}/auto/* %{python_sitelib}/rrdtoolmodule.so %{_mandir}/man1/* %{_mandir}/man3/* %files devel %defattr(-, root, root, 0755) %doc examples/ %{_includedir}/*.h %{_libdir}/*.a %exclude %{_libdir}/*.la %{_libdir}/*.so %changelog * Wed Apr 19 2006 Chris Ricker 1.2.12-1 - Rev to 1.2 * Fri May 20 2005 Matthias Saou 1.0.49-5 - Include patch from Michael to fix perl module compilation on FC4 (#156242). * Fri May 20 2005 Matthias Saou 1.0.49-4 - Fix for the php module patch (Joe Pruett, Dag Wieers), #156716. - Update source URL to new location since 1.2 is now the default stable. - Don't (yet) update to 1.0.50, as it introduces some changes in the perl modules install. * Mon Jan 31 2005 Matthias Saou 1.0.49-3 - Put perl modules in vendor_perl and not site_perl. #146513 * Thu Jan 13 2005 Matthias Saou 1.0.49-2 - Minor cleanups. * Thu Aug 25 2004 Dag Wieers - 1.0.49-1 - Updated to release 1.0.49. * Wed Aug 25 2004 Dag Wieers - 1.0.48-3 - Fixes for x86_64. (Garrick Staples) * Fri Jul 2 2004 Matthias Saou 1.0.48-3 - Actually apply the patch for fixing the php module, doh! * Thu May 27 2004 Matthias Saou 1.0.48-2 - Added php.d config entry to load the module once installed. * Thu May 13 2004 Dag Wieers - 1.0.48-1 - Updated to release 1.0.48. * Tue Apr 06 2004 Dag Wieers - 1.0.47-1 - Updated to release 1.0.47. * Thu Mar 4 2004 Matthias Saou 1.0.46-2 - Change the strict dependency on perl to fix problem with the recent update. * Mon Jan 5 2004 Matthias Saou 1.0.46-1 - Update to 1.0.46. - Use system libpng and zlib instead of bundled ones. - Added php-rrdtool sub-package for the php4 module. * Fri Dec 5 2003 Matthias Saou 1.0.45-4 - Added epoch to the perl dependency to work with rpm > 4.2. - Fixed the %% escaping in the perl dep. * Mon Nov 17 2003 Matthias Saou 1.0.45-2 - Rebuild for Fedora Core 1. * Sun Aug 3 2003 Matthias Saou - Update to 1.0.45. * Wed Apr 16 2003 Matthias Saou - Update to 1.0.42. * Mon Mar 31 2003 Matthias Saou - Rebuilt for Red Hat Linux 9. * Wed Mar 5 2003 Matthias Saou - Added explicit perl version dependency. * Sun Feb 23 2003 Matthias Saou - Update to 1.0.41. * Fri Jan 31 2003 Matthias Saou - Update to 1.0.40. - Spec file cleanup. * Fri Jul 05 2002 Henri Gomez - 1.0.39 * Mon Jun 03 2002 Henri Gomez - 1.0.38 * Fri Apr 19 2002 Henri Gomez - 1.0.37 * Tue Mar 12 2002 Henri Gomez - 1.0.34 - rrdtools include zlib 1.1.4 which fix vulnerabilities in 1.1.3