package created by autospec [release 2.4.0-1mamba;Fri Sep 25 2015]
This commit is contained in:
parent
dba7dacd33
commit
c8812e7f7d
@ -1,2 +1,4 @@
|
|||||||
# python-jsonschema
|
# python-jsonschema
|
||||||
|
|
||||||
|
jsonschema is an implementation of JSON Schema for Python.
|
||||||
|
|
||||||
|
47
python-jsonschema.spec
Normal file
47
python-jsonschema.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
Name: python-jsonschema
|
||||||
|
Version: 2.4.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: jsonschema is an implementation of JSON Schema for Python
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
URL: http://pypi.python.org/pypi/jsonschema
|
||||||
|
Source: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
|
||||||
|
License: MIT
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: python-argparse
|
||||||
|
BuildRequires: python-nose
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
Requires: python >= %python_version
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n jsonschema-%{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} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
%files -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING README.rst
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Sep 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 2.4.0-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user