]> git.pld-linux.org Git - packages/offlineimap.git/blame - offlineimap.spec
- up to 6.5.4
[packages/offlineimap.git] / offlineimap.spec
CommitLineData
ac2e4631 1%bcond_without doc
297698d0 2#
030e0164 3Summary: Mailboxes synchronization tool
3906dac5 4Summary(pl.UTF-8): Narzędzie do synchroniczacji skrzynek pocztowych
030e0164 5Name: offlineimap
8cae614f 6Version: 6.5.4
e9a214ca 7Release: 1
030e0164 8License: GPL v2
9Group: Applications/Mail
ac2e4631 10Source0: http://github.com/downloads/spaetz/%{name}/%{name}-v%{version}.tar.gz
8cae614f 11# Source0-md5: f696978785ecfc804271ec25100ef929
8a3006e5 12Patch0: %{name}-docs.patch
ac2e4631 13URL: https://offlineimap.org
3ac91906 14BuildRequires: rpm-pythonprov >= 4.1-13
297698d0
JP
15%if %{with doc}
16BuildRequires: docutils
17BuildRequires: sphinx-pdg
18%endif
ac2e4631 19Suggests: python-sqlite
b356aa0e 20BuildArch: noarch
030e0164 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24OfflineIMAP is a tool to simplify your e-mail reading. With
25OfflineIMAP, you can read the same mailbox from multiple computers.
26You get a current copy of your messages on each computer, and changes
27you make one place will be visible on all other systems. For instance,
28you can delete a message on your home computer, and it will appear
29deleted on your work computer as well. OfflineIMAP is also useful if
30you want to use a mail reader that does not have IMAP support, has
31poor IMAP support, or does not provide disconnected operation.
32
e9b4c571
JR
33%description -l pl.UTF-8
34OfflineIMAP to narzędzie upraszczające czytanie poczty elektronicznej.
35Za jego pomocą można czytać tą samą skrzynkę z wielu komputerów.
36Pobiera się aktualną kopię wiadomości na każdym komputerze, a zmiany
37dokonywane w jednym miejscu będą widoczne na wszystkich innych
38systemach. Na przyklad, można usunąć wiadomość na swoim domowym
39komputerze i zostanie ona usunięta także na komputerze w pracy.
40OfflineIMAP jest przydatne także jeśli chcemy używać czytnika poczty
41bez obsługi IMAP, z kiepską obsługą IMAP albo nie działającego bez
42połączenia.
030e0164 43
44%prep
8cae614f 45%setup -q -n spaetz-offlineimap-c9e9690
8a3006e5
JP
46%patch0 -p1
47
48%build
297698d0 49%if %{with doc}
8a3006e5
JP
50%{__make} doc
51%{__make} man
297698d0 52%endif
030e0164 53
54%install
55rm -rf $RPM_BUILD_ROOT
daa8a465 56python ./setup.py install \
57 --optimize=2 \
58 --root=$RPM_BUILD_ROOT
59
60find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
297698d0 61install %{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
daa8a465 62
297698d0 63%if %{with doc}
8a3006e5 64install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
8a3006e5 65install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
297698d0 66%endif
030e0164 67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
297698d0
JP
73%doc offlineimap.conf*
74%if %{with doc}
8cae614f 75%doc Changelog.html README docs/html/*.html
8a3006e5 76%{_mandir}/man1/offlineimap.1*
297698d0
JP
77%endif
78%attr(755,root,root) %{_bindir}/*
daa8a465 79%{py_sitescriptdir}/%{name}
31c61589 80%{py_sitescriptdir}/*.egg-info
This page took 0.041761 seconds and 4 git commands to generate.