]> git.pld-linux.org Git - packages/offlineimap.git/blame - offlineimap.spec
up to 6.6.0
[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
3ba1b715 6Version: 6.6.0
381c4c53 7Release: 1
030e0164 8License: GPL v2
9Group: Applications/Mail
983f56ec 10Source0: http://github.com/OfflineIMAP/%{name}/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
3ba1b715 11# Source0-md5: 645bcc778150bc66f6648efe38804af6
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
983f56ec 45%setup -q
8a3006e5
JP
46%patch0 -p1
47
48%build
297698d0 49%if %{with doc}
381c4c53 50%{__make} -C docs
297698d0 51%endif
030e0164 52
53%install
54rm -rf $RPM_BUILD_ROOT
daa8a465 55python ./setup.py install \
56 --optimize=2 \
57 --root=$RPM_BUILD_ROOT
58
59find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
297698d0 60install %{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
daa8a465 61
297698d0 62%if %{with doc}
381c4c53
JP
63install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_mandir}/man7}
64install docs/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
65install docs/offlineimapui.7 $RPM_BUILD_ROOT%{_mandir}/man7
297698d0 66%endif
030e0164 67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
381c4c53 73%doc CONTRIBUTING.rst Changelog.md MAINTAINERS.rst README.md offlineimap.conf*
297698d0 74%if %{with doc}
381c4c53 75%doc docs/html/*.html
8a3006e5 76%{_mandir}/man1/offlineimap.1*
381c4c53 77%{_mandir}/man7/offlineimapui.7*
297698d0
JP
78%endif
79%attr(755,root,root) %{_bindir}/*
daa8a465 80%{py_sitescriptdir}/%{name}
31c61589 81%{py_sitescriptdir}/*.egg-info
This page took 0.047471 seconds and 4 git commands to generate.