1 Summary: Rotates, compresses, removes and mails system log files
2 Summary(de.UTF-8): Rotiert, komprimiert und verschickt Systemlogs
3 Summary(es.UTF-8): Hace el rutado, comprime y envía mail de logs del sistema
4 Summary(fr.UTF-8): Fait tourner, compresse, et envoie par mail les connexions au système
5 Summary(pl.UTF-8): System rotacji i kompresowania logów
6 Summary(tr.UTF-8): Sistem günlüklerini yönlendirir, sıkıştırır ve mektup olarak yollar
11 Group: Applications/System
12 #Source0: http://www.lohmueller.ch/projects/logarch/%{name}-%{version}.tar.bz2
13 Source0: %{name}-%{version}.tar.bz2
14 # Source0-md5: 9e5fb7dff09fff3454a9f79014b38668
15 Patch0: %{name}-DESTDIR.patch
16 BuildRequires: rpm-perlprov
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The logarch utility is designed to simplify the administration of log
21 files on a system which generates a lot of log files. Logarch allows
22 for the automatic rotation compression, removal and mailing of log
23 files. Logarch can be set to handle a log file daily, weekly, monthly
24 or when the log file gets to a certain size. Normally, logarch runs as
27 %description -l de.UTF-8
28 Logarch vereinfacht die Verwaltung von Systemen, die sehr viele
29 Log-Dateien erzeugen, indem es das automatische Rotieren,
30 Komprimieren, Entfernen, und Senden von Log-Dateien ermöglicht. Jede
31 Log-Datei kann täglich, wöchentlich oder monatlich verarbeitet werden,
32 wenn sie zu groß wird.
34 %description -l es.UTF-8
35 Logarch fue proyectado para facilitar la administración de sistemas
36 que generan gran número de archivos de log. Permite automatización en
37 la rotación, compresión, remoción y envío de mail de archivos de logs.
38 Cada archivo de log puede ser tratado diariamente, semanalmente,
39 mensualmente o cuanto crezca demasiado.
41 %description -l fr.UTF-8
42 Logarch est conçu pour faciliter l'administration de systèmes qui
43 générent un grand nombre de fichiers de \"log\". Il permet le
44 roulement, la suppréssion la compression et l'envoi automatiques de
45 ces fichiers. Chaque fichier de \"log\" peut être pris en charge de
46 manière quotidienne, hebdomadaire, mensuelle, ou quand il devient trop
49 %description -l pl.UTF-8
50 Logarch jest przeznaczony do łatwej administracji plikami logów.
51 Program ten pozwala na automatyczną kompresję logów. Może kontrolować
52 logi raz dziennie, raz na miesiąc, raz na tydzień lub wtedy kiedy
53 pliki z logami systemowymi są już duże.
55 %description -l tr.UTF-8
56 Logarch çok fazla sayıda günlük dosyası üreten sistemlerin yönetimini
57 kolaylaştırmak için tasarlanmıştır. Kayıt dosyalarının otomatik olarak
58 yönlendirilmesini, sıkıştırılmasını, silinmesinı ve mektup olarak
59 yollanmasını sağlar. Her dosya günlük, haftalık, aylık olarak ya da
60 çok büyük boyutlara ulaştığında işlenebilir.
67 rm -rf $RPM_BUILD_ROOT
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc CHANGES README examples/logarch.d/*
77 %attr(755,root,root) %{_sbindir}/logarch
78 %attr(750,root,root) %dir %{_sysconfdir}/logarch.d
79 #%attr(750,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.daily/logarch
80 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
81 %attr(750,root,root) %dir /var/log/archive