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