Package certbot: 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 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | # This spec is backported to ALTLinux p8 automatically by rpmbph script from etersoft-build-utils. # # TODO %def_with plugins Name: certbot Version: 0.31.0 Release: alt0.M80P.1 Summary: A free, automated certificate authority client License: ASL 2.0 Group: Networking/Other Url: https://certbot.eff.org/ Packager: Vitaly Lipatov <lav@altlinux.ru> # #Source-url: https://pypi.python.org/packages/source/l/%name/%name-%version.tar.gz # Source-url: https://github.com/certbot/certbot/archive/v%version.tar.gz Source: %name-%version.tar BuildArch: noarch BuildRequires: python-devel python-module-distribute #Requires: python-module-%name = %version-%release Provides: python-module-%name = %EVR Obsoletes: python-module-%name < %EVR Requires: python-module-zope.component Requires: python-module-zope.interface >= 4.1.0 Requires: python-module-pyasn1 >= 0.1.8 Requires: python-module-cffi >= 1.4.2 # missed by autoreq Requires: python-module-future Requires: python-module-setuptools >= 13 # Due Prior to Python 2.7.9 the stdlib SSL module did not allow a user to configure # See /usr/lib/python2.7/site-packages/acme/client.py Requires: python-base >= 2.7.9 # Required for documentation #BuildRequires: python-sphinx #BuildRequires: python-sphinx_rtd_theme #BuildRequires: python-repoze-sphinx-autointerface #BuildRequires: python-sphinxcontrib-programoutput BuildRequires: python-module-acme >= %version Provides: letsencrypt = %version Obsoletes: letsencrypt %define certbotdir %_datadir/%name %add_python_req_skip certbot BuildRequires: rpm-build-compat >= 1.7.24 %description Let's Encrypt is a free, automated certificate authority that aims to lower the barriers to entry for encrypting all HTTP traffic on the internet. # TODO: move to /usr/share/%name %package -n python-module-%name Group: Networking/Other Requires: python-module-configargparse >= 0.10.0 # already in core python #Requires: python-module-argparse Requires: python-module-psutil >= 2.1.0 Requires: python-module-acme >= %version #Recommends: letsencrypt-doc Summary: Python 2 libraries used by %name Provides: python-module-letsencrypt = %version Obsoletes: python-module-letsencrypt %description -n python-module-%name The python2 libraries to interface with letsencrypt. # TODO %if_with plugins %package apache Group: Networking/Other Summary: Certbot Apache plugin AutoProv: no Requires: %name = %version-%release %description apache Certbot Apache plugin. %package nginx Group: Networking/Other Summary: Certbot nginx plugin AutoProv: no Requires: %name = %version-%release %description nginx Certbot nginx plugin. %endif %prep %setup %build %python_build cd certbot-apache %python_build cd ../certbot-nginx %python_build %install %python_install --install-purelib=%certbotdir cd certbot-apache %python_install --install-purelib=%certbotdir cd ../certbot-nginx %python_install --install-purelib=%certbotdir cd - # TODO: remove compat dirs mkdir -p %buildroot%_sysconfdir/letsencrypt ln -s letsencrypt %buildroot%_sysconfdir/%name mkdir -p %buildroot%_sharedstatedir/letsencrypt ln -s letsencrypt %buildroot%_sharedstatedir/%name mkdir -p %buildroot%_logdir/letsencrypt ln -s letsencrypt %buildroot%_logdir/%name ln -s %name %buildroot%_bindir/letsencrypt # it is better do not require argparse on python >= 2.7. #__subst "s|^argparse$||" %buildroot%python_sitelibdir/%name-%{version}*.egg-info/requires.txt %__subst 's|^__requires__.*|\ # ALT: use own package dir\ import site\ site.addsitedir("%certbotdir")|' %buildroot%_bindir/%name %check #python_test %files %doc LICENSE.txt %doc README.rst CHANGELOG.md CONTRIBUTING.md %_bindir/%name #%doc %attr(0644,root,root) %_man1dir/%{name}* %dir %_sysconfdir/%name/ %dir %_sharedstatedir/%name/ %dir %_logdir/%name/ # compats %_bindir/letsencrypt %dir %_sysconfdir/letsencrypt/ %dir %_sharedstatedir/letsencrypt/ %dir %_logdir/letsencrypt/ #files -n python-module-%name #doc LICENSE.txt %dir %certbotdir/ %certbotdir/%name/ %certbotdir/%name-%{version}*.egg-info %if_with plugins %files nginx %doc LICENSE.txt %certbotdir/certbot_nginx/ %certbotdir/certbot_nginx-%{version}*.egg-info %files apache %doc LICENSE.txt %certbotdir/certbot_apache/ %certbotdir/certbot_apache-%{version}*.egg-info %endif %changelog * Tue Feb 12 2019 Vitaly Lipatov <lav@altlinux.ru> 0.31.0-alt0.M80P.1 - backport to ALTLinux p8 (by rpmbph script) * Sat Feb 09 2019 Vitaly Lipatov <lav@altlinux.ru> 0.31.0-alt1 - new version 0.31.0 (with rpmrb script) * Tue Feb 05 2019 Vitaly Lipatov <lav@altlinux.ru> 0.30.2-alt1 - new version 0.30.2 (with rpmrb script) * Fri Dec 14 2018 Vitaly Lipatov <lav@altlinux.ru> 0.29.1-alt1 - new version 0.29.1 (with rpmrb script) * Sat Nov 24 2018 Vitaly Lipatov <lav@altlinux.ru> 0.28.0-alt1 - new version 0.28.0 (with rpmrb script) * Sat Oct 06 2018 Vitaly Lipatov <lav@altlinux.ru> 0.27.1-alt1 - new version 0.27.1 (with rpmrb script) * Thu Aug 30 2018 Vitaly Lipatov <lav@altlinux.ru> 0.26.1-alt1 - new version 0.26.1 (with rpmrb script) * Fri Jun 22 2018 Vitaly Lipatov <lav@altlinux.ru> 0.25.1-alt1 - new version 0.25.1 (with rpmrb script) * Sat May 26 2018 Vitaly Lipatov <lav@altlinux.ru> 0.24.0-alt1 - new version 0.24.0 (with rpmrb script) * Sat Mar 24 2018 Vitaly Lipatov <lav@altlinux.ru> 0.22.2-alt1 - new version 0.22.2 (with rpmrb script) * Thu Mar 15 2018 Vitaly Lipatov <lav@altlinux.ru> 0.22.0-alt1 - new version 0.22.0 (with rpmrb script) (ALT bug 34643) * Sun Jan 21 2018 Vitaly Lipatov <lav@altlinux.ru> 0.21.0-alt1 - new version 0.21.0 (with rpmrb script) * Fri Oct 06 2017 Vitaly Lipatov <lav@altlinux.ru> 0.19.0-alt1 - new version 0.19.0 (with rpmrb script) - drop python-module-cerbot subpackage - pack nginx and apache plugins * Tue Aug 08 2017 Vitaly Lipatov <lav@altlinux.ru> 0.14.2-alt1 - new version 0.14.2 (with rpmrb script) * Sat Jul 22 2017 Vitaly Lipatov <lav@altlinux.ru> 0.14.1-alt1 - new version 0.14.1 (with rpmrb script) * Sat Apr 08 2017 Vitaly Lipatov <lav@altlinux.ru> 0.13.0-alt1 - new version 0.13.0 (with rpmrb script) * Fri Mar 10 2017 Terechkov Evgenii <evg@altlinux.org> 0.12.0-alt1 - 0.12.0 * Sun Dec 04 2016 Vitaly Lipatov <lav@altlinux.ru> 0.9.3-alt1 - new version 0.9.3 (with rpmrb script) * Fri Oct 07 2016 Vitaly Lipatov <lav@altlinux.ru> 0.9.1-alt1 - new version 0.9.1 (with rpmrb script) * Thu Aug 18 2016 Vitaly Lipatov <lav@altlinux.ru> 0.8.1-alt1 - rename to certbot, build version 0.8.1 * Thu Apr 21 2016 Vitaly Lipatov <lav@altlinux.ru> 0.5.0-alt1 - new version 0.5.0 (with rpmrb script) * Fri Mar 18 2016 Vitaly Lipatov <lav@altlinux.ru> 0.4.2-alt1 - new version 0.4.2 (with rpmrb script) - fix requires * Wed Feb 17 2016 Vitaly Lipatov <lav@altlinux.ru> 0.4.0-alt1 - initial build for ALT Linux Sisyphus * Thu Feb 11 2016 Nick Bebout <nb@fedoraproject.org> - 0.4.0-1 - Update to 0.4.0 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 28 2016 Nick Bebout <nb@fedoraproject.org> - 0.3.0-1 - Update to 0.3.0 * Sat Jan 23 2016 Robert Buchholz <rbu@fedoraproject.org> - 0.2.0-4 - Use acme dependency version consistently and add psutil min version * Fri Jan 22 2016 Nick Bebout <nb@fedoraproject.org> - 0.2.0-3 - Update the configargparse version in other places * Fri Jan 22 2016 Nick Bebout <nb@fedoraproject.org> - 0.2.0-2 - Update python-configargparse version requirement * Thu Jan 21 2016 Nick Bebout <nb@fedoraproject.org> - 0.2.0-1 - Apache plugin support for non-Debian based systems - Relaxed PyOpenSSL version requirements - Resolves issues with the Apache plugin enabling redirect - Improved error messages from the client * Wed Dec 16 2015 Nick Bebout <nb@fedoraproject.org> - 0.1.1-2 - Fix packaging issues * Wed Dec 16 2015 Nick Bebout <nb@fedoraproject.org> - 0.1.1-1 - fix a confusing UI path that caused some users to repeatedly renew their - certs while experimenting with the client, in some cases hitting issuance rate limits - numerous Apache configuration parser fixes - avoid attempting to issue for unqualified domain names like "localhost" - fix --webroot permission handling for non-root users * Tue Dec 08 2015 Nick Bebout <nb@fedoraproject.org> - 0.1.0-3 - Add python-sphinx_rtd_theme build requirement * Fri Dec 04 2015 James Hogarth <james.hogarth@gmail.com> - 0.1.0-2 - Add documentation from upstream * Thu Dec 03 2015 James Hogarth <james.hogarth@gmail.com> - 0.1.0-1 - Update to new upstream release for the open beta * Thu Dec 03 2015 James Hogarth <james.hogarth@gmail.com> - 0.0.0-5.dev20151123 - Add missing build requirements that slipped through * Wed Dec 02 2015 James Hogarth <james.hogarth@gmail.com> - 0.0.0-4.dev20151123 - The python2 library should have the dependencies and not the bindir one * Wed Dec 02 2015 James Hogarth <james.hogarth@gmail.com> - 0.0.0-3.dev20151123 - Separate out the python libraries from the application itself - Enable python tests * Tue Dec 01 2015 James Hogarth <james.hogarth@gmail.com> - 0.0.0-2.dev20151123 - Update spec to account for the runtime dependencies discovered - Update spec to sit inline with current python practices * Sun Apr 26 2015 Torrie Fischer <tdfischer@hackerbots.net> 0-1.git1d8281d.fc20 - Initial package |