packages: isync/isync.spec (NEW) - new, based on fc spec probaly worth to...

glen glen at pld-linux.org
Fri Sep 10 19:52:42 CEST 2010


Author: glen                         Date: Fri Sep 10 17:52:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on fc spec
  probaly worth to read also: http://www.chrisstreeter.com/archive/2009/04/305/gmail-imap-backup-with-mbsync-on-ubuntu

---- Files affected:
packages/isync:
   isync.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/isync/isync.spec
diff -u /dev/null packages/isync/isync.spec:1.1
--- /dev/null	Fri Sep 10 19:52:42 2010
+++ packages/isync/isync.spec	Fri Sep 10 19:52:37 2010
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+# NOTE
+# - new name will be probably mbsync, but project name still stays isync
+Summary:	Tool to synchronize IMAP4 and Maildir mailboxes
+Name:		isync
+Version:	1.0.4
+Release:	1
+License:	GPL v2+
+Group:		Applications/Networking
+URL:		http://isync.sourceforge.net/
+Source0:	http://downloads.sourceforge.net/isync/%{name}-%{version}.tar.gz
+# Source0-md5:	8a836a6f4b43cd38a8b8153048417616
+Patch0:		recursive_imap_ubuntu.patch
+BuildRequires:	db-devel
+BuildRequires:	iconv
+BuildRequires:	openssl-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+isync is a command line application which synchronizes mailboxes;
+currently Maildir and IMAP4 mailboxes are supported. New messages,
+message deletions and flag changes can be propagated both ways. isync
+is suitable for use in IMAP-disconnected mode.
+
+%prep
+%setup -q
+%patch0 -p1
+
+# Convert to utf-8
+for file in ChangeLog; do
+	mv $file timestamp
+	iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
+	touch -r timestamp $file
+done
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL="install -p" \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -r $RPM_BUILD_ROOT%{_datadir}/doc/isync
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README TODO ChangeLog src/mbsyncrc.sample src/compat/isyncrc.sample
+%attr(755,root,root) %{_bindir}/isync
+%attr(755,root,root) %{_bindir}/mbsync
+%attr(755,root,root) %{_bindir}/mdconvert
+%attr(755,root,root) %{_bindir}/get-cert
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/09/10 17:52:37  glen
+- new, based on fc spec
+  probaly worth to read also: http://www.chrisstreeter.com/archive/2009/04/305/gmail-imap-backup-with-mbsync-on-ubuntu
================================================================


More information about the pld-cvs-commit mailing list