3 Summary: Mailboxes synchronization tool
4 Summary(pl.UTF-8): Narzędzie do synchroniczacji skrzynek pocztowych
9 Group: Applications/Mail
10 Source0: http://github.com/OfflineIMAP/%{name}/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
11 # Source0-md5: b595561eb2050767c376df3b92aa0d74
12 Patch0: %{name}-docs.patch
13 Patch1: %{name}-no_uidplus.patch
14 URL: https://offlineimap.org
15 BuildRequires: rpm-pythonprov >= 4.1-13
17 BuildRequires: docutils
18 BuildRequires: sphinx-pdg
20 Suggests: python-sqlite
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 OfflineIMAP is a tool to simplify your e-mail reading. With
26 OfflineIMAP, you can read the same mailbox from multiple computers.
27 You get a current copy of your messages on each computer, and changes
28 you make one place will be visible on all other systems. For instance,
29 you can delete a message on your home computer, and it will appear
30 deleted on your work computer as well. OfflineIMAP is also useful if
31 you want to use a mail reader that does not have IMAP support, has
32 poor IMAP support, or does not provide disconnected operation.
34 %description -l pl.UTF-8
35 OfflineIMAP to narzędzie upraszczające czytanie poczty elektronicznej.
36 Za jego pomocą można czytać tą samą skrzynkę z wielu komputerów.
37 Pobiera się aktualną kopię wiadomości na każdym komputerze, a zmiany
38 dokonywane w jednym miejscu będą widoczne na wszystkich innych
39 systemach. Na przyklad, można usunąć wiadomość na swoim domowym
40 komputerze i zostanie ona usunięta także na komputerze w pracy.
41 OfflineIMAP jest przydatne także jeśli chcemy używać czytnika poczty
42 bez obsługi IMAP, z kiepską obsługą IMAP albo nie działającego bez
57 rm -rf $RPM_BUILD_ROOT
58 python ./setup.py install \
60 --root=$RPM_BUILD_ROOT
62 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
63 install %{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
67 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %doc offlineimap.conf*
77 %doc Changelog.html README.md docs/html/*.html
78 %{_mandir}/man1/offlineimap.1*
80 %attr(755,root,root) %{_bindir}/*
81 %{py_sitescriptdir}/%{name}
82 %{py_sitescriptdir}/*.egg-info