From 0a46d7406d9f6f5e38d272096f5ab4fd9feca771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=E3=83=86=E3=82=A3=E3=83=93=E3=83=84?= Date: Fri, 14 Aug 2009 16:19:17 +0000 Subject: [PATCH 1/5] Initialize branch EL-5 for sphinx --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From 9e5e71c6b22298f122e94e9d761c97a64d2e70b7 Mon Sep 17 00:00:00 2001 From: Allisson Azevedo Date: Fri, 14 Aug 2009 17:16:52 +0000 Subject: [PATCH 2/5] First import. --- .cvsignore | 1 + import.log | 1 + sources | 1 + sphinx.init | 105 +++++++++++++++++++++++++++ sphinx.spec | 201 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 309 insertions(+) create mode 100644 import.log create mode 100755 sphinx.init create mode 100644 sphinx.spec diff --git a/.cvsignore b/.cvsignore index e69de29..2d8eb9d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +sphinx-0.9.8.1.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..557ff06 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +sphinx-0_9_8_1-3_fc11:EL-5:sphinx-0.9.8.1-3.fc11.src.rpm:1250269749 diff --git a/sources b/sources index e69de29..d5a6e9c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +428a14df41fb425e664d9e2d6178c037 sphinx-0.9.8.1.tar.gz diff --git a/sphinx.init b/sphinx.init new file mode 100755 index 0000000..76c5892 --- /dev/null +++ b/sphinx.init @@ -0,0 +1,105 @@ +#!/bin/sh +# +# sphinx searchd Free open-source SQL full-text search engine +# +# chkconfig: - 20 80 +# description: Starts and stops the sphinx searchd daemon that handles \ +# all search requests. + +### BEGIN INIT INFO +# Provides: searchd +# Required-Start: $local_fs $network +# Required-Stop: $local_fs $network +# Should-Start: $remote_fs +# Should-Stop: $remote_fs +# Default-Start: +# Default-Stop: 0 1 2 3 4 5 6 +# Short-Description: start and stop sphinx searchd daemon +# Description: Sphinx is a free open-source SQL full-text search engine +### END INIT INFO + +# Source function library. +. /etc/rc.d/init.d/functions + +exec="/usr/bin/searchd" +prog="searchd" +config="/etc/sphinx/sphinx.conf" + +lockfile=/var/lock/subsys/searchd + +start() { + [ -x $exec ] || exit 5 + [ -f $config ] || exit 6 + echo -n $"Starting $prog: " + # if not running, start it up here, usually something like "daemon $exec" + daemon $exec --config $config + retval=$? + echo + [ $retval -eq 0 ] && touch $lockfile + return $retval +} + +stop() { + echo -n $"Stopping $prog: " + # stop it here, often "killproc $prog" + killproc $prog + retval=$? + echo + [ $retval -eq 0 ] && rm -f $lockfile + return $retval +} + +restart() { + stop + start +} + +reload() { + restart +} + +force_reload() { + restart +} + +rh_status() { + # run checks to determine if the service is running or use generic status + status $prog +} + +rh_status_q() { + rh_status >/dev/null 2>&1 +} + + +case "$1" in + start) + rh_status_q && exit 0 + $1 + ;; + stop) + rh_status_q || exit 0 + $1 + ;; + restart) + $1 + ;; + reload) + rh_status_q || exit 7 + $1 + ;; + force-reload) + force_reload + ;; + status) + rh_status + ;; + condrestart|try-restart) + rh_status_q || exit 0 + restart + ;; + *) + echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}" + exit 2 +esac +exit $? diff --git a/sphinx.spec b/sphinx.spec new file mode 100644 index 0000000..c9d0a3f --- /dev/null +++ b/sphinx.spec @@ -0,0 +1,201 @@ +Name: sphinx +Version: 0.9.8.1 +Release: 3%{?dist} +Summary: Free open-source SQL full-text search engine + +Group: Applications/Text +License: GPLv2+ +URL: http://sphinxsearch.com +Source0: http://sphinxsearch.com/downloads/%{name}-%{version}.tar.gz +Source1: %{name}.init +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: mysql-devel +BuildRequires: postgresql-devel +BuildRequires: expat-devel +#Requires: + +Requires(post): chkconfig +Requires(preun): chkconfig +# This is for /sbin/service +Requires(preun): initscripts + + +%description +Sphinx is a full-text search engine, distributed under GPL version 2. +Commercial licensing (eg. for embedded use) is also available upon request. + +Generally, it's a standalone search engine, meant to provide fast, +size-efficient and relevant full-text 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, or PostgreSQL, or from a pipe in a custom XML +format. Adding new drivers (eg. to natively support some other DBMSes) is +designed to be as easy as possible. + +Search API is natively ported to PHP, Python, Perl, Ruby, Java, and also +available as a pluggable MySQL storage engine. API is very lightweight so +porting it to new language is known to take a few hours. + +As for the name, Sphinx is an acronym which is officially decoded as SQL +Phrase Index. Yes, I know about CMU's Sphinx project. + + +%package -n libsphinxclient +Summary: Pure C searchd client API library +Group: Development/Libraries + + +%description -n libsphinxclient +Pure C searchd client API library +Sphinx search engine, http://sphinxsearch.com/ + + +%package -n libsphinxclient-devel +Summary: Development libraries and header files for libsphinxclient +Group: Development/Libraries +Requires: libsphinxclient = %{version}-%{release} + + +%description -n libsphinxclient-devel +Pure C searchd client API library +Sphinx search engine, http://sphinxsearch.com/ + + +%prep +%setup -q + +# Fix wrong-file-end-of-line-encoding +sed -i 's/\r//' api/ruby/spec/sphinx/sphinx_test.sql +sed -i 's/\r//' api/java/mk.cmd +sed -i 's/\r//' api/ruby/spec/fixtures/keywords.php +sed -i 's/\r//' api/ruby/lib/sphinx/response.rb + + +%build +%configure --sysconfdir=/etc/sphinx --with-mysql --with-pgsql +make %{?_smp_mflags} + +# Build libsphinxclient +cd api/libsphinxclient/ +%configure +make #%{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p -c" + +# Install sphinx initscript +install -p -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/searchd + +# Create /var/log/sphinx +mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/sphinx + +# Create /var/run/sphinx +mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/sphinx + +# Create /var/lib/sphinx +mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/sphinx + +# Create sphinx.conf +cp $RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx-min.conf.dist \ + $RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf + +# Modify sphinx.conf +sed -i 's/\/var\/log\/searchd.log/\/var\/log\/sphinx\/searchd.log/g' \ +$RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf + +sed -i 's/\/var\/log\/query.log/\/var\/log\/sphinx\/query.log/g' \ +$RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf + +sed -i 's/\/var\/log\/searchd.pid/\/var\/run\/sphinx\/searchd.pid/g' \ +$RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf + +sed -i 's/\/var\/data\/test1/\/var\/lib\/sphinx\/test1/g' \ +$RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf + +# Create /etc/logrotate.d/sphinx +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d +cat > $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sphinx << EOF +/var/log/sphinx/*.log { + weekly + rotate 10 + copytruncate + delaycompress + compress + notifempty + missingok +} +EOF + +# Install libsphinxclient +cd api/libsphinxclient/ +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p -c" + +# clean-up .la archives +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +# clean-up .a archives +find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/chkconfig --add searchd + +%preun +if [ $1 = 0 ] ; then + /sbin/service searchd stop >/dev/null 2>&1 + /sbin/chkconfig --del searchd +fi + + +%post -p /sbin/ldconfig -n libsphinxclient + + +%postun -p /sbin/ldconfig -n libsphinxclient + + + +%files +%defattr(-,root,root,-) +%doc COPYING doc/sphinx.txt sphinx-min.conf.dist sphinx.conf.dist example.sql +%dir %{_sysconfdir}/sphinx +%config(noreplace) %{_sysconfdir}/sphinx/sphinx.conf +%exclude %{_sysconfdir}/sphinx/*.conf.dist +%exclude %{_sysconfdir}/sphinx/example.sql +%{_initrddir}/searchd +%config(noreplace) %{_sysconfdir}/logrotate.d/sphinx +%{_bindir}/* +%dir %{_localstatedir}/log/sphinx +%dir %{_localstatedir}/run/sphinx +%dir %{_localstatedir}/lib/sphinx + +%files -n libsphinxclient +%defattr(-,root,root,-) +%doc api/java api/ruby api/*.php api/*.py api/libsphinxclient/README +%{_libdir}/libsphinxclient-0*.so + + +%files -n libsphinxclient-devel +%defattr(-,root,root,-) +%{_libdir}/libsphinxclient.so +%{_includedir}/* + +%changelog +* Wed Aug 12 2009 Allisson Azevedo 0.9.8.1-3 +- Fixed macros consistency. +- Modified make install to keep timestamps. +- Added libsphinxclient package. + +* Fri Aug 7 2009 Allisson Azevedo 0.9.8.1-2 +- Added sysv init. +- Added logrotate.d entry. + +* Thu Jul 30 2009 Allisson Azevedo 0.9.8.1-1 +- Initial rpm release. From 33f8b24c615a53567c7978d73787be7920271953 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:42:38 +0000 Subject: [PATCH 3/5] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f02a6a3..91aad04 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: sphinx -# $Id$ +# $Id: Makefile,v 1.1 2009/08/14 16:19:13 tibbs Exp $ NAME := sphinx SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 5667a589c7a21b30d94369deeda2d763bf6421e6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 13:04:53 +0000 Subject: [PATCH 4/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 91aad04..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: sphinx -# $Id: Makefile,v 1.1 2009/08/14 16:19:13 tibbs Exp $ -NAME := sphinx -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5 diff --git a/import.log b/import.log deleted file mode 100644 index 557ff06..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -sphinx-0_9_8_1-3_fc11:EL-5:sphinx-0.9.8.1-3.fc11.src.rpm:1250269749 From 8a0f1215c1594ad78cbf7dffd4e699308b18366b Mon Sep 17 00:00:00 2001 From: Till Maas Date: Wed, 18 May 2016 23:38:51 +0200 Subject: [PATCH 5/5] 2016-05-18: Retired orphaned package, because it was orphaned for more than six weeks. --- .gitignore | 1 - dead.package | 3 + sources | 1 - sphinx.init | 105 --------------------------- sphinx.spec | 201 --------------------------------------------------- 5 files changed, 3 insertions(+), 308 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100755 sphinx.init delete mode 100644 sphinx.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 2d8eb9d..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -sphinx-0.9.8.1.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..366ec3e --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2016-05-18: Retired orphaned package, because it was orphaned for +more than six weeks. + diff --git a/sources b/sources deleted file mode 100644 index d5a6e9c..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -428a14df41fb425e664d9e2d6178c037 sphinx-0.9.8.1.tar.gz diff --git a/sphinx.init b/sphinx.init deleted file mode 100755 index 76c5892..0000000 --- a/sphinx.init +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh -# -# sphinx searchd Free open-source SQL full-text search engine -# -# chkconfig: - 20 80 -# description: Starts and stops the sphinx searchd daemon that handles \ -# all search requests. - -### BEGIN INIT INFO -# Provides: searchd -# Required-Start: $local_fs $network -# Required-Stop: $local_fs $network -# Should-Start: $remote_fs -# Should-Stop: $remote_fs -# Default-Start: -# Default-Stop: 0 1 2 3 4 5 6 -# Short-Description: start and stop sphinx searchd daemon -# Description: Sphinx is a free open-source SQL full-text search engine -### END INIT INFO - -# Source function library. -. /etc/rc.d/init.d/functions - -exec="/usr/bin/searchd" -prog="searchd" -config="/etc/sphinx/sphinx.conf" - -lockfile=/var/lock/subsys/searchd - -start() { - [ -x $exec ] || exit 5 - [ -f $config ] || exit 6 - echo -n $"Starting $prog: " - # if not running, start it up here, usually something like "daemon $exec" - daemon $exec --config $config - retval=$? - echo - [ $retval -eq 0 ] && touch $lockfile - return $retval -} - -stop() { - echo -n $"Stopping $prog: " - # stop it here, often "killproc $prog" - killproc $prog - retval=$? - echo - [ $retval -eq 0 ] && rm -f $lockfile - return $retval -} - -restart() { - stop - start -} - -reload() { - restart -} - -force_reload() { - restart -} - -rh_status() { - # run checks to determine if the service is running or use generic status - status $prog -} - -rh_status_q() { - rh_status >/dev/null 2>&1 -} - - -case "$1" in - start) - rh_status_q && exit 0 - $1 - ;; - stop) - rh_status_q || exit 0 - $1 - ;; - restart) - $1 - ;; - reload) - rh_status_q || exit 7 - $1 - ;; - force-reload) - force_reload - ;; - status) - rh_status - ;; - condrestart|try-restart) - rh_status_q || exit 0 - restart - ;; - *) - echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}" - exit 2 -esac -exit $? diff --git a/sphinx.spec b/sphinx.spec deleted file mode 100644 index c9d0a3f..0000000 --- a/sphinx.spec +++ /dev/null @@ -1,201 +0,0 @@ -Name: sphinx -Version: 0.9.8.1 -Release: 3%{?dist} -Summary: Free open-source SQL full-text search engine - -Group: Applications/Text -License: GPLv2+ -URL: http://sphinxsearch.com -Source0: http://sphinxsearch.com/downloads/%{name}-%{version}.tar.gz -Source1: %{name}.init -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: expat-devel -#Requires: - -Requires(post): chkconfig -Requires(preun): chkconfig -# This is for /sbin/service -Requires(preun): initscripts - - -%description -Sphinx is a full-text search engine, distributed under GPL version 2. -Commercial licensing (eg. for embedded use) is also available upon request. - -Generally, it's a standalone search engine, meant to provide fast, -size-efficient and relevant full-text 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, or PostgreSQL, or from a pipe in a custom XML -format. Adding new drivers (eg. to natively support some other DBMSes) is -designed to be as easy as possible. - -Search API is natively ported to PHP, Python, Perl, Ruby, Java, and also -available as a pluggable MySQL storage engine. API is very lightweight so -porting it to new language is known to take a few hours. - -As for the name, Sphinx is an acronym which is officially decoded as SQL -Phrase Index. Yes, I know about CMU's Sphinx project. - - -%package -n libsphinxclient -Summary: Pure C searchd client API library -Group: Development/Libraries - - -%description -n libsphinxclient -Pure C searchd client API library -Sphinx search engine, http://sphinxsearch.com/ - - -%package -n libsphinxclient-devel -Summary: Development libraries and header files for libsphinxclient -Group: Development/Libraries -Requires: libsphinxclient = %{version}-%{release} - - -%description -n libsphinxclient-devel -Pure C searchd client API library -Sphinx search engine, http://sphinxsearch.com/ - - -%prep -%setup -q - -# Fix wrong-file-end-of-line-encoding -sed -i 's/\r//' api/ruby/spec/sphinx/sphinx_test.sql -sed -i 's/\r//' api/java/mk.cmd -sed -i 's/\r//' api/ruby/spec/fixtures/keywords.php -sed -i 's/\r//' api/ruby/lib/sphinx/response.rb - - -%build -%configure --sysconfdir=/etc/sphinx --with-mysql --with-pgsql -make %{?_smp_mflags} - -# Build libsphinxclient -cd api/libsphinxclient/ -%configure -make #%{?_smp_mflags} - - -%install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p -c" - -# Install sphinx initscript -install -p -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/searchd - -# Create /var/log/sphinx -mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/sphinx - -# Create /var/run/sphinx -mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/sphinx - -# Create /var/lib/sphinx -mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/sphinx - -# Create sphinx.conf -cp $RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx-min.conf.dist \ - $RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf - -# Modify sphinx.conf -sed -i 's/\/var\/log\/searchd.log/\/var\/log\/sphinx\/searchd.log/g' \ -$RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf - -sed -i 's/\/var\/log\/query.log/\/var\/log\/sphinx\/query.log/g' \ -$RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf - -sed -i 's/\/var\/log\/searchd.pid/\/var\/run\/sphinx\/searchd.pid/g' \ -$RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf - -sed -i 's/\/var\/data\/test1/\/var\/lib\/sphinx\/test1/g' \ -$RPM_BUILD_ROOT%{_sysconfdir}/sphinx/sphinx.conf - -# Create /etc/logrotate.d/sphinx -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d -cat > $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sphinx << EOF -/var/log/sphinx/*.log { - weekly - rotate 10 - copytruncate - delaycompress - compress - notifempty - missingok -} -EOF - -# Install libsphinxclient -cd api/libsphinxclient/ -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p -c" - -# clean-up .la archives -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' - -# clean-up .a archives -find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' - - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -/sbin/chkconfig --add searchd - -%preun -if [ $1 = 0 ] ; then - /sbin/service searchd stop >/dev/null 2>&1 - /sbin/chkconfig --del searchd -fi - - -%post -p /sbin/ldconfig -n libsphinxclient - - -%postun -p /sbin/ldconfig -n libsphinxclient - - - -%files -%defattr(-,root,root,-) -%doc COPYING doc/sphinx.txt sphinx-min.conf.dist sphinx.conf.dist example.sql -%dir %{_sysconfdir}/sphinx -%config(noreplace) %{_sysconfdir}/sphinx/sphinx.conf -%exclude %{_sysconfdir}/sphinx/*.conf.dist -%exclude %{_sysconfdir}/sphinx/example.sql -%{_initrddir}/searchd -%config(noreplace) %{_sysconfdir}/logrotate.d/sphinx -%{_bindir}/* -%dir %{_localstatedir}/log/sphinx -%dir %{_localstatedir}/run/sphinx -%dir %{_localstatedir}/lib/sphinx - -%files -n libsphinxclient -%defattr(-,root,root,-) -%doc api/java api/ruby api/*.php api/*.py api/libsphinxclient/README -%{_libdir}/libsphinxclient-0*.so - - -%files -n libsphinxclient-devel -%defattr(-,root,root,-) -%{_libdir}/libsphinxclient.so -%{_includedir}/* - -%changelog -* Wed Aug 12 2009 Allisson Azevedo 0.9.8.1-3 -- Fixed macros consistency. -- Modified make install to keep timestamps. -- Added libsphinxclient package. - -* Fri Aug 7 2009 Allisson Azevedo 0.9.8.1-2 -- Added sysv init. -- Added logrotate.d entry. - -* Thu Jul 30 2009 Allisson Azevedo 0.9.8.1-1 -- Initial rpm release.