johnl / deb-sphinx-search

Debian/Ubuntu package for the Sphinx, the free SQL full-text search engine

This URL has Read+Write access

johnl (author)
Sat Dec 13 14:37:29 -0800 2008
commit  9e16b906e8dae79d131950c5d674f40d352ed24e
tree    1d36fb6f7f5deb95cf2bfbb275c90c31e53ef984
parent  f5acaa2d9c0791dc19da50a95ae5b1daef672e1c
deb-sphinx-search / sphinx.spec
1ae8569f » johnl 2008-12-09 Imported Upstream version 0... 1 Summary: Sphinx full-text search engine
2 Name: sphinx
3 Version: 0.9.8.1
4 Release: r1533
5 License: GPL
6 Group: Development
7 BuildRoot: /tmp/sphinx-%{version}
8 Source: http://sphinxsearch.com/downloads/sphinx-%{version}.tar.gz
9 URL: http://sphinxsearch.com/
10 BuildRequires: mysql-devel
11 Requires: mysql
12
13
14 %description
15 Sphinx is a free, open-source full-text search engine,
16 designed with indexing database content in mind.
17
18
19 %prep
20 %setup -n sphinx-%{version}
21
22
23 %build
24 CPPFLAGS="-D_FILE_OFFSET_BITS=64"
25 export CPPFLAGS
26 %configure
27 make
28
29
30 %install
31 mkdir -p $RPM_BUILD_ROOT
32 make DESTDIR=$RPM_BUILD_ROOT install
33 mkdir -p $RPM_BUILD_ROOT/%{_libdir}/sphinx
34 cp -R -p api $RPM_BUILD_ROOT/%{_libdir}/sphinx
35
36
37 %files
38 /usr/bin/*
39 %{_libdir}/sphinx
40 %config /etc/*
41 %doc INSTALL doc/sphinx.*
42
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT