File msfetch.spec of Package msfetch
# vim: set sw=4 ts=4 et nu:
# norootforbuild
Name: msfetch
Version: 0.5
Release: 0
Summary: MS Exchange Mail Retrieval Utility
Source: http://www.isrcomputing.com/downloads/msfetch.tar.gz
URL: http://www.isrcomputing.com/index.php?option=com_content&view=article&id=154&Itemid=109
Group: Productivity/Networking/Email/Utilities
License: GNU General Public License version 3 (GPL v3)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl-libwww-perl
BuildRequires: perl(URI)
BuildRequires: perl(URI::Escape)
BuildRequires: perl-URI
BuildRequires: perl(XML::LibXML)
BuildRequires: perl(Time::Local)
BuildRequires: perl(HTTP::Cookies)
BuildRequires: perl(Getopt::Long)
BuildArch: noarch
%description
msfetch is a remote MS Exchange mail retrieval utility that retrieves email
from your MS Exchange OWA (2000/2003/2007) mailbox and saves it in .mbox files.
It uses WebDAV to retrieve emails over HTTP/HTTPS. It supports Windows Basic,
OWA Web Forms 2007, and OWA Web Forms 2003 authentication methods supported.
%prep
%setup -q -n "msfetch.%{version}"
%build
%install
%__install -D -m0755 msfetch "%{buildroot}%{_bindir}/msfetch"
%__mv .msfetchrc dot.msfetchrc
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc CHANGELOG LICENSE dot.msfetchrc
%{_bindir}/msfetch