[python-whoosh] Initial import (#948757).
Robert Kuska
rkuska at fedoraproject.org
Mon Apr 8 09:48:27 UTC 2013
commit c7c815caa5ac63b1b1aa5d96d360ed0cdddd3aa3
Author: Robert Kuska <rkuska at localhost.localdomain>
Date: Mon Apr 8 11:48:19 2013 +0200
Initial import (#948757).
.gitignore | 1 +
python-whoosh.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..98f3267 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Whoosh-2.4.1.tar.gz
diff --git a/python-whoosh.spec b/python-whoosh.spec
new file mode 100755
index 0000000..3d5cae1
--- /dev/null
+++ b/python-whoosh.spec
@@ -0,0 +1,49 @@
+%global mod_name Whoosh
+
+Name: python-whoosh
+Version: 2.4.1
+Release: 2%{?dist}
+Summary: Fast, pure-Python full text indexing, search, and spell checking library
+
+License: BSD
+URL: http://pythonhosted.org/Whoosh/
+Source0: https://pypi.python.org/packages/source/W/%{mod_name}/%{mod_name}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-nose
+BuildRequires: python-sphinx
+
+%description
+Whoosh is a fast, featureful full-text indexing and searching library
+implemented in pure Python. Programmers can use it to easily add search
+functionality to their applications and websites. Every part of how Whoosh
+works can be extended or replaced to meet your needs exactly.
+
+%prep
+%setup -q -n %{mod_name}-%{version}
+
+%build
+%{__python} setup.py build
+sphinx-build docs/source docs/html
+rm -f docs/html/.buildinfo
+rm -rf docs/html/.doctrees
+
+%check
+%{__python} setup.py test
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+%files
+%doc docs/html/ README.txt LICENSE.txt
+%{python_sitelib}/*.egg-info/
+%{python_sitelib}/whoosh
+
+%changelog
+* Mon Apr 8 2013 Robert Kuska <rkuska at redhat.com> 2.4.1-2
+- Review fixes
+
+* Fri Apr 5 2013 Robert Kuska <rkuska at redhat.com> 2.4.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..7b92457 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dba02916b83c64d35291bc327f39ecca Whoosh-2.4.1.tar.gz
More information about the scm-commits
mailing list