File imap2mbox.spec of Package imap2mbox

# norootforbuild

Name:				imap2mbox
Version:			1.5.0
Release:			0
Summary:			Saves remote IMAP4 Folders to local Mbox Files
Source:        http://www.zerozone.it/Software/Linux/imap2mbox/imap2mbox-%{version}.tar.gz
URL:				http://www.zerozone.it/Software/Linux/imap2mbox/
Group:			Productivity/Networking/Email/Utilities
License:			GNU Lesser General Public License version 2.1 (LGPL v2.1)
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildArch:     noarch
Requires:      /usr/bin/python

%description
imap2mbox is a simple script that save remote IMAP4 folders to local mbox
files. It can be very useful if you need to save your remote mailboxes.

It also supports creating an HTML archive.




Authors:
--------
    Michele Pinassi <o-zone@zerozone.it>

%prep
%setup -q -n imap2mbox
%__sed -i 's|^\(#!\) */usr/bin/env *python\(.*\)$|\1%__python\2|' imap2mbox.py

%build

%install
%__install -D -m0755 imap2mbox.py "%{buildroot}%{_bindir}/imap2mbox"

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

%files
%defattr(-,root,root)
%doc LICENSE README
%{_bindir}/imap2mbox

%changelog
# vim: set sw=3 ts=3 noet:
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
openSUSE Build Service is sponsored by