Skip to content

Instantly share code, notes, and snippets.

@jasonhancock
Created August 2, 2012 22:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jasonhancock/3241508 to your computer and use it in GitHub Desktop.
Save jasonhancock/3241508 to your computer and use it in GitHub Desktop.
.spec file for building Tasseo into an RPM
%define githash 46d8a8f
Name: tasseo
Summary: A lightweight, easily configurable, real-time dashboard for Graphite events.
Version: 0.0.1
Release: 1%{?dist}
License: 3-clause BSD
Group: Applications/System
URL: https://github.com/obfuscurity/tasseo
Source0: obfuscurity-tasseo-%{githash}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: rsync
Requires: rubygems
%description
Tasseo is a lightweight, easily configurable, real-time dashboard for Graphite
events. Charts are refreshed every two seconds and provide a heads-up view of
the most current value.
The default behavior is designed for a Carbon retention policy with a 1-second
resolution for at least 5 minutes, although this can be modified within the
dashboard and metric attributes.
%prep
%setup -q -n obfuscurity-tasseo-%{githash}
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/tasseo
rsync -av ./ %{buildroot}%{_datadir}/tasseo
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE README.md
%{_datadir}/tasseo
%changelog
* Thu Aug 02 2012 Jason Hancock <jsnbyh@gmail.com> 0.0.1-1
- Initial revision
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment