diff --git a/.gitignore b/.gitignore index e69de29..2457db5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/jsonschema-0.2.tar.gz diff --git a/python-jsonschema.spec b/python-jsonschema.spec new file mode 100644 index 0000000..dd1f77a --- /dev/null +++ b/python-jsonschema.spec @@ -0,0 +1,40 @@ +# Created by pyp2rpm-0.4.2 +%global pypi_name jsonschema + +Name: python-%{pypi_name} +Version: 0.2 +Release: 1%{?dist} +Summary: An implementation of JSON Schema validation for Python + +License: MIT +URL: http://pypi.python.org/pypi/jsonschema/0.2 +Source0: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-0.2.tar.gz +BuildArch: noarch + +BuildRequires: python-devel + + +%description +jsonschema is JSON Schema validator currently based on +http://tools.ietf.org/html/draft-zyp-json-schema-03 + +%prep +%setup -q -n %{pypi_name}-%{version} + +%build +%{__python} setup.py build + + +%install +%{__python} setup.py install -O1 --skip-build --root %{buildroot} + + +%files +%doc README.rst COPYING +%{python_sitelib}/%{pypi_name}.* +%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info + + +%changelog +* Wed May 23 2012 Pádraig Brady - 0.2-1 +- Initial package. diff --git a/sources b/sources index e69de29..97c8ed8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d91f3c642f37faf557ab07ed78ee8961 jsonschema-0.2.tar.gz