Kaynağa Gözat

Import from latest srpm

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@533 ec354946-7b23-47d6-9f5a-488ba84defc7
kazutaka 15 yıl önce
ebeveyn
işleme
cfda1f7266
1 değiştirilmiş dosya ile 51 ekleme ve 0 silme
  1. 51 0
      p/python-lxml/python-lxml.spec

+ 51 - 0
p/python-lxml/python-lxml.spec

@@ -0,0 +1,51 @@
+%define _lxml lxml
+Summary: lxml is a Pythonic binding for the libxml2 and libxslt libraries
+Summary(ja): lxml は libxml2 と libxslt の Python バインディングです
+Name: python-%{_lxml}
+Group: Development/Libraries
+Version: 2.2.6
+Release: 1%{?_dist_release}
+License: BSD
+URL: http://codespeak.net/lxml
+#URL: http://pypi.python.org/pypi/lxml
+Source: http://pypi.python.org/packages/source/l/%{_lxml}/%{_lxml}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Vendor: Project Vine
+Distribution: Vine Linux
+
+BuildRequires: libxml2-devel >= 2.7.2
+BuildRequires: libxslt-devel >= 1.1.15
+BuildRequires: python-devel >= 2.3
+BuildRequires: python-pyrex
+
+%description
+lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries.  It is
+unique in that it combines the speed and feature completeness of these
+libraries with the simplicity of a native Python API, mostly compatible but
+superior to the well-known ElementTree_ API.  See the introduction_ for more
+information about background and goals.
+
+%prep
+%setup -q -n %{_lxml}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install --root=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt
+%doc doc
+%{python_sitearch}/%{_lxml}
+%{python_sitearch}/%{_lxml}-*-info
+
+%changelog
+* Sun Mar 07 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.6-1
+- initial build for vine linux
+