## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global libosmium_version 2.20.0 %global pybind_version 2.11.1 Name: pyosmium Version: 4.0.2 Release: %autorelease Summary: Python bindings for libosmium License: BSD-2-Clause URL: https://osmcode.org/pyosmium/ Source0: https://github.com/osmcode/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz # Disable stripping Patch0: pyosmium-no-strip.patch ExcludeArch: %{ix86} BuildRequires: cmake make BuildRequires: gcc-c++ BuildRequires: python3-devel BuildRequires: argparse-manpage BuildRequires: pybind11-devel >= %{pybind_version} BuildRequires: boost-devel BuildRequires: libosmium-devel >= %{libosmium_version} BuildRequires: libosmium-static >= %{libosmium_version} %description Provides Python bindings for the Libosmium C++ library, a library for working with OpenStreetMap data in a fast and flexible manner. %package -n python3-osmium Summary: %{summary} %description -n python3-osmium Provides Python bindings for the Libosmium C++ library, a library for working with OpenStreetMap data in a fast and flexible manner. %prep %autosetup -p1 %generate_buildrequires %pyproject_buildrequires -x tests %build %pyproject_wheel PYTHONPATH=$PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} %make_build -C docs man %install %pyproject_install %pyproject_save_files osmium mkdir -p %{buildroot}%{_mandir}/man1 install -p -m644 docs/man/*.1 %{buildroot}%{_mandir}/man1 %check %pytest %files -n python3-osmium -f %{pyproject_files} %doc README.md README.rst CHANGELOG.md docs/*.md docs/reference docs/user_manual %license LICENSE.TXT %{_bindir}/* %{_mandir}/man1/* %changelog ## START: Generated by rpmautospec * Sun Oct 20 2024 Tom Hughes - 4.0.2-1 - Update to 4.0.2 upstream release * Sun Sep 29 2024 Tom Hughes - 4.0.1-1 - Update to 4.0.1 upstream release * Fri Sep 20 2024 Tom Hughes - 4.0.0-1 - Update to 4.0.0 upstream release * Fri Jul 19 2024 Fedora Release Engineering - 3.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 3.7.0-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 3.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Nov 19 2023 Tom Hughes - 3.7.0-1 - Update to 3.7.0 upstream release * Fri Jul 21 2023 Fedora Release Engineering - 3.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 3.6.0-2 - Rebuilt for Python 3.12 * Sun Jan 22 2023 Tom Hughes - 3.6.0-1 - Update to 3.6.0 upstream release * Fri Jan 20 2023 Fedora Release Engineering - 3.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Nov 9 2022 Tom Hughes - 3.5.0-1 - Update to 3.5.0 upstream release * Fri Jul 29 2022 Tom Hughes - 3.4.1-1 - Update to 3.4.1 upstream release * Tue Jul 26 2022 Tom Hughes - 3.3.0-4 - Add patch for setuptools 62 support * Fri Jul 22 2022 Fedora Release Engineering - 3.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 3.3.0-2 - Rebuilt for Python 3.11 * Wed Mar 23 2022 Tom Hughes - 3.3.0-1 - Update to 3.3.0 upstream release * Fri Jan 21 2022 Fedora Release Engineering - 3.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 10 2021 Tom Hughes - 3.2.0-1 - Update to 3.2.0 upstream release * Fri Jul 23 2021 Fedora Release Engineering - 3.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.1.3-3 - Rebuilt for Python 3.10 * Tue Mar 30 2021 Jonathan Wakely - 3.1.3-2 - Rebuilt for removed libstdc++ symbol (#1937698) * Sat Feb 6 2021 Tom Hughes - 3.1.3-1 - Update to 3.1.3 upstream release * Wed Jan 27 2021 Fedora Release Engineering - 3.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 2021 Tom Hughes - 3.1.2-1 - Update to 3.1.2 upstream release * Wed Jan 13 2021 Tom Hughes - 3.1.1-1 - Update to 3.1.1 upstream release * Thu Nov 12 2020 Tom Hughes - 3.1.0-1 - Update to 3.1.0 upstream release * Mon Oct 5 2020 Tom Hughes - 3.0.1-3 - Require setuptools * Tue Jul 28 2020 Fedora Release Engineering - 3.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jul 26 2020 Tom Hughes - 3.0.1-1 - Update to 3.0.1 upstream release * Tue May 26 2020 Miro Hrončok - 3.0.0-2 - Rebuilt for Python 3.9 * Thu May 7 2020 Tom Hughes - 3.0.0-1 - Update to 3.0.0 upstream release * Sun Mar 1 2020 Tom Hughes - 2.15.4-1 - Update to 2.15.4 upstream release * Thu Jan 30 2020 Fedora Release Engineering - 2.15.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 2.15.3-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 2.15.3-3 - Rebuilt for Python 3.8 * Mon Aug 19 2019 Miro Hrončok - 2.15.3-2 - Rebuilt for Python 3.8 * Fri Aug 16 2019 Tom Hughes - 2.15.3-1 - Update to 2.15.3 upstream release * Fri Jul 26 2019 Fedora Release Engineering - 2.15.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Mar 9 2019 Tom Hughes - 2.15.2-1 - Update to 2.15.2 upstream release * Sat Feb 02 2019 Fedora Release Engineering - 2.15.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jan 25 2019 Jonathan Wakely - 2.15.1-2 - Rebuilt for Boost 1.69 * Thu Jan 24 2019 Tom Hughes - 2.15.1-1 - Update to 2.15.1 upstream release * Mon Dec 10 2018 Tom Hughes - 2.15.0-1 - Update to 2.15.0 upstream release * Mon Nov 12 2018 Tom Hughes - 2.14.4-1 - Update to 2.14.4 upstream release * Mon Oct 1 2018 Tom Hughes - 2.14.3-2 - Drop python2 subpackage * Thu Aug 9 2018 Tom Hughes - 2.14.3-1 - Update to 2.14.3 upstream release * Tue Aug 7 2018 Tom Hughes - 2.14.2-1 - Update to 2.14.2 upstream release * Fri Jul 13 2018 Fedora Release Engineering - 2.14.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 2.14.1-2 - Rebuilt for Python 3.7 * Fri Apr 27 2018 Tom Hughes - 2.14.1-1 - Update to 2.14.1 upstream release * Sun Apr 1 2018 Tom Hughes - 2.14.0-1 - Update to 2.14.0 upstream release * Fri Feb 09 2018 Fedora Release Engineering - 2.13.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 23 2018 Jonathan Wakely - 2.13.0-2 - Rebuilt for Boost 1.66 * Fri Sep 1 2017 Tom Hughes - 2.13.0-1 - Update to 2.13.0 upstream release * Sun Aug 20 2017 Tom Hughes - 2.12.4-1 - Update to 2.12.4 upstream release * Thu Aug 10 2017 Tom Hughes - 2.12.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 2.12.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.12.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jul 19 2017 Jonathan Wakely - 2.12.3-3 - Rebuilt for s390x binutils bug * Tue Jul 18 2017 Jonathan Wakely - 2.12.3-2 - Rebuilt for Boost 1.64 * Thu May 25 2017 Tom Hughes - 2.12.3-1 - Update to 2.12.3 upstream release * Fri May 5 2017 Tom Hughes - 2.12.2-1 - Update to 2.12.2 upstream release * Tue Apr 11 2017 Tom Hughes - 2.12.0-2 - Rebuild against libosmium 2.12.1 * Sun Mar 19 2017 Tom Hughes - 2.12.0-1 - Update to 2.12.0 upstream release * Tue Mar 7 2017 Tom Hughes - 2.11.0-2 - Rebuild against libosmium 2.12.0 * Fri Mar 3 2017 Tom Hughes - 2.11.0-1 - Initial build of 2.11.0 ## END: Generated by rpmautospec