Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
projects
:
http
>
cronolog
> cronolog.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File cronolog.spec of Package cronolog
# norootforbuild Name: cronolog Version: 1.7.0 %define realver 1.7.0-beta Release: 2.3 Summary: Web log rotation program for Apache Group: Applications/System License: GPL URL: http://cronolog.org/ Source0: http://cronolog.org/download/%{name}-%{realver}.tar.gz Patch: cronolog_buffer.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libxml2-devel %if 0%{?suse_version} PreReq: %{install_info_prereq} %endif %description cronolog is a simple filter program that reads log file entries from standard input and writes each entry to the output file specified by a filename template and the current date and time. When the expanded filename changes, the current file is closed and a new one opened. cronolog is intended to be used in conjunction with a Web server, such as Apache, to split the access log into daily or monthly logs. %prep %setup -q %patch %build %configure make %install make install DESTDIR=%{buildroot} sed -i 's|/www/sbin|/usr/sbin|g' %{buildroot}/%{_mandir}/man1/* mkdir -p %{buildroot}/%{_bindir} mv %{buildroot}/%{_sbindir}/cronosplit %{buildroot}/%{_bindir} rm -f %{buildroot}%{_infodir}/dir %if 0%{?suse_version} %post %install_info --info-dir=%{_infodir} %{_infodir}/cronolog.info.gz %endif %if 0%{?suse_version} %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/cronolog.info.gz %endif %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_sbindir}/* %{_bindir}/* %{_mandir}/man1/* %{_infodir}/* %changelog * Thu Mar 15 2007 poeml@suse.de - update to 1.7.0-beta