Rebase for python-lxml 4.3.0 08/198908/1
authorAnas Nashif <anas.nashif@intel.com>
Fri, 9 Nov 2012 20:20:16 +0000 (12:20 -0800)
committerHyunjee Kim <hj0426.kim@samsung.com>
Thu, 31 Jan 2019 04:23:14 +0000 (13:23 +0900)
Change-Id: Ica8f63f9313eedc2654c68cdbfece535513b91fb
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
packaging/python-lxml.manifest [new file with mode: 0644]
packaging/python-lxml.spec [new file with mode: 0644]

diff --git a/packaging/python-lxml.manifest b/packaging/python-lxml.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python-lxml.spec b/packaging/python-lxml.spec
new file mode 100644 (file)
index 0000000..8de7f9b
--- /dev/null
@@ -0,0 +1,41 @@
+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
+Source1001:    python-lxml.manifest
+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}
+cp %{SOURCE1001} .
+
+%build
+CFLAGS="%{optflags}" python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%manifest %{name}.manifest
+%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