Search
j0ke.net Open Build Service
>
Projects
>
server:search
>
sphinx
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
sphinx.changes
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Sat Jan 31 10:53:00 CET 2009 - cs@linux-administrator.com + +- build libsphinxclient api library subpackages + +------------------------------------------------------------------- Wed Nov 5 10:31:10 CET 2008 - pascal.bleser@opensuse.org - update to 0.9.8.1
[-]
[+]
Changed
sphinx.spec
^
@@ -1,5 +1,5 @@ # -# spec file for package sphinx (Version 0.9.7) +# spec file for package sphinx (Version 0.9.8.1) # # Copyright (c) 2006--2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,7 +12,7 @@ Name: sphinx Version: 0.9.8.1 -Release: 0 +Release: 2 %define pkg_version 0.9.8.1 # License: GNU General Public License version 2 (GPL v2) @@ -40,6 +40,20 @@ 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 libsphinxclient0 +Group: Development/Librarys +Summary: Sphinx client library + +%description -n libsphinxclient0 +This package provides sphinx client library. + +%package -n libsphinxclient-devel +Group: Development/Librarys +Summary: Sphinx client library + +%description -n libsphinxclient-devel +This package provides devel files of sphinx client library. + %debug_package %prep @@ -51,6 +65,11 @@ %configure --sysconfdir=%{_sysconfdir}/%{name}/ --with-mysql --with-pgsql %__make +# libsphinxclient api +cd api/libsphinxclient +%configure +%__make + %install %makeinstall %__cp -v %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf{.dist,} @@ -58,6 +77,16 @@ %__mv %{buildroot}%{_bindir}/{,%{name}-}$i done +# libsphinxclient api +cd api/libsphinxclient +%makeinstall + +%post -n libsphinxclient0 +/sbin/ldconfig + +%postun -n libsphinxclient0 +/sbin/ldconfig + %clean %__rm -rf "%{buildroot}" @@ -75,4 +104,15 @@ %doc COPYING api/ contrib/ %doc doc/*.html doc/*.css doc/*.txt +%files -n libsphinxclient0 +%defattr(-,root,root) +%{_libdir}/libsphinxclient-0.0.1.so + +%files -n libsphinxclient-devel +%defattr(-,root,root) +%{_libdir}/libsphinxclient.a +%{_libdir}/libsphinxclient.la +%{_libdir}/libsphinxclient.so +%{_includedir}/sphinxclient.h + %changelog