[python-whisper/f18] Initial import.

jsteffan jsteffan at fedoraproject.org
Sun Sep 16 18:53:27 UTC 2012


commit e32856d969e4e34eadd575f15f90b358e252a9ed
Author: Jonathan Steffan <jsteffan at fedoraproject.org>
Date:   Sun Sep 16 12:53:21 2012 -0600

    Initial import.

 .gitignore          |    1 +
 python-whisper.spec |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e2f297e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/whisper-0.9.10.tar.gz
diff --git a/python-whisper.spec b/python-whisper.spec
new file mode 100644
index 0000000..5c8bf02
--- /dev/null
+++ b/python-whisper.spec
@@ -0,0 +1,53 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+
+Name:           python-whisper
+Version:        0.9.10
+Release:        1%{?dist}
+Summary:        Simple database library for storing time-series data
+
+License:        ASL 2.0
+URL:            https://launchpad.net/graphite/
+Source0:        https://github.com/downloads/graphite-project/whisper/whisper-0.9.10.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python-devel, python-setuptools
+
+%description
+simple database library for storing time-series data (similar in design to RRD)
+
+%prep
+%setup -q -n whisper-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+# Temp mv to non .py locations
+pushd $RPM_BUILD_ROOT/usr/bin/
+%{__mv} rrd2whisper.py rrd2whisper
+%{__mv} whisper-create.py whisper-create
+%{__mv} whisper-dump.py whisper-dump
+%{__mv} whisper-fetch.py whisper-fetch
+%{__mv} whisper-info.py whisper-info
+%{__mv} whisper-merge.py whisper-merge
+%{__mv} whisper-resize.py whisper-resize
+%{__mv} whisper-set-aggregation-method.py whisper-set-aggregation-method
+%{__mv} whisper-update.py whisper-update
+popd
+
+ 
+%files
+%{python_sitelib}/*
+%{_bindir}/whisper*
+%{_bindir}/rrd2whisper
+
+
+%changelog
+* Thu May 31 2012 Jonathan Steffan <jsteffan at fedoraproject.org> - 0.9.10-1
+- Initial Package
diff --git a/sources b/sources
index e69de29..47db1da 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cf7d7d73e115f50e682f46c4eb52be09  whisper-0.9.10.tar.gz


More information about the scm-commits mailing list