85 lines
2.6 KiB
RPMSpec
85 lines
2.6 KiB
RPMSpec
Name: python-rdflib
|
|
Version: 6.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 <silvan.calarco@mambasoft.it>
|
|
URL: https://pypi.org/project/rdflib/
|
|
Source: https://pypi.debian.net/rdflib/rdflib-%{version}.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libpython3-devel
|
|
Requires: python-isodate
|
|
Requires: python >= %python_version
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%if 0%{?with_pyver}
|
|
%define py_requires_append \
|
|
Requires: python-isodate%{?pyappend:-%pyappend} \
|
|
Obsoletes: python-rdflib <= 5.0.0-1mamba
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n rdflib-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} setup.py install \
|
|
-O1 --skip-build \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{_includedir}/python \
|
|
--install-lib=%{python_sitearch} \
|
|
--single-version-externally-managed \
|
|
--record=%{name}.filelist
|
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|
|
* Tue Jul 20 2021 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-3mamba
|
|
- fix obsolete for python-rdflib
|
|
|
|
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-2mamba
|
|
- rebuilt with python3
|
|
|
|
* Wed May 20 2020 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Feb 06 2017 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 13 2015 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Feb 20 2015 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|