Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37040662
en ru br
ALT Linux repos
S:0.9.0-alt3
5.0: 0.7.2-alt2
4.1: 0.7.2-alt2
4.0: 0.7.0-alt1

Other repositories
Upstream:0.7.2

Group :: File tools
RPM: archivemail

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable check

Name: archivemail
Version: 0.9.0
Release: alt3

Summary: Archive and compress old email
License: GPLv2+
Group: File tools

BuildArch: noarch

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

Source0: %name-%version.tar
Patch: %name-%version-%release.patch

BuildPreReq: python-modules python-devel tidy xsltproc
BuildPreReq: docbook-style-xsl

%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
%patch -p1

%check
./test_archivemail

%build
%make doc

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

rm %buildroot%python_sitelibdir/archivemail-*.egg-info

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

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin