Package python3-module-MaxMindDB: 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 | %define oname MaxMindDB %define fname maxminddb Name: python3-module-%oname Version: 2.6.1 Release: alt1 Summary: Python MaxMind DB reader extension License: Apache-2.0 Group: Development/Python3 URL: https://pypi.org/project/maxminddb VCS: https://github.com/maxmind/MaxMind-DB-Reader-python Packager: Grigory Ustinov <grenka@altlinux.org> BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel BuildRequires: libmaxminddb-devel BuildRequires: python3-module-sphinx Source: %oname-%version.tar %description This is a Python module for reading MaxMind DB files. The module includes both a pure Python reader and an optional C extension. MaxMind DB is a binary file format that stores data indexed by IP address subnets (IPv4 or IPv6). %package doc Summary: Documentation for %oname Group: Development/Documentation %description doc This package provides the documentation for %oname. %package pickles Summary: Pickles for %oname Group: Development/Python3 %description pickles This package contains pickles for %oname. %prep %setup -n %oname-%version %build export MAXMINDDB_USE_SYSTEM_LIBMAXMINDDB=1 %pyproject_build %make SPHINXBUILD="sphinx-build-3" -C docs man %make SPHINXBUILD="sphinx-build-3" -C docs html %make SPHINXBUILD="sphinx-build-3" -C docs pickle %install %pyproject_install install -d %buildroot%_man1dir cp -fR docs/_build/man/* %buildroot%_man1dir install -d %buildroot%python3_sitelibdir/%fname cp -fR docs/_build/pickle %buildroot%python3_sitelibdir/%fname/ %files %doc README.rst %python3_sitelibdir/%fname %python3_sitelibdir/*.dist-info %_man1dir/* %exclude %python3_sitelibdir/%fname/pickle %files doc %doc LICENSE docs/_build/html %files pickles %python3_sitelibdir/%fname/pickle %changelog * Mon Apr 15 2024 Grigory Ustinov <grenka@altlinux.org> 2.6.1-alt1 - Automatically updated to 2.6.1. * Mon Mar 25 2024 Grigory Ustinov <grenka@altlinux.org> 2.6.0-alt1 - Automatically updated to 2.6.0. * Tue Jan 23 2024 Grigory Ustinov <grenka@altlinux.org> 2.5.2-alt1 - Automatically updated to 2.5.2. * Mon Jan 01 2024 Grigory Ustinov <grenka@altlinux.org> 2.5.1-alt1 - Automatically updated to 2.5.1. * Mon Jul 17 2023 Grigory Ustinov <grenka@altlinux.org> 2.4.0-alt1 - Automatically updated to 2.4.0. * Mon May 15 2023 Grigory Ustinov <grenka@altlinux.org> 2.3.0-alt1 - Automatically updated to 2.3.0. * Wed Oct 06 2021 Grigory Ustinov <grenka@altlinux.org> 2.2.0-alt1 - Automatically updated to 2.2.0. * Tue Nov 10 2020 Grigory Ustinov <grenka@altlinux.org> 2.0.3-alt1 - Automatically updated to 2.0.3. * Fri Jul 31 2020 Grigory Ustinov <grenka@altlinux.org> 2.0.2-alt1 - Automatically updated to 2.0.2. * Tue Jun 30 2020 Grigory Ustinov <grenka@altlinux.org> 1.5.4-alt1 - Automatically updated to 1.5.4. * Wed Feb 12 2020 Grigory Ustinov <grenka@altlinux.org> 1.5.2-alt1 - Build new version 1.5.2. - Add manpage. - Build docs correctly. - Add pickles subpackage. * Wed Nov 13 2019 Grigory Ustinov <grenka@altlinux.org> 1.5.1-alt1 - Build new version 1.5.1. - Build without python2. - Added docs. * Thu Dec 20 2018 Grigory Ustinov <grenka@altlinux.org> 1.4.1-alt1 - Initial build for Sisyphus. |