## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 13; 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 Name: python-hl7 Version: 0.4.5 Release: %autorelease Summary: Python library parsing HL7 v2.x messages License: BSD-3-Clause URL: https://github.com/johnpaulett/python-hl7 Source0: %{pypi_source hl7} # Use intersphinx references from Fedora python documentation subpackage Patch: docs-intersphinx.patch # Remove build status logo that is no longer available in the repository # https://github.com/johnpaulett/python-hl7/pull/87 Patch: remove-build-status-logo.patch BuildArch: noarch BuildRequires: python3-devel # Documentation requirements BuildRequires: texinfo BuildRequires: python3dist(docutils) BuildRequires: python3dist(sphinx) BuildRequires: python3-sphinx-theme-alabaster # Intersphinx references BuildRequires: python3-docs %global _description %{expand: python-hl7 is a simple library for parsing messages of Health Level 7 (HL7) version 2.x into Python objects. python-hl7 includes a simple client that can send HL7 messages to a Minimal Lower Level Protocol (MLLP) server (mllp_send). HL7 is a communication protocol and message format for health care data. It is the de-facto standard for transmitting data between clinical information systems and between clinical devices. The version 2.x series, which is often is a pipe delimited format is currently the most widely accepted version of HL7 (there is an alternative XML-based format).} %description %_description %package -n python3-hl7 Summary: %{summary} %description -n python3-hl7 %_description %prep %autosetup -p1 -n hl7-%{version} cp %{_docdir}/python3-docs/html/objects.inv docs/ %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel pushd docs sphinx-build . build -b texinfo pushd build makeinfo --docbook python-hl7.texi popd popd %install %pyproject_install %pyproject_save_files -l hl7 mkdir -p %{buildroot}%{_datadir}/help/en/hl7 install -m644 docs/build/python-hl7.xml %{buildroot}%{_datadir}/help/en/hl7 %check %pyproject_check_import %{py3_test_envvars} %{python3} -m unittest discover -t . -s tests %files -n python3-hl7 -f %{pyproject_files} %{_bindir}/mllp_send %doc README.rst %lang(en) %{_datadir}/help/en/hl7 %changelog ## START: Generated by rpmautospec * Thu Nov 19 2026 Benson Muite - 0.4.5-13 - Unretire package bz#2556387 * Tue Jun 03 2025 Python Maint - 0.4.5-4 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 0.4.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Sep 04 2024 Miroslav Suchý - 0.4.5-2 - convert license to SPDX * Fri Jul 26 2024 Filipe Rosset - 0.4.5-1 - Update to 0.4.5 * Fri Jul 19 2024 Fedora Release Engineering - 0.3.3-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.3.3-31 - Rebuilt for Python 3.13 * Mon Jan 22 2024 Fedora Release Engineering - 0.3.3-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.3.3-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 0.3.3-28 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.3.3-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.3.3-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.3.3-25 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.3.3-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.3.3-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.3.3-22 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.3.3-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.3.3-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 25 2020 Ankur Sinha - 0.3.3-19 - Explicitly BR setuptools * Tue May 26 2020 Miro Hrončok - 0.3.3-18 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.3.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.3.3-16 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.3.3-15 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Apr 11 2019 Miro Hrončok - 0.3.3-13 - Subpackage python2-hl7 has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Feb 02 2019 Fedora Release Engineering - 0.3.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.3.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.3.3-10 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.3.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 19 2018 Iryna Shcherbina - 0.3.3-8 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Jul 27 2017 Fedora Release Engineering - 0.3.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.3.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.3.3-5 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.3.3-4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Mon Oct 19 2015 Ankur Sinha 0.3.3-1 - Update to latest upstream version - Build python3 version - Separate doc subpackage - mmlp_send is py3 only * Thu Jun 18 2015 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 06 2012 Ankur Sinha - 0.2.0-3 - spec bump for gcc 4.7 rebuild * Thu Jul 21 2011 Ankur Sinha - 0.2.0-2 - Correct description - Make additional docs * Sun Jul 17 2011 Ankur Sinha - 0.2.0-1 - Use the original source * Thu Jul 14 2011 Ankur Sinha - 0.1.1_xml.4-0.1.20110714git97ddbe9 - Initial rpm build ## END: Generated by rpmautospec