Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > dc4e65d79cc8a112836a5109b3b5f0c4 > files > 2

pyrrd-0.1.0-1.fc16.src.rpm

%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           pyrrd
Version:        0.1.0
Release:        1%{?dist}
Summary:        A Pure Python Wrapper for RRDTool

Group:          Applications/System
License:        BSD
URL:            http://code.google.com/p/pyrrd/
Source0:        http://%{name}.googlecode.com/files/PyRRD-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  python-devel
BuildRequires:  python-setuptools

Requires:       rrdtool

%description
PyRRD is an wrapper for the RRDTool (round-robin database tool). The idea
is to make RRDTool insanely easy to use and to be aesthically pleasing for
python programmers. Below is an example of what you have to do if want to
use the python bindings that come with RRDTool.


%prep
%setup -q -n PyRRD-%{version}


%build
%{__python} setup.py build


%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
rm -rf %{buildroot}%{python_sitelib}/test


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc ChangeLog LICENSE README TODO examples/ docs/
%{python_sitelib}/%{name}/
%{python_sitelib}/PyRRD*.egg-info


%changelog
* Sat Nov 26 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.0-1
- Tests are gone
- Updated to new upstream version 0.1.0

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.0.7-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Sat Apr 04 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.0.7-1
- Initial spec for Fedora