diff --git a/python-rdflib.changes b/python-rdflib.changes index 5f4002e..264ff91 100644 --- a/python-rdflib.changes +++ b/python-rdflib.changes @@ -3,6 +3,19 @@ Mon Jun 11 09:34:31 UTC 2012 - dimstar@opensuse.org - Add python-isodate Requires: rdflib imports it. +------------------------------------------------------------------- +Wed Jun 6 18:17:39 UTC 2012 - jfunk@funktronics.ca + +- Require python-Sphinx instead of python-sphinx +- Change Source to full URL + +------------------------------------------------------------------- +Thu May 24 19:41:43 UTC 2012 - jfunk@funktronics.ca + +- Run tests +- Add missing requirements +- Build documentation + ------------------------------------------------------------------- Sat Apr 28 18:14:50 UTC 2012 - msuman@gnome.org diff --git a/python-rdflib.spec b/python-rdflib.spec index dd4668a..65320ee 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -16,6 +16,7 @@ # + Name: python-rdflib Version: 3.2.1 Release: 0 @@ -23,12 +24,15 @@ Summary: A Python library for working with RDF License: BSD-3-Clause Group: Development/Libraries/Python Url: http://rdflib.net/ -Source: rdflib-%{version}.tar.gz +Source: http://pypi.python.org/packages/source/r/rdflib/rdflib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +BuildRequires: python-isodate +BuildRequires: python-nose +BuildRequires: python-Sphinx BuildRequires: python-xml -# term.py:from isodate import parse_time, parse_date, parse_datetime Requires: python-isodate +Requires: python-xml %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 @@ -49,13 +53,18 @@ sed -i "1d" rdflib/plugins/parsers/{ntriples,notation3}.py # Fix non-executable %build python setup.py build +cd docs +make html + +%check +python setup.py test %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root) -%doc CHANGELOG LICENSE README +%doc CHANGELOG LICENSE README docs/_build/html %{python_sitelib}/* %changelog