|
|
0b3ec5 |
%global pkg_name PyXB
|
|
|
0b3ec5 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
0b3ec5 |
Version: 1.2.4
|
|
|
0b3ec5 |
Release: 1.4%{?dist}
|
|
|
0b3ec5 |
Summary: Python XML Schema Bindings
|
|
|
0b3ec5 |
License: Apache
|
|
|
0b3ec5 |
URL: http://pyxb.sourceforge.net/
|
|
|
0b3ec5 |
Source0: https://github.com/pabigot/pyxb/archive/%{pkg_name}-%{version}.tar.gz
|
|
|
0b3ec5 |
BuildArch: noarch
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
BuildArch: noarch
|
|
|
0b3ec5 |
BuildRequires: python-devel
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%{?scl:Requires: %{scl_prefix}runtime}
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%description
|
|
|
0b3ec5 |
PyXB (“pixbee”) is a pure Python package that generates Python source
|
|
|
0b3ec5 |
code for classes that correspond to data structures defined by
|
|
|
0b3ec5 |
XMLSchema.
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%package doc
|
|
|
0b3ec5 |
Summary: PyXB documentation
|
|
|
0b3ec5 |
%{?scl:Requires: %{scl_prefix}runtime}
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%description doc
|
|
|
0b3ec5 |
This package contains documentation and examples for PyXB.
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%prep
|
|
|
0b3ec5 |
%setup -q -n pyxb-%{pkg_name}-%{version}
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%build
|
|
|
0b3ec5 |
%{__python} setup.py build
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%install
|
|
|
0b3ec5 |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}%{?_scl_root}
|
|
|
0b3ec5 |
rm -rf %{buildroot}%{python_sitelib}/pyxb/tests
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%check
|
|
|
0b3ec5 |
%{__python} setup.py test
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%files
|
|
|
0b3ec5 |
%doc LICENSE NOTICE
|
|
|
0b3ec5 |
%{?_scl_root}%{python_sitelib}/*
|
|
|
0b3ec5 |
%{_bindir}/pyxbdump
|
|
|
0b3ec5 |
%{_bindir}/pyxbgen
|
|
|
0b3ec5 |
%{_bindir}/pyxbwsdl
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%files doc
|
|
|
0b3ec5 |
%doc doc/* LICENSE NOTICE README.txt examples/*
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
%changelog
|
|
|
0b3ec5 |
* Fri Jan 16 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.4-1.4
|
|
|
0b3ec5 |
- Add missing requires on rh-java-common-runtime
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.2.4-1.3
|
|
|
0b3ec5 |
- Mass rebuild 2015-01-13
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Fri Jan 09 2015 Michal Srb <msrb@redhat.com> - 1.2.4-1.2
|
|
|
0b3ec5 |
- Mass rebuild 2015-01-09
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Wed Dec 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.4-1.1
|
|
|
0b3ec5 |
- SCL-ize package
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Mon Oct 20 2014 Michal Srb <msrb@redhat.com> - 1.2.4-1
|
|
|
0b3ec5 |
- Update to official upstream version 1.2.4
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Mon Sep 22 2014 Michal Srb <msrb@redhat.com> - 1.2.4-0.2.gitc494ba3
|
|
|
0b3ec5 |
- Move documentation and examples to subpackage (Resolves: rhbz#1144488)
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Thu Jul 17 2014 Michal Srb <msrb@redhat.com> - 1.2.4-0.1
|
|
|
0b3ec5 |
- Update to prerelease version 1.2.4
|
|
|
0b3ec5 |
- Add python3 subpackage
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-2
|
|
|
0b3ec5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Fri Apr 25 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.3-1
|
|
|
0b3ec5 |
- Update to upstream version 1.2.3
|
|
|
0b3ec5 |
- Resolves: rhbz#1086133
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-5
|
|
|
0b3ec5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
|
|
|
0b3ec5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-3
|
|
|
0b3ec5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
|
|
|
0b3ec5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
0b3ec5 |
|
|
|
0b3ec5 |
* Wed Mar 16 2011 Marek Mahut <mmahut@fedoraproject.org> - 1.1.2-1
|
|
|
0b3ec5 |
- Initial build
|