[python-editdist] * Initial package

Paul Wouters pwouters at fedoraproject.org
Fri Aug 10 19:24:49 UTC 2012


commit 4953ea17027cd64ff1a6d29d0c9ea32c3f909896
Author: Paul Wouters <paul at nohats.ca>
Date:   Fri Aug 10 15:24:13 2012 -0400

    * Initial package

 .gitignore           |    1 +
 python-editdist.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5fe3250 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/py-editdist-0.3.tar.gz
diff --git a/python-editdist.spec b/python-editdist.spec
new file mode 100644
index 0000000..2942819
--- /dev/null
+++ b/python-editdist.spec
@@ -0,0 +1,43 @@
+Summary: CPython module to quickly calculate Levenshtein's edit distance
+Name: python-editdist
+Version: 0.3
+Release: 4%{?dist}
+Source0: http://py-editdist.googlecode.com/files/py-editdist-%{version}.tar.gz
+License: BSD and ISC
+Group: Development/Libraries
+BuildRequires: python-devel python-setuptools-devel
+URL: http://code.google.com/p/py-editdist/
+
+%description
+"editdist" is a CPython module that calculates the Levenshtein edit
+distance between two strings. 
+
+%prep
+%setup -q -n py-editdist-%{version}
+
+%build
+%{__python} setup.py build
+
+%check
+PYTHONPATH=%{buildroot}/%{python_sitearch} %{__python} test.py
+
+%install
+%{__python} setup.py install -O1 --root=%{buildroot}
+
+%files
+%{python_sitearch}/editdist*
+%doc LICENSE README TODO ChangeLog 
+
+%changelog
+* Thu Aug 09 2012 Paul Wouters <pwouters at redhat.com> - 0.3-4
+- Added dist tag
+- Added check section.
+
+* Thu Aug 09 2012 Paul Wouters <pwouters at redhat.com> - 0.3-3
+- Fix mixed macros, license, changelog and url fields
+
+* Thu Aug 09 2012 Paul Wouters <pwouters at redhat.com> - 0.3-2
+- Fedora-ized
+
+* Wed Jul 05 2006 Damien Miller <djm at mindrot.org> - 0.3-1
+- Build RPM
diff --git a/sources b/sources
index e69de29..8a9b231 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8d6697145ae21a78a5a817cadeedb1ea  py-editdist-0.3.tar.gz


More information about the scm-commits mailing list