]> git.pld-linux.org Git - packages/cronolog.git/blob - cronolog.spec
043cd7eece8b40426f1c89e51693a926d8cb8065
[packages/cronolog.git] / cronolog.spec
1 Summary:        A flexible log file rotation program for Apache
2 Summary(pl):    Program do elastycznej rotacji logów serwera Apache
3 Name:           cronolog
4 Version:        1.6.2
5 Release:        1
6 License:        Apache license
7 Group:          Networking/Daemons
8 Source0:        http://www.ford-mason.co.uk/resources/cronolog/cronolog-%{version}.tar.gz
9 # Source0-md5:  18cf20d712b9aa83a766fe70234ceec8
10 URL:            http://www.ford-mason.co.uk/resources/cronolog/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 "cronolog" is a simple program that reads log messages from its input
15 and writes them to a set of output files, the names of which are
16 constructed using template and the current date and time. The template
17 uses the same format specifiers as the Unix date command (which are
18 the same as the standard C strftime library function).
19
20 %description -l pl
21 "cronolog" jest prostym programem czytaj±cym logi i zapisuj±cym
22 je do plików wyj¶ciowych, których nazwy mo¿na tworzyæ u¿ywaj±c
23 szablonu oraz bie¿±cego czasu i daty. Szablony korzystaj± z tego
24 samego formatu co polecenie date systemu Unix (który jest taki
25 sam jak dla standardowej funkcji C strftime).
26 Dziêki u¿yciu mechanizmu "piped logs", program ten mo¿e byæ stosowany
27 do rotacji logów, która nie wymaga restartowania serwera Apache.
28
29 %prep
30 %setup -q -n %{name}-%{version}
31
32 %build
33 %configure2_13
34
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %post
47 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
48
49 %postun
50 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README
55 %attr(755,root,root) %{_sbindir}/cronolog
56 %attr(755,root,root) %{_sbindir}/cronosplit
57 %{_mandir}/man1/*.1*
58 %{_infodir}/*.info*
This page took 0.104594 seconds and 2 git commands to generate.