]> git.pld-linux.org Git - packages/isync.git/blob - isync.spec
- release 3 (by relup.sh)
[packages/isync.git] / isync.spec
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.0.4
6 Release:        3
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
11 # Source0-md5:  8a836a6f4b43cd38a8b8153048417616
12 Patch0:         recursive_imap_ubuntu.patch
13 BuildRequires:  db-devel
14 BuildRequires:  iconv
15 BuildRequires:  openssl-devel
16 BuildRequires:  pkgconfig
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
27 %patch0 -p1
28
29 # Convert to utf-8
30 for file in ChangeLog; do
31         mv $file timestamp
32         iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
33         touch -r timestamp $file
34 done
35
36 %build
37 %configure
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 %{__make} install \
43         INSTALL="install -p" \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 rm -r $RPM_BUILD_ROOT%{_datadir}/doc/isync
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc AUTHORS NEWS README TODO ChangeLog src/mbsyncrc.sample src/compat/isyncrc.sample
54 %attr(755,root,root) %{_bindir}/isync
55 %attr(755,root,root) %{_bindir}/mbsync
56 %attr(755,root,root) %{_bindir}/mdconvert
57 %attr(755,root,root) %{_bindir}/get-cert
58 %{_mandir}/man1/*
This page took 0.55661 seconds and 3 git commands to generate.