forked from pool/python-rdflib
Accepting request 314727 from home:TheBlackCat:branches:devel:languages:python
Split documentation into doc subpackage OBS-URL: https://build.opensuse.org/request/show/314727 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=45
This commit is contained in:
@@ -56,6 +56,17 @@ language for representing information. The library contains an RDF/XML
|
||||
parser/serializer that conforms to the RDF/XML Syntax Specification (Revised).
|
||||
The library also contains both in-memory and persistent Graph backends.
|
||||
|
||||
%package doc
|
||||
Summary: A Python library for working with RDF
|
||||
Recommends: %{name} = %{version}
|
||||
Group: Development/Libraries/Python
|
||||
|
||||
%description doc
|
||||
RDFLib is a Python library for working with RDF, a simple yet powerful
|
||||
language for representing information. The library contains an RDF/XML
|
||||
parser/serializer that conforms to the RDF/XML Syntax Specification (Revised).
|
||||
The library also contains both in-memory and persistent Graph backends.
|
||||
|
||||
%prep
|
||||
%setup -q -n rdflib-%{version}
|
||||
# remove unwanted shebang
|
||||
@@ -109,7 +120,7 @@ fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGELOG.md LICENSE CONTRIBUTORS README.md docs/_build/html
|
||||
%doc CHANGELOG.md LICENSE CONTRIBUTORS README.md
|
||||
%ghost %{_sysconfdir}/alternatives/csv2rdf
|
||||
%ghost %{_sysconfdir}/alternatives/rdf2dot
|
||||
%ghost %{_sysconfdir}/alternatives/rdfgraphisomorphism
|
||||
@@ -128,4 +139,8 @@ fi
|
||||
%{python_sitelib}/rdflib/
|
||||
%{python_sitelib}/rdflib-%{version}-py*.egg-info
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc docs/_build/html
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user