Search
j0ke.net Open Build Service
>
Projects
>
server:search
>
xapian-core
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Added
xapian-core.spec
@@ -0,0 +1,139 @@ +# +# spec file for package xapian-core (Version 1.0.4) +# +# Copyright (c) 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: xapian-core +Version: 1.0.4 +Release: 0 +# +License: GPL +Group: Productivity/Databases/Servers +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc-c++ zlib-devel +Requires: %{name}-libs = %{version} +# +Url: http://www.xapian.org/ +Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz +Patch: xapian-core-1.0.4_gcc43.patch +# +Summary: The Xapian Probabilistic Information Retrieval Library. +%description +Xapian is an Open Source Probabilistic Information Retrieval Library. It +offers a highly adaptable toolkit that allows developers to easily add advanced +indexing and search facilities to applications. + +%package libs +Group: Development/Libraries/C and C++ +# +Summary: Xapian search engine libraries. +%description libs +Xapian is an Open Source Probabilistic Information Retrieval framework. It +offers a highly adaptable toolkit that allows developers to easily add advanced +indexing and search facilities to applications. This package provides the +libraries for applications using Xapian functionality. + + +%package devel +Group: Development/Libraries/C and C++ +# +Requires: %{name}-libs = %{version} +Requires: gcc-c++ zlib-devel +# +Summary: Files needed for building packages which use Xapian. +%description devel +Xapian is an Open Source Probabilistic Information Retrieval framework. It +offers a highly adaptable toolkit that allows developers to easily add advanced +indexing and search facilities to applications. This package provides the +files needed for building packages which use Xapian. + + +%debug_package +%prep +%setup +%patch + +%build +%configure --docdir=%{_docdir}/%{name}/ +%{__make} + +%install +%makeinstall docdatadir=%{_docdir}/%{name} +%{__rm} -rf examples/{.libs,.deps} +%{__cp} -vr \ + AUTHORS COPYING ChangeLog ChangeLog.examples \ + HACKING INSTALL NEWS PLATFORMS README examples \ +%{buildroot}%{_docdir}/%{name}/ + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-, root, root) +%{_bindir}/xapian-tcpsrv +%{_bindir}/xapian-progsrv +%{_bindir}/quartzcheck +%{_bindir}/quartzcompact +%{_bindir}/quartzdump +%{_bindir}/quest +%{_bindir}/delve +%{_bindir}/copydatabase +%{_bindir}/simpleindex +%{_bindir}/simplesearch +%{_bindir}/simpleexpand +%{_bindir}/xapian-compact +%{_bindir}/xapian-check +%{_bindir}/xapian-inspect +%{_mandir}/man1/xapian-check.1* +%{_mandir}/man1/xapian-inspect.1* +%{_mandir}/man1/copydatabase.1* +%{_mandir}/man1/delve.1* +%{_mandir}/man1/quartzcheck.1* +%{_mandir}/man1/quartzcompact.1* +%{_mandir}/man1/quartzdump.1* +%{_mandir}/man1/quest.1* +%{_mandir}/man1/xapian-compact.1* +%{_mandir}/man1/xapian-config.1* +%{_mandir}/man1/xapian-progsrv.1* +%{_mandir}/man1/xapian-tcpsrv.1* +%dir %{_docdir}/%{name}/ +%doc %{_docdir}/%{name}/AUTHORS +%doc %{_docdir}/%{name}/COPYING +%doc %{_docdir}/%{name}/ChangeLog +%doc %{_docdir}/%{name}/ChangeLog.examples +%doc %{_docdir}/%{name}/HACKING +%doc %{_docdir}/%{name}/INSTALL +%doc %{_docdir}/%{name}/NEWS +%doc %{_docdir}/%{name}/PLATFORMS +%doc %{_docdir}/%{name}/README + +%files libs +%defattr(-, root, root) +%{_libdir}/libxapian.so.* + +%files devel +%defattr(-, root, root) +%{_bindir}/xapian-config +%{_includedir}/xapian +%{_includedir}/xapian.h +%{_libdir}/libxapian.so +%{_libdir}/libxapian.a +%{_libdir}/libxapian.la +%{_datadir}/aclocal/xapian.m4 +%doc %{_docdir}/%{name}/*.html +%doc %{_docdir}/%{name}/apidoc* +%doc %{_docdir}/%{name}/examples/ + +%changelog