]> git.pld-linux.org Git - packages/offlineimap.git/blame - offlineimap.spec
up to 6.7.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
7267b3c5 6Version: 6.7.0
b8cd35b0 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
7267b3c5 11# Source0-md5: 91b92e3ee0e89290c90731e551c894aa
8a3006e5 12Patch0: %{name}-docs.patch
ac2e4631 13URL: https://offlineimap.org
3ac91906 14BuildRequires: rpm-pythonprov >= 4.1-13
a6ef58fd 15BuildRequires: rpmbuild(macros) >= 1.710
297698d0
JP
16%if %{with doc}
17BuildRequires: docutils
d171efea 18BuildRequires: sphinx-pdg-2
297698d0 19%endif
ac2e4631 20Suggests: python-sqlite
b356aa0e 21BuildArch: noarch
030e0164 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25OfflineIMAP is a tool to simplify your e-mail reading. With
26OfflineIMAP, you can read the same mailbox from multiple computers.
27You get a current copy of your messages on each computer, and changes
28you make one place will be visible on all other systems. For instance,
29you can delete a message on your home computer, and it will appear
30deleted on your work computer as well. OfflineIMAP is also useful if
31you want to use a mail reader that does not have IMAP support, has
32poor IMAP support, or does not provide disconnected operation.
33
e9b4c571
JR
34%description -l pl.UTF-8
35OfflineIMAP to narzędzie upraszczające czytanie poczty elektronicznej.
36Za jego pomocą można czytać tą samą skrzynkę z wielu komputerów.
37Pobiera się aktualną kopię wiadomości na każdym komputerze, a zmiany
38dokonywane w jednym miejscu będą widoczne na wszystkich innych
39systemach. Na przyklad, można usunąć wiadomość na swoim domowym
40komputerze i zostanie ona usunięta także na komputerze w pracy.
41OfflineIMAP jest przydatne także jeśli chcemy używać czytnika poczty
42bez obsługi IMAP, z kiepską obsługą IMAP albo nie działającego bez
43połączenia.
030e0164 44
45%prep
983f56ec 46%setup -q
8a3006e5
JP
47%patch0 -p1
48
49%build
297698d0 50%if %{with doc}
d171efea 51%{__make} -C docs SPHINXBUILD=%{_bindir}/sphinx-build-2
297698d0 52%endif
030e0164 53
54%install
55rm -rf $RPM_BUILD_ROOT
a6ef58fd 56%py_install
daa8a465 57
58find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
297698d0 59install %{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
daa8a465 60
297698d0 61%if %{with doc}
381c4c53
JP
62install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_mandir}/man7}
63install docs/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
64install docs/offlineimapui.7 $RPM_BUILD_ROOT%{_mandir}/man7
297698d0 65%endif
030e0164 66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
381c4c53 72%doc CONTRIBUTING.rst Changelog.md MAINTAINERS.rst README.md offlineimap.conf*
297698d0 73%if %{with doc}
381c4c53 74%doc docs/html/*.html
8a3006e5 75%{_mandir}/man1/offlineimap.1*
381c4c53 76%{_mandir}/man7/offlineimapui.7*
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.039637 seconds and 4 git commands to generate.