Package python-module-libcloud: 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 | %define oname libcloud %def_without python3 Summary: A Python library to address multiple cloud provider APIs Name: python-module-%oname Version: 1.1.0 Release: alt1 Url: http://libcloud.apache.org/ Source: %name-%version.tar Packager: Valentin Rosavitskiy <valintinr@altlinux.org> License: ASL 2.0 Group: Development/Python BuildArch: noarch BuildRequires: python-dev python-module-setupdocs python-module-setuptools %if_with python3 BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-module-setupdocs python3-module-setuptools %endif %description libcloud is a client library for interacting with many of the popular cloud server providers. It was created to make it easy for developers to build products that work between any of the services that it supports. %package -n python3-module-%oname Summary: A Python library to address multiple cloud provider APIs Group: Development/Python3 %description -n python3-module-%oname libcloud is a client library for interacting with many of the popular cloud server providers. It was created to make it easy for developers to build products that work between any of the services that it supports. %package tests Summary: Unit tests Group: Development/Python %description tests Unit tests for python-module-%oname-tests %package -n python3-module-%oname-tests Summary: Unit tests Group: Development/Python3 %description -n python3-module-%oname-tests Unit tests for python-module-libcloud %prep %setup %if_with python3 cp -fR . ../python3 %endif %build %add_optflags -fno-strict-aliasing %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install #__python setup.py install --prefix=/usr --root=%buildroot %python_build_install --prefix=/usr %if_with python3 pushd ../python3 %python3_install popd %endif %files tests %dir %python_sitelibdir/libcloud/test %python_sitelibdir/libcloud/test/* %files %doc CHANGES.rst CONTRIBUTING.rst NOTICE README.rst %python_sitelibdir/* %exclude %python_sitelibdir/libcloud/test %if_with python3 %files -n python3-module-%oname-tests %dir %python3_sitelibdir/libcloud/test %python3_sitelibdir/libcloud/test/* %files -n python3-module-%oname %doc CHANGES.rst CONTRIBUTING.rst NOTICE README.rst %python3_sitelibdir/* %exclude %python3_sitelibdir/libcloud/test %endif %changelog * Mon Jul 25 2016 Valentin Rosavitskiy <valintinr@altlinux.org> 1.1.0-alt1 - New version - Build with python3 * Mon Feb 29 2016 Valentin Rosavitskiy <valintinr@altlinux.org> 0.20.1-alt1 - New version * Mon Aug 31 2015 Valentin Rosavitskiy <valintinr@altlinux.org> 0.18.0-alt1 - New version * Wed Feb 25 2015 Valentin Rosavitskiy <valintinr@altlinux.org> 0.17.0-alt1 - New version * Mon Nov 17 2014 Valentin Rosavitskiy <valintinr@altlinux.org> 0.16.0-alt1 - New version - Dropped py3 module caused dependiences issues * Wed Oct 29 2014 Valentin Rosavitskiy <valintinr@altlinux.org> 0.15.1-alt2 - Added module for Python 3 * Fri Jul 11 2014 Valentin Rosavitskiy <valintinr@altlinux.org> 0.15.1-alt1 - New version * Sat Jul 05 2014 Valentin Rosavitskiy <valintinr@altlinux.org> 0.15.0-alt1 - New version * Tue Jul 01 2014 Valentin Rosavitskiy <valintinr@altlinux.org> 0.14.1-alt2 - Add %dir for unit tests, just a little fix * Fri Jun 20 2014 Valentin Rosavitskiy <valintinr@altlinux.org> 0.14.1-alt1 - New version - Add subpackages python-module-libcloud-tests * Thu Jan 23 2014 Valentin Rosavitskiy <valintinr@altlinux.org> 0.14-alt1 - Initial build for ALT |