public
Description: Debian/Ubuntu package for the Sphinx, the free SQL full-text search engine
Homepage:
Clone URL: git://github.com/johnl/deb-sphinx-search.git
deb-sphinx-search / sphinx.spec
100644 46 lines (33 sloc) 0.796 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Summary: Sphinx full-text search engine
Name: sphinx
Version: 0.9.8.1
Release: r1533
License: GPL
Group: Development
BuildRoot: /tmp/sphinx-%{version}
Source: http://sphinxsearch.com/downloads/sphinx-%{version}.tar.gz
URL: http://sphinxsearch.com/
BuildRequires: mysql-devel
Requires: mysql
 
 
%description
Sphinx is a free, open-source full-text search engine,
designed with indexing database content in mind.
 
 
%prep
%setup -n sphinx-%{version}
 
 
%build
CPPFLAGS="-D_FILE_OFFSET_BITS=64"
export CPPFLAGS
%configure
make
 
 
%install
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/sphinx
cp -R -p api $RPM_BUILD_ROOT/%{_libdir}/sphinx
 
 
%files
/usr/bin/*
%{_libdir}/sphinx
%config /etc/*
%doc INSTALL doc/sphinx.*
 
 
%clean
rm -rf $RPM_BUILD_ROOT