File turbotail.spec of Package turbotail

# spec file for package turbotail
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           turbotail
Version:        0.3
Release:        0
Summary:        FAM based tail replacement
License:        GPL-2.0+
Group:          System/Monitoring
Patch1:         turbotail-optflags.patch
BuildRequires:  autoconf
BuildRequires:  automake
%if 0%{?suse_version} > 1210
BuildRequires:  gamin-devel
BuildRequires:  fam-devel
BuildRequires:  gcc
BuildRequires:  glibc-devel
BuildRequires:  libtool
BuildRequires:  make
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

A drop-in replacement for the original (GNU-)tail program which uses the SGI
FAM daemon instead of polling every second.

%setup -q

make %{?_smp_mflags} \
    DEBUG="%{optflags}" \

install -D -m0755 turbotail "%{buildroot}%{_bindir}/turbotail"

%doc *.txt

openSUSE Build Service is sponsored by