SPECS: python-pyenchant.spec (NEW) - initial
freetz
freetz at pld-linux.org
Sun Feb 12 12:27:16 CET 2006
Author: freetz Date: Sun Feb 12 11:27:16 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
python-pyenchant.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-pyenchant.spec
diff -u /dev/null SPECS/python-pyenchant.spec:1.1
--- /dev/null Sun Feb 12 12:27:16 2006
+++ SPECS/python-pyenchant.spec Sun Feb 12 12:27:11 2006
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define pname pyenchant
+Summary: Spellchecking library for Python
+Name: python-%{pname}
+Version: 1.1.5
+Release: 1
+License: LGPL v2.1
+Group: Libraries
+Source0: http://dl.sourceforge.net/pyenchant/%{pname}-%{version}.tar.gz
+# Source0-md5: d9a07392f1f0910635a221273ac9654d
+URL: http://pyenchant.sf.net/
+BuildRequires: enchant-devel >= 1.1.6
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+%pyrequires_eq python-libs
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyEnchant is a set of language bindings and some wrapper classes to
+make the excellent Enchant spellchecker available as a Python module.
+
+%prep
+%setup -q -n %{pname}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+ --optimize=2 \
+ --root $RPM_BUILD_ROOT \
+ --single-version-externally-managed
+
+find $RPM_BUILD_ROOT%{py_sitedir}/enchant -name '*.py' -exec rm -f {} \;
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/%{pname}-%{version}-*.egg-info
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README.txt TODO.txt
+%dir %{py_sitedir}/enchant
+%dir %{py_sitedir}/enchant/checker
+%dir %{py_sitedir}/enchant/tokenize
+%attr(755,root,root) %{py_sitedir}/enchant/*.so
+%{py_sitedir}/enchant/*.py[oc]
+%{py_sitedir}/enchant/checker/*.py[oc]
+%{py_sitedir}/enchant/tokenize/*.py[oc]
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/02/12 11:27:11 freetz
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list