]>
Commit | Line | Data |
---|---|---|
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 | |
5 | Version: 1.4.4 | |
6 | Release: 1 | |
7 | License: GPL v2+ | |
8 | Group: Applications/Networking | |
9 | Source0: https://downloads.sourceforge.net/isync/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: 29acced5c6f0c87e631b0ff641f8f942 | |
11 | URL: https://isync.sourceforge.net/ | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: cyrus-sasl-devel | |
15 | BuildRequires: db-devel >= 4.2 | |
16 | BuildRequires: openssl-devel | |
17 | BuildRequires: perl-base >= 1:5.14 | |
18 | BuildRequires: pkgconfig >= 1:0.9.0 | |
19 | BuildRequires: zlib-devel | |
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 | |
30 | ||
31 | %build | |
32 | %{__aclocal} | |
33 | %{__autoconf} | |
34 | %{__autoheader} | |
35 | %{__automake} | |
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 | ||
45 | rm -r $RPM_BUILD_ROOT%{_docdir}/isync | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc AUTHORS NEWS README TODO ChangeLog src/mbsyncrc.sample | |
53 | %attr(755,root,root) %{_bindir}/mbsync | |
54 | %attr(755,root,root) %{_bindir}/mdconvert | |
55 | %attr(755,root,root) %{_bindir}/mbsync-get-cert | |
56 | %{_mandir}/man1/* |