]> git.pld-linux.org Git - packages/python-whisper.git/blob - python-whisper.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-whisper.git] / python-whisper.spec
1 Summary:        Simple database library for storing time-series data
2 Name:           python-whisper
3 Version:        0.9.14
4 Release:        2
5 License:        Apache v2.0
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
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
26 %py_build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 %py_install
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
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
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
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]
This page took 0.066189 seconds and 4 git commands to generate.