2024-01-05 16:32:56 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-05 16:32:55 +01:00
|
|
|
Name: python-rdflib
|
2024-01-05 16:32:57 +01:00
|
|
|
Version: 7.0.0
|
|
|
|
Release: 1mamba
|
2024-01-05 16:32:55 +01:00
|
|
|
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 <silvan.calarco@mambasoft.it>
|
2024-01-05 16:32:55 +01:00
|
|
|
URL: https://pypi.org/project/rdflib/
|
2024-01-05 16:32:55 +01:00
|
|
|
Source: https://pypi.debian.net/rdflib/rdflib-%{version}.tar.gz
|
2024-01-05 16:32:55 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:32:56 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 16:32:56 +01:00
|
|
|
BuildRequires: python3.11dist(isodate)
|
|
|
|
BuildRequires: python3.11dist(pyparsing)
|
2024-01-05 16:32:55 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:32:56 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:32:55 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 16:32:55 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
%if 0%{?with_pyver}
|
2024-01-05 16:32:56 +01:00
|
|
|
%if "%{with_pyver}" == "3"
|
2024-01-05 16:32:55 +01:00
|
|
|
%define py_requires_append \
|
2024-01-05 16:32:55 +01:00
|
|
|
Requires: python-isodate%{?pyappend:-%pyappend} \
|
2024-01-05 16:32:56 +01:00
|
|
|
Obsoletes: python-rdflib <= 5.0.0-1mamba \
|
|
|
|
Obsoletes: python-rdflib-py3 <= 6.2.0-2mamba
|
|
|
|
%endif
|
2024-01-05 16:32:55 +01:00
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n rdflib-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-05 16:32:56 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-05 16:32:55 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 16:32:56 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-05 16:32:55 +01:00
|
|
|
|
2024-01-05 16:32:56 +01:00
|
|
|
%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
|
2024-01-05 16:32:55 +01:00
|
|
|
|
2024-01-05 16:32:56 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-05 16:32:55 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:32:56 +01:00
|
|
|
%{_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}/*
|
2024-01-05 16:32:55 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:32:57 +01:00
|
|
|
* Thu Dec 28 2023 Automatic Build System <autodist@mambasoft.it> 7.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:56 +01:00
|
|
|
* Tue Dec 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.0-3mamba
|
|
|
|
- obsolete python-rdflib-py310
|
|
|
|
|
2024-01-05 16:32:56 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 6.2.0-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:32:56 +01:00
|
|
|
* Wed Jul 27 2022 Automatic Build System <autodist@mambasoft.it> 6.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:56 +01:00
|
|
|
* Tue Dec 21 2021 Automatic Build System <autodist@mambasoft.it> 6.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:56 +01:00
|
|
|
* Mon Oct 11 2021 Automatic Build System <autodist@mambasoft.it> 6.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:56 +01:00
|
|
|
* Sat Sep 18 2021 Automatic Build System <autodist@mambasoft.it> 6.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
* Tue Jul 20 2021 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
* Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-3mamba
|
|
|
|
- fix obsolete for python-rdflib
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-2mamba
|
|
|
|
- rebuilt with python3
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
* Wed May 20 2020 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
* Mon Feb 06 2017 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
* Thu Aug 13 2015 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
* Fri Feb 20 2015 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:32:55 +01:00
|
|
|
* Wed Apr 23 2014 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 10 2014 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-1mamba
|
|
|
|
- update to 4.1.0
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Tue Sep 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- package created by autospec
|