Name: py-rrdtool Version: 1.0b1 Release: dor1 Summary: Python module for rrd interacting. Source: %{name}-%{version}.tar.gz License: LGPL Group: Development/Python Requires: python Packager: Dmytro O. Redchuk Url: http://sourceforge.net/projects/py-rrdtool/ %define python_libdir %_libdir/python%__python_version # Automatically added by buildreq on Tue Feb 08 2005 BuildRequires: librrd-devel python-base python-dev python-modules-encodings %description The python-rrdtool provides a interface to rrdtool, the wonderful graphing and logging utility. This wrapper implementation has worked from the scratch (without SWIG), and it's under LGPL. Written by Hye-Shik Chang and Mihai Ibanescu . %prep %setup %build env CFLAGS="$RPM_OPT_FLAGS -I/usr/include" python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES mkdir -p $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}-%{release} cp AUTHORS COPYING MANIFEST.in PKG-INFO README THANKS \ $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}-%{release} %files -f INSTALLED_FILES %dir /%python_libdir/site-packages %docdir /usr/share/doc/%{name}-%{version}-%{release} /usr/share/doc/%{name}-%{version}-%{release} %changelog * Thu Dec 20 2007 Dmytro O. Redchuk 1.0b1-dor1 - Changed for 1.0b1 version. * Tue Feb 8 2005 Dmytro O. Redchuk 0.2.1-dor1 - Initial build.