%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-rdflib Version: 7.0.0 Release: 1mamba Summary: A Python library for working with RDF, a simple yet powerful language for representing information. Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.org/project/rdflib/ Source: https://pypi.debian.net/rdflib/rdflib-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel BuildRequires: python3.11dist(isodate) BuildRequires: python3.11dist(pyparsing) ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba BuildRequires: libpython3-devel %description %{summary}. %if 0%{?with_pyver} %if "%{with_pyver}" == "3" %define py_requires_append \ Requires: python-isodate%{?pyappend:-%pyappend} \ Obsoletes: python-rdflib <= 5.0.0-1mamba \ Obsoletes: python-rdflib-py3 <= 6.2.0-2mamba %endif %pyver_package %endif %prep %setup -q -n rdflib-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl %if "%{?with_pyver}" != "3" # Rename any conflicting file outside of python site packages tree for f in %{_bindir}/{csv2rdf,rdf2dot,rdfgraphisomorphism,rdfpipe,rdfs2dot}; do mv %{buildroot}${f}{,-%{?pyappend}} done %endif %files %{?pyappend} %defattr(-,root,root) %{_bindir}/csv2rdf* %{_bindir}/rdf2dot* %{_bindir}/rdfgraphisomorphism* %{_bindir}/rdfpipe* %{_bindir}/rdfs2dot* %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/%{pkgname} %{python_sitelib}/%{pkgname}/* %changelog * Thu Dec 28 2023 Automatic Build System 7.0.0-1mamba - automatic version update by autodist * Tue Dec 26 2023 Silvan Calarco 6.2.0-3mamba - obsolete python-rdflib-py310 * Tue Sep 26 2023 Automatic Build System 6.2.0-2mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba * Wed Jul 27 2022 Automatic Build System 6.2.0-1mamba - automatic version update by autodist * Tue Dec 21 2021 Automatic Build System 6.1.1-1mamba - automatic version update by autodist * Mon Oct 11 2021 Automatic Build System 6.0.2-1mamba - automatic version update by autodist * Sat Sep 18 2021 Automatic Build System 6.0.1-1mamba - automatic version update by autodist * Tue Jul 20 2021 Automatic Build System 6.0.0-1mamba - automatic version update by autodist * Fri Jan 22 2021 Silvan Calarco 5.0.0-3mamba - fix obsolete for python-rdflib * Tue Jan 19 2021 Silvan Calarco 5.0.0-2mamba - rebuilt with python3 * Wed May 20 2020 Automatic Build System 5.0.0-1mamba - automatic version update by autodist * Mon Feb 06 2017 Automatic Build System 4.2.2-1mamba - automatic version update by autodist * Thu Aug 13 2015 Automatic Build System 4.2.1-1mamba - automatic version update by autodist * Fri Feb 20 2015 Automatic Build System 4.2.0-1mamba - automatic version update by autodist * Wed Apr 23 2014 Automatic Build System 4.1.2-1mamba - automatic version update by autodist * Thu Apr 10 2014 Automatic Build System 4.1.1-1mamba - automatic version update by autodist * Wed Feb 12 2014 Silvan Calarco 4.1.0-1mamba - update to 4.1.0 * Fri May 17 2013 Silvan Calarco 3.2.0-2mamba - python 2.7 mass rebuild * Tue Sep 04 2012 Silvan Calarco 3.2.0-1mamba - package created by autospec