]> git.pld-linux.org Git - packages/logrotate.git/blob - logrotate.spec
- updated to 3.5.5.
[packages/logrotate.git] / logrotate.spec
1 Summary:        Rotates, compresses, removes and mails system log files
2 Summary(de):    Rotiert, komprimiert und verschickt Systemlogs
3 Summary(es):    Hace el rutado, comprime y envía mail de logs del sistema
4 Summary(fr):    Fait tourner, compresse, et envoie par mail les connexions au système
5 Summary(pl):    System rotacji i kompresowania logów
6 Summary(tr):    Sistem günlüklerini yönlendirir, sýkýþtýrýr ve mektup olarak yollar
7 Name:           logrotate
8 Version:        3.5.5
9 Release:        2
10 License:        GPL
11 Group:          Applications/System
12 Group(de):      Applikationen/System
13 Group(pl):      Aplikacje/System
14 Source0:        ftp://ftp.redhat.com/pub/redhat/code/logrotate/%{name}-%{version}.tar.gz
15 Source1:        %{name}.conf
16 Requires:       /bin/mail
17 BuildRequires:  popt-devel >= 1.3
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The logrotate utility is designed to simplify the administration of
22 log files on a system which generates a lot of log files. Logrotate
23 allows for the automatic rotation compression, removal and mailing of
24 log files. Logrotate can be set to handle a log file daily, weekly,
25 monthly or when the log file gets to a certain size. Normally,
26 logrotate runs as a daily cron job.
27
28 %description -l de
29 Logrotate vereinfacht die Verwaltung von Systemen, die sehr viele
30 Log-Dateien erzeugen, indem es das automatische Rotieren,
31 Komprimieren, Entfernen, und Senden von Log-Dateien ermöglicht. Jede
32 Log-Datei kann täglich, wöchentlich oder monatlich verarbeitet werden,
33 wenn sie zu groß wird.
34
35 %description -l es
36 Logrotate fue proyectado para facilitar la administración de sistemas
37 que generan gran número de archivos de log. Permite automatización en
38 la rotación, compresión, remoción y envío de mail de archivos de logs.
39 Cada archivo de log puede ser tratado diariamente, semanalmente,
40 mensualmente o cuanto crezca demasiado.
41
42 %description -l fr
43 Logrotate est conçu pour faciliter l'administration de systèmes qui
44 générent un grand nombre de fichiers de \"log\". Il permet le
45 roulement, la suppréssion la compression et l'envoi automatiques de
46 ces fichiers. Chaque fichier de \"log\" peut être pris en charge de
47 manière quotidienne, hebdomadaire, mensuelle, ou quand il devient trop
48 volumineux.
49
50 %description -l pl
51 Logrotate jest przeznaczony do ³atwej administracji plikami logów.
52 Program ten pozwala na automatyczn± kompresjê logów. Mo¿e kontrolowaæ
53 logi raz dziennie, raz na miesi±c, raz na tydzieñ lub wtedy kiedy
54 pliki z logami systemowymi s± ju¿ du¿e.
55
56 %description -l tr
57 logrotate çok fazla sayýda günlük dosyasý üreten sistemlerin
58 yönetimini kolaylaþtýrmak için tasarlanmýþtýr. Kayýt dosyalarýnýn
59 otomatik olarak yönlendirilmesini, sýkýþtýrýlmasýný, silinmesiný ve
60 mektup olarak yollanmasýný saðlar. Her dosya günlük, haftalýk, aylýk
61 olarak ya da çok büyük boyutlara ulaþtýðýnda iþlenebilir.
62
63 %prep
64 %setup -q
65
66 %build
67 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT/{etc/{cron.daily,logrotate.d},var/log/archiv} \
72         $RPM_BUILD_ROOT%{_mandir}
73
74 %{__make} install \
75         BINDIR=$RPM_BUILD_ROOT%{_sbindir} \
76         MANDIR=$RPM_BUILD_ROOT%{_mandir}
77
78 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.conf
79 install examples/logrotate.cron $RPM_BUILD_ROOT/etc/cron.daily/logrotate
80
81 gzip -9nf CHANGES
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %doc CHANGES.gz
89 %attr(755,root,root) %{_sbindir}/logrotate
90 %attr(750,root,root) /etc/cron.daily/logrotate
91 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf
92 %attr(750,root,root) %dir /etc/logrotate.d
93
94 %{_mandir}/man8/*
95
96 %attr(750,root,root) %dir /var/log/archiv
This page took 0.151288 seconds and 4 git commands to generate.