From 7544c021a01fda156ce71cb471a7c1a7abccdc87 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 07:59:26 +0000 Subject: [PATCH] auto-import changelog data from logrotate-3.5.2-1.src.rpm Tue Aug 15 2000 Erik Troan - see CHANGES Sun Jul 23 2000 Erik Troan - see CHANGES Tue Jul 11 2000 Erik Troan - support spaces in filenames - added sharedscripts Sun Jun 18 2000 Matt Wilson - use %{_mandir} for man pages Thu Feb 24 2000 Erik Troan - don't rotate lastlog Thu Feb 03 2000 Erik Troan - gzipped manpages --- .cvsignore | 1 + logrotate.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+) create mode 100644 logrotate.spec diff --git a/.cvsignore b/.cvsignore index e69de29..58ec524 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +logrotate-3.5.2.tar.gz diff --git a/logrotate.spec b/logrotate.spec new file mode 100644 index 0000000..8db9f14 --- /dev/null +++ b/logrotate.spec @@ -0,0 +1,63 @@ +Summary: Rotates, compresses, removes and mails system log files. +Name: logrotate +Version: 3.5.2 +Release: 1 +Copyright: GPL +Group: System Environment/Base +Source: ftp://ftp.redhat.com/pub/redhat/code/logrotate/logrotate-%{PACKAGE_VERSION}.tar.gz +BuildRoot: /var/tmp/logrotate.root + +%description +The logrotate utility is designed to simplify the administration of +log files on a system which generates a lot of log files. Logrotate +allows for the automatic rotation compression, removal and mailing of +log files. Logrotate can be set to handle a log file daily, weekly, +monthly or when the log file gets to a certain size. Normally, +logrotate runs as a daily cron job. + +Install the logrotate package if you need a utility to deal with the +log files on your system. + +%prep +%setup + +%build +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" + +%install +make PREFIX=$RPM_BUILD_ROOT MANDIR=%{_mandir} install +mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d +mkdir -p $RPM_BUILD_ROOT/etc/cron.daily + +install -m 644 examples/logrotate-default $RPM_BUILD_ROOT/etc/logrotate.conf +install -m 755 examples/logrotate.cron $RPM_BUILD_ROOT/etc/cron.daily/logrotate + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%attr(0755, root, root) /usr/sbin/logrotate +%attr(0644, root, root) %{_mandir}/man8/logrotate.8* +%attr(0755, root, root) /etc/cron.daily/logrotate +%attr(0644, root, root) %config /etc/logrotate.conf +%attr(0755, root, root) %dir /etc/logrotate.d + +%changelog +* Tue Aug 15 2000 Erik Troan +- see CHANGES + +* Sun Jul 23 2000 Erik Troan +- see CHANGES + +* Tue Jul 11 2000 Erik Troan +- support spaces in filenames +- added sharedscripts + +* Sun Jun 18 2000 Matt Wilson +- use %%{_mandir} for man pages + +* Thu Feb 24 2000 Erik Troan +- don't rotate lastlog + +* Thu Feb 03 2000 Erik Troan +- gzipped manpages diff --git a/sources b/sources index e69de29..ec847ce 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +380b7c157b18c716127a2ef717967061 logrotate-3.5.2.tar.gz