SPECS: rottlog.spec (NEW) - new
glen
glen at pld-linux.org
Mon Apr 14 15:06:29 CEST 2008
Author: glen Date: Mon Apr 14 13:06:29 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
rottlog.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/rottlog.spec
diff -u /dev/null SPECS/rottlog.spec:1.1
--- /dev/null Mon Apr 14 15:06:29 2008
+++ SPECS/rottlog.spec Mon Apr 14 15:06:23 2008
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+%define subver beta3
+%define rel 0.1
+Summary: Replacement to Red Hat's logrotate
+Name: rottlog
+Version: 0.70
+Release: 0.%{subver}.%{rel}
+License: GPL v2
+Group: Applications/System
+URL: http://www.gnu.org/software/rottlog/
+Source0: http://download.savannah.gnu.org/releases/rottlog/%{name}-%{version}%{subver}.tar.gz
+# Source0-md5: 500670496f05b9c51d35644bb9376757
+Patch0: %{name}-bashism.patch
+BuildRequires: autoconf
+BuildRequires: automake
+Patch1: %{name}-DESTDIR.patch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNU Rottlog is a replacement to Red Hat's logrotate. It has similar
+syntax, but more powerful features to cut and store logs.
+
+%prep
+%setup -q -n %{name}-%{version}%{subver}
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ LOG_OWN=$(id -un) \
+ LOG_GROUP=$(id -gn) \
+ DESTDIR=$RPM_BUILD_ROOT
+
+chmod u+rwX $RPM_BUILD_ROOT%{_sysconfdir}/rottlog
+
+rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/rottlog/sample_*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog INSTALL NEWS README README.Log2Rot README.outdated TODO
+%doc rc/sample_*
+%dir %{_sysconfdir}/rottlog
+%attr(755,root,root) %{_sbindir}/rottlog
+%attr(755,root,root) %{_sbindir}/virottcustom
+%attr(755,root,root) %{_sbindir}/virottday
+%attr(755,root,root) %{_sbindir}/virottmonth
+%attr(755,root,root) %{_sbindir}/virottrc
+%attr(755,root,root) %{_sbindir}/virottweek
+%{_infodir}/*.info*
+%{_mandir}/man5/rottlogconf.5*
+%{_mandir}/man5/rottlogex.5*
+%{_mandir}/man5/rottlogrc.5*
+%{_mandir}/man8/rottlog.8*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008-04-14 13:06:23 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list