%define unmangled_version 0.9.8 Summary: Backend data caching and persistence daemon for Graphite Name: carbon Version: 0.9.8 Release: 1 Source0: %{name}-%{unmangled_version}.tar.gz License: Apache Software License 2.0 Group: Development/Libraries URL: https://launchpad.net/graphite BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: python >= 2.6.2 Requires: python >= 2.6.2 %description Backend data caching and persistence daemon for Graphite. %prep %setup -q -n %{name}-%{unmangled_version} %build python setup.py build %install python setup.py install --root=${RPM_BUILD_ROOT} --record=INSTALLED_FILES %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files -f INSTALLED_FILES %defattr(-,root,system) %changelog * Wed May 18 2011 Michael Perzl - 0.9.8-1 - first version for AIX V5.1 and higher