69 lines
2.1 KiB
RPMSpec
69 lines
2.1 KiB
RPMSpec
Name: python-rdflib
|
|
Version: 4.2.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.python.org/pypi/rdflib/
|
|
Source: https://pypi.python.org/packages/source/r/rdflib/rdflib-%{version}.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython-devel
|
|
BuildRequires: python
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libpython-devel
|
|
Requires: python-isodate
|
|
Requires: python >= %python_version
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%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 -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
## note: this list is just an example; modify as required
|
|
# %{python_sitearch}/%{name}.py*
|
|
# %{python_sitearch}/%{name}.so
|
|
|
|
## note: eventually add the remaining documents (if any)
|
|
#
|
|
|
|
%changelog
|
|
* 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
|