From c7c815caa5ac63b1b1aa5d96d360ed0cdddd3aa3 Mon Sep 17 00:00:00 2001 From: Robert Kuska Date: Mon, 8 Apr 2013 11:48:19 +0200 Subject: [PATCH] Initial import (#948757). --- .gitignore | 1 + python-whoosh.spec | 49 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 51 insertions(+) create mode 100755 python-whoosh.spec 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 2.4.1-2 +- Review fixes + +* Fri Apr 5 2013 Robert Kuska 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