rpms/cronolog/devel cronolog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sean Reifschneider (jafo) fedora-extras-commits at redhat.com
Sat Jan 27 20:35:02 UTC 2007


Author: jafo

Update of /cvs/extras/rpms/cronolog/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13873/devel

Modified Files:
	.cvsignore sources 
Added Files:
	cronolog.spec 
Log Message:
auto-import cronolog-1.6.2-4 on branch devel from cronolog-1.6.2-4.src.rpm


--- NEW FILE cronolog.spec ---
Name:            cronolog
Version:         1.6.2
Release:         4%{?dist}
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

%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

%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
* Sat Jan 27 2007 Sean Reifschneider <jafo at 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 at tummy.com> 1.6.2-3
- Packaging for Fedora Extras.

* Tue Mar  8 2005 Douglas E. Warner <silfreed at silfreed.net> 1.6.2-1
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/cronolog/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Jan 2007 20:34:02 -0000	1.1
+++ .cvsignore	27 Jan 2007 20:34:32 -0000	1.2
@@ -0,0 +1 @@
+cronolog-1.6.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/cronolog/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Jan 2007 20:34:02 -0000	1.1
+++ sources	27 Jan 2007 20:34:32 -0000	1.2
@@ -0,0 +1 @@
+a44564fd5a5b061a5691b9a837d04979  cronolog-1.6.2.tar.gz




More information about the scm-commits mailing list