%define name imapsync %define version 1.142 %define release dm1 Summary: IMAP folder synchronisation tool Name: %{name} Version: %{version} Release: %{release} Source0: http://www.linux-france.org/prj/imapsync/dist/%{name}-%{version}.tgz Source1: %{name}-Makefile.PL.bz2 Copyright: GPL Group: Networking/Mail BuildRoot: %{_tmppath}/%{name}-buildroot BuildArchitectures: noarch Requires: perl-Mail-IMAPClient %description The command imapsync is a tool allowing incremental and recursive imap transfer from one mailbox to another. imapsync reduces the amount of data transfered by not transfering a given message if it is already on both sides. Same headers, same message size and the transfer is done only once. All flags are preserved, unread will stay unread, read will stay read, deleted will stay deleted. You can stop the transfer at any time and restart it later. %prep %setup bzcat %{SOURCE1} > Makefile.PL %build %__perl Makefile.PL INSTALLDIRS=vendor make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=%{buildroot} install rm -f %{buildroot}/usr/lib/perl5/5.8.5/i386-linux-thread-multi/perllocal.pod rm -f %{buildroot}/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/imapsync/.packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog CREDITS FAQ GPL README %{_bindir}/%{name} %{_mandir}/man*/* %changelog * Sun Nov 27 2005 Durval Menezes 1.142-dm1 - Update to 1.142 * Sun Mar 06 2005 Omar Kilani 1.121-1ts - Update to 1.121. - Initial tinysofa release. * Wed Jul 28 2004 Michael Brown 1.96-1fs - First packaged version