Sophie

Sophie

distrib > Mandriva > 2008.0 > i586 > by-pkgid > 66fda93ef7f6b003e6bedcf5f3705a18 > files > 2

archivemail-0.7.0-1mdv2007.1.src.rpm

%define name    archivemail
%define version 0.7.0
%define release %mkrel 1

Name:           %{name}
Version:        %{version}
Release:        %{release}
License:        GPL
Summary:        A tool for archiving and compressing old email
Group:          System/Servers
URL:            http://archivemail.sourceforge.net/
Source:         http://prdownloads.sourceforge.net/archivemail/%{name}-%{version}.tar.bz2
BuildRequires:  python-devel
BuildRequires:  docbook-dtd30-sgml
BuildRequires:  docbook-utils
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}

%description 
archivemail is a tool written in Python for archiving and compressing old email
in mailboxes. It can move messages older than the specified number of days to a
separate mbox format mailbox that is compressed with gzip, or optionally just
delete old email.

%prep
%setup -q

%build
%{__make} archivemail.1

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%py_sitedir
./setup.py install --root=%{buildroot} --install-data=usr/share

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING FAQ README CHANGELOG TODO
%{_bindir}/*
%{_mandir}/man1/*
%py_sitedir/*.egg-info


%changelog
* Wed Nov 29 2006 Michael Scherer <misc@mandriva.org> 0.7.0-1mdv2007.0
+ Revision: 88663
- fix build with new python

  + Guillaume Rousse <guillomovitch@mandriva.org>
    - new version
    - Import archivemail