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