Package ksystemlog: Specfile

Name:      ksystemlog
Version:   0.3.2
Release:   alt1
Copyright: GPL
Summary:   Displays and analyze system logfiles
URL:       http://annivernet.free.fr/ksystemlog/
Group:     Monitoring
Source:    %name-%version.tar.bz2
Source1:   %name.menu

# Automatically added by buildreq on Fri May 06 2005
BuildRequires: fontconfig freetype2 gcc3.4-c++ kde-settings kdelibs-devel libarts-devel libjpeg-devel libpng-devel libqt3-devel libqt3-settings libstdc++3.4-devel xml-utils xorg-x11-devel zlib-devel

%description
KSystemLog is a system log viewer tool for KDE 3.3.x.

This program is developed for being used by beginner users, which don't know how to find information about their Linux system, and how the log files are in their computer. But it is also designed for advanced users, who want to quickly see problems occuring on their server.

KSystemLog has the following features :

* View all the main log of your system, by selecting them directly in a menu
* Auto display new lines logged in bold
* Tabbed view to allow displaying several logs at the same time
* Saving in a file and copying to clipboard the selected log lines are also implemented
* It can parse the following log files of your system :
    o X.org (or Xfree) logs
    o System logs (using the Syslog parser of KSystemLog)
    o Kernel logs
    o Daemons logs
    o Cron logs
    o Boot logs
    o Authentication logs
    o ACPID logs
    o Cups logs (and embedded Web server)

%prep
%setup
%__subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
%__subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
%__subst "s/\.la/.so/g" admin/acinclude.m4.in
make -f admin/Makefile.common cvs ||:
%configure --disable-rpath

%build
# Setup for parallel builds
%make_build

%install
%makeinstall
%__install -pD -m 644 %SOURCE1 %{buildroot}%_menudir/%name
%find_lang --with-kde %name

%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%_bindir/*
%_datadir/applnk/Utilities/*
%_datadir/apps/%name
%_datadir/config.kcfg/%name.kcfg
%_iconsdir/*/*/*/*
%_menudir/%name

%changelog
* Wed Jul 20 2005 Nick S. Grechukh <gns@altlinux.ru> 0.3.2-alt1
- 0.3.2

* Thu Jul 07 2005 Nick S. Grechukh <gns@altlinux.ru> 0.3.1-alt1
- new release

* Tue May 24 2005 Nick S. Grechukh <gns@altlinux.ru> 0.2-alt1
- new version

* Fri May 06 2005 Nick S. Grechukh <gns@altlinux.ru> 0.1-alt1
- initial Sisyphus' build