]> git.pld-linux.org Git - packages/python-whisper.git/commitdiff
new, version 0.9.10 auto/th/python-whisper-0.9.10-1
authorElan Ruusamäe <glen@delfi.ee>
Tue, 9 Apr 2013 18:20:59 +0000 (21:20 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 9 Apr 2013 18:20:59 +0000 (21:20 +0300)
based on fedora package
152a025148ec476ae9efc877bc13695cab2b1f4b

python-whisper.spec [new file with mode: 0644]

diff --git a/python-whisper.spec b/python-whisper.spec
new file mode 100644 (file)
index 0000000..b41ac20
--- /dev/null
@@ -0,0 +1,62 @@
+Summary:       Simple database library for storing time-series data
+Name:          python-whisper
+Version:       0.9.10
+Release:       1
+License:       Apache v2.0
+Group:         Development/Libraries
+Source0:       https://github.com/downloads/graphite-project/whisper/whisper-%{version}.tar.gz
+# Source0-md5: cf7d7d73e115f50e682f46c4eb52be09
+URL:           https://launchpad.net/graphite/
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 \
+       --skip-build \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+# Temp mv to non .py locations
+cd $RPM_BUILD_ROOT%{_bindir}
+%{__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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/rrd2whisper
+%attr(755,root,root) %{_bindir}/whisper-create
+%attr(755,root,root) %{_bindir}/whisper-dump
+%attr(755,root,root) %{_bindir}/whisper-fetch
+%attr(755,root,root) %{_bindir}/whisper-info
+%attr(755,root,root) %{_bindir}/whisper-merge
+%attr(755,root,root) %{_bindir}/whisper-resize
+%attr(755,root,root) %{_bindir}/whisper-set-aggregation-method
+%attr(755,root,root) %{_bindir}/whisper-update
+%{py_sitescriptdir}/whisper-%{version}-py*.egg-info
+%{py_sitescriptdir}/whisper.py[co]
This page took 0.067248 seconds and 4 git commands to generate.