Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:babelworx:python
python-pylucene
python-pylucene.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pylucene.spec of Package python-pylucene
% define tarball_name pylucene-2.4.1-2-src.tar.bz2 # Upstream uses 'weird' version identifiers - we replace the '-' with a dot to # be rpm-compatible %define LUCENE_VERSION 2.4.1 %define UPSTREAM_VERSION %{LUCENE_VERSION}-2 %define UPSTREAM_NAME PyLucene %define JCC "%{__python} %{python_sitedir}/jcc/__init__.py" Name: python-pylucene Version: %{LUCENE_VERSION} Release: 1 Summary: Python search engine library Group: Development/Languages License: MIT license URL: http://pylucene.osafoundation.org Source0: http://downloads.osafoundation.org/PyLucene/jcc/%{name}-%{UPSTREAM_VERSION}-src-jcc.tar.gz Source1: http://www.apache.org/dist/lucene/java/lucene-%{LUCENE_VERSION}-src.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: ant python-devel python-jcc-devel %description PyLucene is a Python extension for accessing Java Lucene. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python. It is designed to be API compatible with the latest version of Java Lucene. Please note that this version does not use GCJ any more. Instead the Java Native Interface is used via generated C++ wrapper classes. %package docs Summary: PyLucene documentation Group: Documentation %description docs This package contains the documentation and samples for PyLucene. %prep %setup -q -n %{name}-%{UPSTREAM_VERSION} # -D Do not delete the directory before unpacking. # -a # will untar Source# after cd'ing into the directory. %setup -D -a 1 -n %{name}-%{UPSTREAM_VERSION} mv lucene-%{LUCENE_VERSION} lucene-java-%{LUCENE_VERSION} %build # PyLucene does not use autoconf, so we need a custom mechanism to tell the # Makefile if it should use 'lib' oder 'lib64'. LIBDIR_NAME=`echo %{_libdir} | sed -e "s/^.*\/\(lib6\?4\?\).*$/\1/"` LIBDIR_NAME=${LIBDIR_NAME} PYTHON=%{__python} JCC=%{JCC} ANT=ant NUM_FILES=2 \ make all %install rm -rf $RPM_BUILD_ROOT DESTDIR=%{buildroot} PYTHON=%{__python} JCC=%{JCC} ANT=ant NUM_FILES=2 \ make install INSTALL_OPT="--root $RPM_BUILD_ROOT" %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES LICENSE README %{python_sitearch}/lucene* %files docs %doc samples %changelog * Mon Aug 25 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 2.3.2.1-3 - added build requirement for python-jcc-devel * Thu May 22 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 2.3.2.1-2 - small cleanups and guideline compliance changes * Thu May 22 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 2.3.2.1-1 - updated to 2.3.1 * Sat Sep 22 2007 Felix Schwarz <felix.schwarz@web.de> - 2.2.0-2.svn338 - (build) requirements corrected - package will built correctly on i386 and x86_64 * Fri Sep 21 2007 Felix Schwarz <felix.schwarz@web.de> - 2.2.0-1.svn338 - switched to latest trunk version (r338) because stable version does not work with gcj 4.1 * Thu Sep 20 2007 Felix Schwarz <felix.schwarz@web.de> - 2.2.0-1.1 - initial spec file creation
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor