]>
Commit | Line | Data |
---|---|---|
5075b3b5 ER |
1 | Summary: Simple database library for storing time-series data |
2 | Name: python-whisper | |
7836e71c | 3 | Version: 0.9.14 |
6082499e | 4 | Release: 2 |
5075b3b5 ER |
5 | License: Apache v2.0 |
6 | Group: Development/Libraries | |
778ff05e MK |
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 | |
7836e71c | 9 | # Source0-md5: 7c90928e7ac895990b0aa0b40479afb2 |
778ff05e | 10 | # Source0: https://codeload.github.com/graphite-project/whisper/whisper-%{version}.tar.gz |
5075b3b5 ER |
11 | URL: https://launchpad.net/graphite/ |
12 | BuildRequires: python-setuptools | |
13 | BuildRequires: rpm-pythonprov | |
14 | BuildRequires: rpmbuild(macros) >= 1.219 | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | simple database library for storing time-series data (similar in | |
20 | design to RRD) | |
21 | ||
22 | %prep | |
23 | %setup -q -n whisper-%{version} | |
24 | ||
25 | %build | |
a68e1bcc | 26 | %py_build |
5075b3b5 ER |
27 | |
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
a68e1bcc | 30 | %py_install |
5075b3b5 ER |
31 | |
32 | %py_postclean | |
33 | ||
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 | |
7836e71c | 39 | %{__mv} whisper-diff.py whisper-diff |
5075b3b5 | 40 | %{__mv} whisper-fetch.py whisper-fetch |
7836e71c | 41 | %{__mv} whisper-fill.py whisper-fill |
5075b3b5 ER |
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 | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
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 | |
7836e71c | 56 | %attr(755,root,root) %{_bindir}/whisper-diff |
5075b3b5 | 57 | %attr(755,root,root) %{_bindir}/whisper-fetch |
7836e71c | 58 | %attr(755,root,root) %{_bindir}/whisper-fill |
5075b3b5 ER |
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] |