1 Summary: A flexible log file rotation program for Apache
2 Summary(pl): Program do elastycznej rotacji logów serwera Apache
6 License: Apache license
7 Group: Networking/Daemons
8 Source0: http://www.cronolog.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5: a44564fd5a5b061a5691b9a837d04979
10 Patch0: http://cronolog.org/patches/%{name}-jumbo-patch.txt
11 URL: http://www.cronolog.org/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 "cronolog" is a simple program that reads log messages from its input
16 and writes them to a set of output files, the names of which are
17 constructed using template and the current date and time. The template
18 uses the same format specifiers as the Unix date command (which are
19 the same as the standard C strftime library function).
22 "cronolog" jest prostym programem czytaj±cym logi i zapisuj±cym je do
23 plików wyj¶ciowych, których nazwy mo¿na tworzyæ u¿ywaj±c szablonu oraz
24 bie¿±cego czasu i daty. Szablony korzystaj± z tego samego formatu co
25 polecenie date systemu Unix (który jest taki sam jak dla standardowej
26 funkcji C strftime). Dziêki u¿yciu mechanizmu "piped logs", program
27 ten mo¿e byæ stosowany do rotacji logów, która nie wymaga
28 restartowania serwera Apache.
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
45 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
48 rm -rf $RPM_BUILD_ROOT
51 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
54 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog README NEWS TODO
59 %attr(755,root,root) %{_sbindir}/cronolog
60 %attr(755,root,root) %{_sbindir}/cronosplit