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