[PyXB] Initial import

Marek Mahut mmahut at fedoraproject.org
Sun Mar 20 09:44:47 UTC 2011


commit f994fe9e38ddd157a91ce41a20eb15e2822fd6fa
Author: Marek Mahut <mmahut at redhat.com>
Date:   Sun Mar 20 10:43:45 2011 +0100

    Initial import

 .gitignore |    1 +
 PyXB.spec  |   41 +++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9445cab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PyXB-full-1.1.2.tar.gz
diff --git a/PyXB.spec b/PyXB.spec
new file mode 100644
index 0000000..26752ce
--- /dev/null
+++ b/PyXB.spec
@@ -0,0 +1,41 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+
+Name:           PyXB
+Version:        1.1.2
+Release:        1%{?dist}
+Summary:        Python XML Schema Bindings
+
+Group:          Development/Languages
+License:        Apache
+URL:            http://pyxb.sourceforge.net/
+Source0:        http://downloads.sourceforge.net/project/pyxb/pyxb/1.1.2%20%28Beta%29/%{name}-full-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+
+%description
+PyXB (“pixbee”) is a pure Python package that generates Python source code for classes that correspond to data structures defined by XMLSchema.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+ 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc doc/* LICENSE NOTICE PKG-INFO README.txt examples/*
+%{python_sitelib}/*
+%{_bindir}/pyx*
+
+%changelog
+* Wed Mar 16 2011 Marek Mahut <mmahut at fedoraproject.org> - 1.1.2-1
+- Initial build
diff --git a/sources b/sources
index e69de29..986d57d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2614e945274d5c23b96bafb12f639674  PyXB-full-1.1.2.tar.gz


More information about the scm-commits mailing list