1 Summary: Simple database library for storing time-series data
6 Group: Development/Libraries
7 # https://github.com/graphite-project/whisper/archive/0.9.12.tar.gz
8 Source0: https://github.com/graphite-project/whisper/archive/%{version}.tar.gz
9 # Source0-md5: 7c90928e7ac895990b0aa0b40479afb2
10 # Source0: https://codeload.github.com/graphite-project/whisper/whisper-%{version}.tar.gz
11 URL: https://launchpad.net/graphite/
12 BuildRequires: python-setuptools
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.710
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 simple database library for storing time-series data (similar in
23 %setup -q -n whisper-%{version}
29 rm -rf $RPM_BUILD_ROOT
34 # Temp mv to non .py locations
35 cd $RPM_BUILD_ROOT%{_bindir}
36 %{__mv} rrd2whisper.py rrd2whisper
37 %{__mv} whisper-create.py whisper-create
38 %{__mv} whisper-dump.py whisper-dump
39 %{__mv} whisper-diff.py whisper-diff
40 %{__mv} whisper-fetch.py whisper-fetch
41 %{__mv} whisper-fill.py whisper-fill
42 %{__mv} whisper-info.py whisper-info
43 %{__mv} whisper-merge.py whisper-merge
44 %{__mv} whisper-resize.py whisper-resize
45 %{__mv} whisper-set-aggregation-method.py whisper-set-aggregation-method
46 %{__mv} whisper-update.py whisper-update
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/rrd2whisper
54 %attr(755,root,root) %{_bindir}/whisper-create
55 %attr(755,root,root) %{_bindir}/whisper-dump
56 %attr(755,root,root) %{_bindir}/whisper-diff
57 %attr(755,root,root) %{_bindir}/whisper-fetch
58 %attr(755,root,root) %{_bindir}/whisper-fill
59 %attr(755,root,root) %{_bindir}/whisper-info
60 %attr(755,root,root) %{_bindir}/whisper-merge
61 %attr(755,root,root) %{_bindir}/whisper-resize
62 %attr(755,root,root) %{_bindir}/whisper-set-aggregation-method
63 %attr(755,root,root) %{_bindir}/whisper-update
64 %{py_sitescriptdir}/whisper-%{version}-py*.egg-info
65 %{py_sitescriptdir}/whisper.py[co]