Created
August 2, 2012 22:40
-
-
Save jasonhancock/3241508 to your computer and use it in GitHub Desktop.
.spec file for building Tasseo into an RPM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%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 <[email protected]> 0.0.1-1 | |
- Initial revision |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment