Пакет python-module-docker: 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 | %define oname docker %def_with python3 Name: python-module-%oname Version: 3.1.4 Release: alt0.M80P.1 Summary: Python client for Docker. License: %asl Group: Development/Python Url: https://github.com/docker/docker-py Source: %oname-%version.tar BuildArch: noarch BuildRequires(pre): rpm-build-licenses BuildPreReq: rpm-build-python BuildRequires: python-devel python-module-distribute python-module-pip Requires: python-module-backports.ssl_match_hostname >= 3.5 Requires: python-module-ipaddress >= 1.0.16 %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-distribute python3-module-pip %endif %setup_python_module %oname %description An API client for docker written in Python %if_with python3 %package -n python3-module-%oname Summary: Python client for Docker. (Python 3) Group: Development/Python3 %description -n python3-module-%oname An API client for docker written in Python %endif %prep %setup -n %oname-%version %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif %filter_from_requires /python3[(]six.moves[)]/d %files %doc LICENSE README.md # Exclude Windows specific stuff %exclude %python_sitelibdir/%oname/transport/npipesocket.py %exclude %python_sitelibdir/%oname/transport/npipeconn.py %python_sitelibdir/%oname/ %python_sitelibdir/*.egg-info %if_with python3 %files -n python3-module-%oname # Exclude Windows specific stuff %exclude %python3_sitelibdir/%oname/transport/npipesocket.py %exclude %python3_sitelibdir/%oname/transport/npipeconn.py %python3_sitelibdir/%oname/ %python3_sitelibdir/*.egg-* %endif %changelog * Tue Apr 3 2018 Vladimir Didenko <cow@altlinux.ru> 3.1.4-alt0.M80P.1 - Backport to p8 * Thu Mar 22 2018 Vladimir Didenko <cow@altlinux.ru> 3.1.4-alt1 - 3.1.4 * Wed Jan 17 2018 Vladimir Didenko <cow@altlinux.ru> 2.7.0-alt1 - 2.7.0 * Wed Jul 5 2017 Vladimir Didenko <cow@altlinux.ru> 2.4.2-alt1 - 2.4.2 * Fri Apr 7 2017 Vladimir Didenko <cow@altlinux.ru> 2.2.1-alt1 - 2.2.1 * Mon Mar 6 2017 Vladimir Didenko <cow@altlinux.ru> 2.1.0-alt1 - 2.1.0 * Wed Jan 25 2017 Vladimir Didenko <cow@altlinux.ru> 2.0.2-alt1 - 2.0.2 * Fri Dec 16 2016 Vladimir Didenko <cow@altlinux.ru> 1.10.6-alt1 - 1.10.6 * Wed Oct 12 2016 Vladimir Didenko <cow@altlinux.ru> 1.10.3-alt1 - 1.10.3 * Wed Aug 3 2016 Vladimir Didenko <cow@altlinux.ru> 1.9.0-alt1 - 1.9.0 * Fri May 6 2016 Vladimir Didenko <cow@altlinux.ru> 1.8.1-alt1 - 1.8.1 * Fri Mar 11 2016 Vladimir Didenko <cow@altlinux.ru> 1.7.2-alt1 - 1.7.2 * Mon Feb 8 2016 Vladimir Didenko <cow@altlinux.ru> 1.7.0-alt1 - 1.7.0 * Mon Nov 16 2015 Vladimir Didenko <cow@altlinux.ru> 1.5.0-alt1 - 1.5.0 * Mon Sep 14 2015 Vladimir Didenko <cow@altlinux.ru> 1.4.0-alt1 - 1.4.0 |