mirror of
https://gitee.com/clygintang/Dockfile-Coreseek.git
synced 2025-07-21 00:00:15 +08:00
46 lines
839 B
RPMSpec
Executable File
46 lines
839 B
RPMSpec
Executable File
Summary: Sphinx full-text search engine
|
|
Name: sphinx
|
|
Version: 0.9.9
|
|
Release: r1207
|
|
License: GPL
|
|
Group: Development
|
|
BuildRoot: /tmp/sphinx-%{version}-svn-%{release}
|
|
Source: http://sphinxsearch.com/downloads/sphinx-%{version}-svn-%{release}.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}-svn-%{release}
|
|
|
|
|
|
%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
|