File pflogsumm.spec of Package pflogsumm
#
# spec file for package pflogsumm
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: pflogsumm
Version: 1.1.3
Release: 1
License: Other
Summary: Postfix logfile analyzer
BuildArch: noarch
Url: http://jimsun.linxnet.com/postfix_contrib.html
Group: Productivity/Networking/Email/Utilities
Source: http://jimsun.linxnet.com/downloads/%{name}-%{version}.tar.gz
Requires: perl-Date-Calc perl-DateManip perl-TimeDate
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
pflogsumm provides an overview of postfix activity, with just enough detail
for the sysadmin to get advanced warning of troubles.
%prep
%setup
%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 0644 pflogsumm.1 $RPM_BUILD_ROOT/%{_mandir}/man1
%clean
%{__rm} -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root,-)
%{_sbindir}/pflogsumm.pl
%doc %{_mandir}/*/*
%doc ChangeLog README ToDo pflogsumm-faq.txt
%changelog