Search
j0ke.net Open Build Service
>
Projects
>
home:jg
>
cronolog
> cronolog.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File cronolog.spec of Package cronolog
Name: cronolog Version: 1.6.2 Release: 6 Summary: Web log rotation program for Apache Group: Applications/System License: GPL URL: http://cronolog.org/ Source0: http://cronolog.org/download/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Patch1: cronolog-largefile.patch Patch2: gzip.patch %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 %patch1 %patch2 -p1 %build %configure make %{_smp_mflags} %install rm -rf %{buildroot} 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 %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_sbindir}/* %{_bindir}/* %{_mandir}/man1/* %{_infodir}/* %changelog * Thu Feb 11 2010 Juergen Gotteswinter <jg@internetx.de> 1.6.2-6 - added gzip patch * Thu Jul 05 2007 Sean Reifschneider <jafo@tummy.com> 1.6.2-5 - Included patch for LARGEFILE support, fix provided by Arenas Belon, Carlo Marcelo. * Sat Jan 27 2007 Sean Reifschneider <jafo@tummy.com> 1.6.2-4 - Updating based on feedback from ville.skytta. - Moved cronosplit to /usr/bin - Added info pages. - Removed INSTALL file. - Updated path to cronolog in man page. * Fri Jan 26 2007 Sean Reifschneider <jafo@tummy.com> 1.6.2-3 - Packaging for Fedora Extras. * Tue Mar 8 2005 Douglas E. Warner <silfreed@silfreed.net> 1.6.2-1 - Initial RPM release.