]>
Commit | Line | Data |
---|---|---|
cd41da1f ER |
1 | # NOTE |
2 | # - new name will be probably mbsync, but project name still stays isync | |
3 | Summary: Tool to synchronize IMAP4 and Maildir mailboxes | |
4 | Name: isync | |
e759d670 | 5 | Version: 1.4.0 |
1c65a4fa | 6 | Release: 2 |
cd41da1f ER |
7 | License: GPL v2+ |
8 | Group: Applications/Networking | |
9 | URL: http://isync.sourceforge.net/ | |
10 | Source0: http://downloads.sourceforge.net/isync/%{name}-%{version}.tar.gz | |
e759d670 | 11 | # Source0-md5: bf60773c0ec03f132aac546df9cc7b87 |
1c65a4fa | 12 | Patch0: unexpected_fetch_response.patch |
f6f8694a JP |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
e759d670 | 15 | BuildRequires: cyrus-sasl-devel |
f6f8694a | 16 | BuildRequires: db-devel >= 4.2 |
cd41da1f | 17 | BuildRequires: openssl-devel |
e759d670 JP |
18 | BuildRequires: perl-base >= 1:5.14 |
19 | BuildRequires: pkgconfig >= 1:0.9.0 | |
20 | BuildRequires: zlib-devel | |
cd41da1f ER |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | isync is a command line application which synchronizes mailboxes; | |
25 | currently Maildir and IMAP4 mailboxes are supported. New messages, | |
26 | message deletions and flag changes can be propagated both ways. isync | |
27 | is suitable for use in IMAP-disconnected mode. | |
28 | ||
29 | %prep | |
30 | %setup -q | |
1c65a4fa | 31 | %patch0 -p1 |
cd41da1f ER |
32 | |
33 | %build | |
f6f8694a JP |
34 | %{__aclocal} |
35 | %{__autoconf} | |
36 | %{__autoheader} | |
37 | %{__automake} | |
cd41da1f ER |
38 | %configure |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | %{__make} install \ | |
44 | INSTALL="install -p" \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
e759d670 | 47 | rm -r $RPM_BUILD_ROOT%{_docdir}/isync |
cd41da1f ER |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
e759d670 | 54 | %doc AUTHORS NEWS README TODO ChangeLog src/mbsyncrc.sample |
cd41da1f ER |
55 | %attr(755,root,root) %{_bindir}/mbsync |
56 | %attr(755,root,root) %{_bindir}/mdconvert | |
186a3f62 | 57 | %attr(755,root,root) %{_bindir}/mbsync-get-cert |
cd41da1f | 58 | %{_mandir}/man1/* |