Пакет archivemail: Specfile

Name: archivemail
Version: 0.7.2
Release: alt2

Summary: Archive and compress old email
License: GPL
Group: File tools

BuildArch: noarch

Packager: Andrey Rahmatullin <wrar@altlinux.ru>

Url: http://archivemail.sourceforge.net/

Source0: %name-%version.tar.gz

%description 
archivemail is a tool written in python(1) for archiving and compressing
old email in mailboxes. By default it will read the mailbox MAILBOX,
moving messages that are older that the specified number of days (180 by
default) to a mbox-format mailbox in the same directory that is
compressed with gzip(1).

archivemail supports reading IMAP, Maildir, MH and mbox-format mailboxes, but
it will always write archive files to mbox-format mailboxes that are compressed
with gzip(1).

%prep
%setup

%build
cp %name %name.py
#./test_archivemail.py

%install
mkdir -p %buildroot{%_bindir,%_man1dir}
install -p -m755 %name %buildroot%_bindir/%name
install -p -m644 %name.1 %buildroot%_man1dir

%files
%_bindir/*
%_man1dir/*
%doc CHANGELOG FAQ README TODO test_archivemail.py examples/

%changelog
* Sat Mar 22 2008 Andrey Rahmatullin <wrar@altlinux.ru> 0.7.2-alt2
- disable tests

* Sun Nov 11 2007 Andrey Rahmatullin <wrar@altlinux.ru> 0.7.2-alt1
- 0.7.2
- remove manual Requires

* Sun Nov 05 2006 Andrey Rahmatullin <wrar@altlinux.ru> 0.7.0-alt1
- 0.7.0

* Wed Aug 23 2006 Andrey Rahmatullin <wrar@altlinux.ru> 0.6.2-alt1
- 0.6.2

* Sat Jun 10 2006 Andrey Rahmatullin <wrar@altlinux.ru> 0.6.1-alt0.1
- initial build