File pflogsumm.spec of Package pflogsumm
#
# spec file for package pflogsumm (Version 1.1.5)
#
# Copyright 2008 Agenda OpenSystems d.o.o., Maribor, Slovenia
# Copyright Danilo Godec <danilo.godec@agenda.si>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# usedforbuild aaa_base acl attr audit-libs autoconf automake bash binutils bzip2 coreutils cpio cpp cpp42 cracklib cvs diffutils file filesystem fillup findutils gawk gcc gcc-c++ gcc42 gdbm gettext gettext-devel glibc glibc-devel glibc-locale grep groff gzip info insserv less libacl libattr libbz2-1 libbz2-devel libdb-4_5 libgcc42 libgomp42 libltdl-3 libmudflap42 libopenssl0_9_8 libpcap-devel libreadline5 librsync libstdc++42 libtool libuuid1 libvolume_id libxcrypt libzio linux-kernel-headers m4 make man mktemp ncurses net-tools netcfg openssl-certs pam pam-modules patch perl perl-base permissions popt python python-devel rpm sed sqlite sysvinit tar texinfo timezone util-linux zlib
Summary: pflogsumm - postfix logfile analyzer
Name: pflogsumm
Version: 1.1.5
Release: 1
Epoch: 0
License: GPL
Group: Networking/Utilities
URL: http://jimsun.linxnet.com/postfix_contrib.html
Source0: http://jimsun.linxnet.com/downloads/pflogsumm-1.1.5.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildARch: noarch
Patch0: pflogsumm-date-option.patch
Requires: perl-Date-Calc perl-TimeDate
%description
pflogsumm.pl is designed to provide an over-view of postfix activity, with
just enough detail to give the administrator a "heads up" for potential
trouble spots. The following is an over-view of the reports produced:
%prep
%setup
%patch0 -p1
%build
%install
%{__rm} -rf ${RPM_BUILD_ROOT}
mkdir -p $RPM_BUILD_ROOT/usr/sbin
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
install -m 0755 pflogsumm.pl $RPM_BUILD_ROOT/usr/sbin/pflogsumm.pl
install -m 0600 pflogsumm.1 $RPM_BUILD_ROOT/%{_mandir}/man1
%clean
%{__rm} -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root,-)
%{_sbindir}/pflogsumm.pl
%doc %attr(0644,root,root) %{_mandir}/man1/pflogsumm.1.gz
%doc ChangeLog README ToDo pflogsumm-faq.txt
%changelog
* Wed Jul 30 2014 Danilo Godec
- update to 1.1.5
* Wed Dec 17 2008 Danilo Godec
- added a patch for more date options
- added the 'TimeDate' require
* Fri Dec 12 2008 Danilo Godec
- SuSE RPM