A new user interface for you! Read more...

File modlogan.spec of Package modlogan

# norootforbuild

Name: modlogan
Version: 0.8.13
Release: 0
#
License: GPL
Group: Productivity/Networking/Web/Tools
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: zlib-devel gd-devel libpng-devel expat pcre-devel libjpeg-devel libadns-devel mysql-devel xorg-x11-devel libxml2-devel freetype2-devel
#
URL: http://www.modlogan.org/
Source: http://jan.kneschke.de/projects/modlogan/download/modlogan-%{version}.tar.gz

# patches "stolen" from the debian/ubuntu package - http://packages.ubuntu.com/de/source/lucid/modlogan - modlogan_0.8.13-5.diff.gz
Patch1: add-new-TLDs-disable-warning.patch
Patch2: de-translation-updates.patch
Patch3: disable-startup-message.patch
Patch4: fail-gracefully-if-no-reports-in-template-plugin.diff
Patch5: fix-pie-percentage-overflow.patch
Patch6: grouping-matching-update.patch
Patch7: html_encode-realloc_error.patch
Patch8: spelling-error-by-lintian.patch

#
Summary: A modular log analyzer
%description
Modlogan is a modular logfile analyzer which is currently able to parse ftp-,
webserver and squid logs. The generated output can be viewed by a webbrowser
(->moglogan, webalizer) or your favorite text editor (->text). The template
engine allows you to create the output with your prefered look and feel. 

The different input and output modes are provided by some surrounding plugins.
For example the modlogan output plugin provides three different menu structures
for the same colourfull output while the output which is generated by the
webalizer output plugin looks similar to the output generated by the
original Webalizer known from webalizer.

The input is handled the same way. One plugin is for the web server logs, the
next is for xferlog from FTP-servers like WuFTP and some others are for
mail-servers, streaming-server and so on.

Authors:
---------
    Jan Kneschke <jan@kneschke.de>

%prep
%setup
%patch1
%patch2
%patch3 -p1
%patch4
%patch5 -p1
%patch6
%patch7
%patch8

%build
%configure --with-mysql=%{_prefix}
%{__make}

%install
%makeinstall
%{__rm} -vf %{buildroot}%{_libdir}/*.a %{buildroot}%{_libdir}/*.la
%find_lang %{name}

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_sysconfdir}/%{name}
%{_bindir}/%{name}
%{_libdir}/libmla*.so
%{_mandir}/man1/%{name}.1*
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/*