isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 37c2379bde9638bfb2327055ca08b5c6a1ac4dca
parent 1b25e3b7394a4845e81cea582a3bf4538622c498
Author: Michael Elkins <me@mutt.org>
Date:   Thu, 21 Dec 2000 20:56:14 +0000

added support for building RPMS

Diffstat:
MMakefile.am | 6++++++
Aisync.spec.in | 33+++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am @@ -2,9 +2,15 @@ bin_PROGRAMS=isync isync_SOURCES=main.c imap.c sync.c maildir.c isync.h list.c man_MANS=isync.1 EXTRA_DIST=sample.isyncrc $(man_MANS) +CPPFLAGS=$(RPM_OPT_FLAGS) log: rcs2log -h sigipe.org | sed 's;/home/cvs/isync/;;g' > ChangeLog isync.html: isync.1 groff -Thtml -man isync.1 > isync.html + +rpm: + make dist + cp isync-$(VERSION).tar.gz /usr/src/RPM/SOURCES + rpm -ba --target=i586 --clean isync.spec diff --git a/isync.spec.in b/isync.spec.in @@ -0,0 +1,33 @@ +Summary: Utility to synchronize IMAP mailboxes with local maildir folders +Name: isync +Version: 0.3 +Release: 1 +Copyright: GPL +Group: Applications/Internet +Source: http://www.sigpipe.org/isync/isync-0.3.tar.gz +URL: http://www.sigpipe.org/isync/ +Packager: Michael Elkins <me@mutt.org> +BuildRoot: /var/tmp/%{name}-buildroot + +%description +isync is a command line utility for synchronizing a remote IMAP mailbox with a +local maildir-style mailbox. This is useful for working in disconnected mode, +such as on a laptop. Modifications made locally and remotely are synchronized +so that no message status flags are lost. + +%prep +%setup +%build +./configure --prefix=/usr +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%doc COPYING README TODO ChangeLog +/usr/bin/isync +/usr/man/man1/isync.1.bz2