]> git.pld-linux.org Git - packages/isync.git/commitdiff
- new, based on fc spec auto/th/isync-1_0_4-1
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 10 Sep 2010 17:52:37 +0000 (17:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  probaly worth to read also: http://www.chrisstreeter.com/archive/2009/04/305/gmail-imap-backup-with-mbsync-on-ubuntu

Changed files:
    isync.spec -> 1.1

isync.spec [new file with mode: 0644]

diff --git a/isync.spec b/isync.spec
new file mode 100644 (file)
index 0000000..4cd636a
--- /dev/null
@@ -0,0 +1,57 @@
+# 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/*
This page took 0.094181 seconds and 4 git commands to generate.