File imapbackup.spec of Package imapbackup

Name:             imapbackup
Version:          1.4a
Release:          1%{?dist}
Summary:          Backup incrementally IMAP folders
URL:              http://www.tamale.net/imapbackup/
Group:            System/Management
License:          MIT
Source0:          %{name}-%{version}.tar.gz
BuildRoot:        %{_tmppath}/%{name}-%{version}-build
BuildArch:        noarch

Requires:         python


%description
This program incrementally backs up IMAP folders to local mbox files.
New messages are appended to the folder's mbox file. It is a Python
program, originally by Rui Carmo.
Features
  * Downloads all IMAP folders
  * Stores messages in mbox, mbox.gz, or mbox.bz2
  * Each folder downloads to its own mbox file, eg. Inbox.Drafts.mbox
  * Downloads only new messages, appends them to the mbox file
  * IMAP4 SSL, supporting client and server certificates
  * Accesses IMAP account in read-only mode. Does not affect message 'seen' status.

%prep
%setup -q


%build


%install
for script in *.py ; do
install -Dm755 $script %{buildroot}/%{_bindir}/${script}
done


%clean
%__rm -rf "%{buildroot}"


%files
%defattr(-,root,root,-)
%doc ChangeLog Example License
%{_bindir}/*.py

%changelog
* Wed Oct 30 2013 Stefan Jakobs <stefan.jakobs@rus.uni-stuttgart.de> - 1.4a
- initial release
openSUSE Build Service is sponsored by