]> git.pld-linux.org Git - packages/isync.git/blame - isync.spec
- new, based on fc spec
[packages/isync.git] / isync.spec
CommitLineData
cd41da1f
ER
1# NOTE
2# - new name will be probably mbsync, but project name still stays isync
3Summary: Tool to synchronize IMAP4 and Maildir mailboxes
4Name: isync
5Version: 1.0.4
6Release: 1
7License: GPL v2+
8Group: Applications/Networking
9URL: http://isync.sourceforge.net/
10Source0: http://downloads.sourceforge.net/isync/%{name}-%{version}.tar.gz
11# Source0-md5: 8a836a6f4b43cd38a8b8153048417616
12Patch0: recursive_imap_ubuntu.patch
13BuildRequires: db-devel
14BuildRequires: iconv
15BuildRequires: openssl-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19isync is a command line application which synchronizes mailboxes;
20currently Maildir and IMAP4 mailboxes are supported. New messages,
21message deletions and flag changes can be propagated both ways. isync
22is suitable for use in IMAP-disconnected mode.
23
24%prep
25%setup -q
26%patch0 -p1
27
28# Convert to utf-8
29for file in ChangeLog; do
30 mv $file timestamp
31 iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
32 touch -r timestamp $file
33done
34
35%build
36%configure
37%{__make}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41%{__make} install \
42 INSTALL="install -p" \
43 DESTDIR=$RPM_BUILD_ROOT
44
45rm -r $RPM_BUILD_ROOT%{_datadir}/doc/isync
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc AUTHORS NEWS README TODO ChangeLog src/mbsyncrc.sample src/compat/isyncrc.sample
53%attr(755,root,root) %{_bindir}/isync
54%attr(755,root,root) %{_bindir}/mbsync
55%attr(755,root,root) %{_bindir}/mdconvert
56%attr(755,root,root) %{_bindir}/get-cert
57%{_mandir}/man1/*
This page took 0.055805 seconds and 4 git commands to generate.