Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gabooo
sphinx
sphinx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sphinx.spec of Package sphinx
# # spec file for package sphinx (Version 0.9.9) # # Copyright (c) 2006--2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: sphinx Version: 0.9.9 Release: 2 %define pkg_version 0.9.9 # License: GPL Group: Productivity/Databases/Servers # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ mysql-devel postgresql-devel libexpat-devel -post-build-checks # Url: http://sphinxsearch.com/ Source: http://sphinxsearch.com/downloads/%{name}-%{pkg_version}.tar.gz Source1: %{name}.init # Summary: Free open-source SQL full-text search engine %description Sphinx is a full-text search engine, distributed under GPL version 2. Commercial licensing is also available upon request. Generally, it's a standalone search engine, meant to provide fast, size-efficient and relevant fulltext search functions to other applications. Sphinx was specially designed to integrate well with SQL databases and scripting languages. Currently built-in data source drivers support fetching data either via direct connection to MySQL, PostgreSQL, or from a pipe in a custom XML format. As for the name, Sphinx is an acronym which is officially decoded as SQL Phrase Index. Yes, I know about CMU's Sphinx project. %debug_package %prep %setup -n %{name}-%{pkg_version} find -type d -name CVS -print0 | xargs -r0 rm -rf %build CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" sh -x buildconf.sh %configure --sysconfdir=%{_sysconfdir}/%{name}/ --with-mysql --with-pgsql %{__make} %install %makeinstall %{__cp} -v %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf{.dist,} for i in spelldump indexer search searchd indextool; do %{__mv} %{buildroot}%{_bindir}/{,%{name}-}$i done %{__install} -dD -m 0755 %{buildroot}%{_sysconfdir}/{init.d,} %{buildroot}%{_sbindir} %{buildroot}%{_localstatedir}/lib/%{name} %{__install} -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{name} ln -sf %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %clean %{__rm} -rf %{buildroot} %preun %stop_on_removal %{name} %postun %insserv_cleanup %restart_on_update %{name} %files %defattr(-,root,root,-) %config %dir %{_sysconfdir}/%{name} %config %{_sysconfdir}/%{name}/example.sql %config(noreplace) %{_sysconfdir}/%{name}/sphinx.conf %config %{_sysconfdir}/%{name}/sphinx.conf.dist %config %{_sysconfdir}/%{name}/sphinx-min.conf.dist %config %{_sysconfdir}/init.d/%{name} %dir %{_localstatedir}/lib/%{name} %{_bindir}/sphinx-spelldump %{_bindir}/sphinx-indexer %{_bindir}/sphinx-search %{_bindir}/sphinx-searchd %{_bindir}/sphinx-indextool %{_sbindir}/rc%{name} %doc COPYING api/ contrib/scripts/ %doc doc/*.html doc/*.css doc/*.txt %changelog * Thu Sep 24 2009 - gaboo@gaboo.org - Update to version 0.9.9 final * Thu Sep 24 2009 - gaboo@gaboo.org - Update to version 0.9.9-svn2007. rc2 does not compile on openSUSE 11.1. * Thu Sep 24 2009 - gaboo@gaboo.org - Update to version 0.9.9-rc2 * Sat Jan 17 2009 - opensuse@sukimashita.com - Update to version 0.9.9-rc1 * Tue Sep 16 2008 - opensuse@sukimashita.com - Update to version 0.9.8 * Wed Apr 30 2008 - opensuse@sukimashita.com - Silence searchd when started by init script - Version 0.9.8 rc2
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