]> git.pld-linux.org Git - SPECS.git/blob - logster.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / logster.spec
1 Summary:        Parse log files, generate metrics for Graphite and Ganglia
2 Name:           logster
3 Version:        0.0.1
4 Release:        1
5 License:        GPL v3
6 Group:          Applications/System
7 Source0:        https://github.com/etsy/logster/archive/v%{version}.tar.gz
8 # Source0-md5:  7e1b92be0e83cd81880293e2bed44d88
9 URL:            https://github.com/etsy/logster
10 BuildRequires:  rpm-pythonprov
11 BuildRequires:  rpmbuild(macros) >= 1.219
12 Requires:       logtail
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Logster is a utility for reading log files and generating metrics in
18 Graphite or Ganglia. It is ideal for visualizing trends of events that
19 are occurring in your application/system/error logs.
20
21 %prep
22 %setup -q
23
24 %build
25 %{__python} setup.py build
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 %{__python} setup.py install \
30         --skip-build \
31         --optimize=2 \
32         --root=$RPM_BUILD_ROOT
33
34 %py_postclean
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %attr(755,root,root) %{_bindir}/logster
42 %{py_sitescriptdir}/logster
43 %{py_sitescriptdir}/logster-%{version}-py*.egg-info
This page took 0.042216 seconds and 3 git commands to generate.