Package offlineimap: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | %def_with doc Name: offlineimap Version: 7.3.3 Release: alt3 Summary: Powerful IMAP/Maildir synchronization and reader support License: GPLv2+ Group: Networking/Mail Url: http://offlineimap.org/ BuildArch: noarch # https://github.com/OfflineIMAP/offlineimap.git # Source-url: %__pypi_url %name Source: %name-%version.tar BuildRequires(pre): rpm-build-intro >= 2.2.4 BuildRequires: python-module-six python-modules-sqlite3 %if_with doc BuildRequires: docbook-utils asciidoc-a2x python-module-sphinx-devel %endif # it is not a python module AutoProv:no %description OfflineIMAP is a tool to simplify your e-mail reading. With OfflineIMAP, you can read the same mailbox from multiple computers. You get a current copy of your messages on each computer, and changes you make one place will be visible on all other systems. For instance, you can delete a message on your home computer, and it will appear deleted on your work computer as well. OfflineIMAP is also useful if you want to use a mail reader that does not have IMAP support, has poor IMAP support, or does not provide disconnected operation. %prep %setup -q ## py* -> py2 sed -i 's|#!/usr/bin/env python.*|#!/usr/bin/env python2|' \ $(find ./ -name '*.py') sed -i 's|#!/usr/bin/python.*|#!/usr/bin/python2|' \ $(find ./ -name '*.py') ## %build %python_build %install %python_install --prefix=%prefix %if_with doc %make -C docs man api SPHINXBUILD=sphinx-build mkdir -p %buildroot/%_man1dir install -p docs/%name.1 %buildroot/%_man1dir/ %endif %files %doc COPYING %name.conf* *.md %_bindir/%name %python_sitelibdir/%name/ %python_sitelibdir/%name-%version-py*.egg-info %if_with doc %doc docs/html %_man1dir/%name.1.* %endif %changelog * Thu Mar 24 2022 Alexey Sheplyakov <asheplyakov@altlinux.org> 7.3.3-alt3 - Bundled single-file dependencies (rfc6555, selectors2) * Thu Mar 11 2021 Ildar Mulyukov <ildar@altlinux.ru> 7.3.3-alt2 - back python3 -> python2, closes bug (ALT #39793) * Fri Nov 06 2020 Vitaly Lipatov <lav@altlinux.ru> 7.3.3-alt1 - new version 7.3.3 (with rpmrb script) - disable AutoProv (it is not a python module), drop tests * Fri Nov 06 2020 Vitaly Lipatov <lav@altlinux.ru> 7.2.4-alt3 - fix build with sphinx-build-3, cleanup spec, set download url * Mon Nov 25 2019 Andrey Bychkov <mrdrew@altlinux.org> 7.2.4-alt2 - python2 -> python3 * Sun Jul 14 2019 Denis Smirnov <mithraen@altlinux.ru> 7.2.4-alt1 - Version 7.2.4 (ALT #36991) * Fri Jan 06 2017 Igor Vlasenko <viy@altlinux.ru> 7.0.12-alt1 - automated PyPI update * Thu Feb 04 2016 Lenar Shakirov <snejok@altlinux.ru> 6.6.1-alt1 - Version 6.6.1 * Wed Sep 17 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.5.6.1-alt1.git20140708 - Version 6.5.6.1 * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 6.0.0-alt1.1.1 - Rebuild with Python-2.7 * Fri Nov 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.0.0-alt1.1 - Rebuilt with python 2.6 * Sat Jul 19 2008 Terechkov Evgenii <evg@altlinux.ru> 6.0.0-alt1 - 6.0.0 * Sun May 11 2008 Terechkov Evgenii <evg@altlinux.ru> 5.99.14-alt1 - 5.99.14 - Initial build for ALT Linux Sisyphus (Thanks to Fedora for initial spec) * Sun May 11 2008 Evgenii Terechkov <evg@altlinux.ru> 5.99.7-1 - spec macro abuse cleanup * Tue Mar 04 2008 Till Maas <opensource till name> - 5.99.7-1 - Update to latest version * Tue Mar 04 2008 Till Maas <opensource till name> - 5.99.6-1 - Update to latest version * Mon Jan 07 2008 Till Maas <opensource till name> - 5.99.4-2 - add egg-info to %%files * Sun Oct 21 2007 Till Maas <opensource till name> - 5.99.4-1 - update to new version * Tue Sep 04 2007 Till Maas <opensource till name> - 5.99.2-1 - update to new version - update license Tag - add unclosed listitem in offlineimap.sgml - add missing BR: docbook-utils - build manpage - remove todo and manual files from %%doc * Sat Dec 09 2006 Till Maas <opensource till name> - 4.0.16-3 - rebuild for python2.5 - added BR: python-devel, which is needed now * Mon Dec 04 2006 Till Maas <opensource till name> - 4.0.16-2 - added -p to cp to preserve timestamp of ChangeLog * Sun Dec 03 2006 Till Maas <opensource till name> - 4.0.16-1 - version bump - added one more %%{version} to Source0 - added FAQ.html, todo to %%doc - added debian/changelog as ChangeLog to %%doc * Sat Dec 02 2006 Till Maas <opensource till name> - 4.0.15-1 - added %%{?dist} tag - made Source0 a valid URL - rearranged tag order and changed whitespace - added -q -n %%name to %%setup - removed ChangeLog* from %%doc (not in archive) - added offlineimap.conf* to %%doc - Use %%{_bindir} and %%{python_sitelib} - removed directory docs from %%doc - added BuildArch: noarch - added manpage * Tue May 16 2006 Adam Spiers <adam@spiers.net> 4.0.13-3 - Force prefix to /usr * Mon May 15 2006 Adam Spiers <adam@spiers.net> 4.0.13-2 - Finally get savemessage_searchforheader right? * Sun May 14 2006 Adam Spiers <adam@spiers.net> 4.0.13-1 - Updated for 4.0.13 * Sat Apr 29 2006 Adam Spiers <offlineimap@adamspiers.org> 4.0.11-2 - Add patch for Groupwise IMAP servers. * Fri Apr 28 2006 Adam Spiers <offlineimap@adamspiers.org> 4.0.11-1 - Initial build. |