add packaging accepted/tizen/20130503.225129 accepted/tizen/20130520.100537 accepted/trunk/20130325.213505 submit/tizen/20130503.232202 submit/tizen/20130509.183747 submit/tizen/20130517.023938 submit/trunk/20130325.083743
authorAnas Nashif <anas.nashif@intel.com>
Fri, 9 Nov 2012 20:20:16 +0000 (12:20 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Fri, 9 Nov 2012 20:20:16 +0000 (12:20 -0800)
packaging/python-lxml.spec [new file with mode: 0644]

diff --git a/packaging/python-lxml.spec b/packaging/python-lxml.spec
new file mode 100644 (file)
index 0000000..dc3fdae
--- /dev/null
@@ -0,0 +1,38 @@
+Name:           python-lxml
+Version:        2.3.4
+Release:        0
+Summary:        Powerful and Pythonic XML processing library
+License:        BSD-3-Clause and GPL-2.0+
+Group:          Development/Languages/Python
+Url:            http://lxml.de/
+Source:         http://pypi.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz
+BuildRequires:  libxslt-devel
+#BuildRequires:  python-Cython
+BuildRequires:  python-devel
+BuildRequires:  pkgconfig(libxml-2.0)
+
+%description
+lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It
+provides safe and convenient access to these libraries using the ElementTree
+API. It extends the ElementTree API significantly to offer support for XPath,
+RelaxNG, XML Schema, XSLT, C14N and much more.
+
+
+%prep
+%setup -q -n lxml-%{version}
+
+%build
+CFLAGS="%{optflags}" python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc LICENSES.txt 
+%{python_sitearch}/lxml/
+%{python_sitearch}/lxml-%{version}-py%{py_ver}.egg-info
+%exclude %{python_sitearch}/lxml/etree_defs.h
+
+
+%changelog