File logstalgia.spec of Package logstalgia

#
# spec file for package logstalgia
#
# Copyright (c) 2014 SUSE LINUX Products 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 http://bugs.opensuse.org/
#


Name:           logstalgia
Version:        1.0.6
Release:        0
Summary:        A website access log visualization tool
License:        GPL-3.0+
Group:          Amusements/Toys/Other
Url:            http://code.google.com/p/logstalgia/
Source:         https://github.com/acaudwell/Logstalgia/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires:  boost-devel >= 1.46
BuildRequires:  ftgl-devel
BuildRequires:  gcc-c++
BuildRequires:  glew-devel
BuildRequires:  glm-devel >= 0.9.3
BuildRequires:  pcre-devel
BuildRequires:  pkgconfig(freetype2) >= 9.0.3
BuildRequires:  pkgconfig(libpng) >= 1.2
Requires:       freefont
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} >= 1310
BuildRequires:  pkgconfig(SDL2_image) >= 2.0
BuildRequires:  pkgconfig(sdl2) >= 2.0
%else
BuildRequires:  pkgconfig(SDL_image) >= 1.2
BuildRequires:  pkgconfig(sdl) >= 1.2
%endif

%description
Logstalgia is a website traffic visualization that replays or streams
Apache web-server access logs as a pong-like battle between the web
server and an never ending torrent of requests. Requests appear as
colored balls (the same color as the host) which travel across the
screen to arrive at the requested location. Successful requests are
hit by the paddle while unsuccessful ones (eg 404 - File Not Found)
are missed and pass through.

%prep
%setup -q

%build
%configure \
  --enable-ttf-font-dir=%{_datadir}/fonts/truetype
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%doc COPYING README THANKS ChangeLog
%doc %{_mandir}/man1/logstalgia*
%{_bindir}/logstalgia
%{_datadir}/logstalgia/

%changelog
openSUSE Build Service is sponsored by