Accepting request 58986 from home:prusnak:search
OBS-URL: https://build.opensuse.org/request/show/58986 OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-core?expand=0&rev=24
This commit is contained in:
parent
783b846fa0
commit
37a2f82e73
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c793262166f2f523eb384ede047d5c28ec923104d0fb57ee7cd739c81fcdfff
|
||||
size 3416510
|
@ -1,49 +0,0 @@
|
||||
Index: api/maptermlist.h
|
||||
===================================================================
|
||||
--- api/maptermlist.h.orig
|
||||
+++ api/maptermlist.h
|
||||
@@ -29,6 +29,8 @@
|
||||
|
||||
#include "omassert.h"
|
||||
|
||||
+#include <cstdlib>
|
||||
+
|
||||
using namespace std;
|
||||
|
||||
class MapTermList : public TermList {
|
||||
Index: common/vectortermlist.h
|
||||
===================================================================
|
||||
--- common/vectortermlist.h.orig
|
||||
+++ common/vectortermlist.h
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <list>
|
||||
#include <vector>
|
||||
+#include <cstdlib>
|
||||
|
||||
using namespace std;
|
||||
|
||||
Index: backends/alltermslist.cc
|
||||
===================================================================
|
||||
--- backends/alltermslist.cc.orig
|
||||
+++ backends/alltermslist.cc
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "omassert.h"
|
||||
|
||||
#include <string>
|
||||
+#include <cstdlib>
|
||||
|
||||
using namespace std;
|
||||
|
||||
Index: bin/xapian-progsrv.cc
|
||||
===================================================================
|
||||
--- bin/xapian-progsrv.cc.orig
|
||||
+++ bin/xapian-progsrv.cc
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
+#include <cstdlib>
|
||||
|
||||
using namespace std;
|
||||
|
3
xapian-core-1.2.4.tar.gz
Normal file
3
xapian-core-1.2.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0665c02aa1a6cccc071d4f2b426ac0feb6f4f8f0e50da720ce375ae6d3d6f348
|
||||
size 3895455
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 20 14:16:11 UTC 2011 - prusnak@opensuse.org
|
||||
|
||||
- updated to 1.2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 19 23:41:33 CET 2007 - mrueckert@suse.de
|
||||
|
||||
|
133
xapian-core.spec
133
xapian-core.spec
@ -1,139 +1,116 @@
|
||||
#
|
||||
# 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
|
||||
Version: 1.2.4
|
||||
Release: 0
|
||||
#
|
||||
License: GPL
|
||||
Group: Productivity/Databases/Servers
|
||||
#
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++ zlib-devel
|
||||
Requires: %{name}-libs = %{version}
|
||||
#
|
||||
License: GPLv2+
|
||||
Summary: The Xapian Probabilistic Information Retrieval Library
|
||||
Url: http://www.xapian.org/
|
||||
Group: Productivity/Databases/Servers
|
||||
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.
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%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
|
||||
%package -n libxapian22
|
||||
Summary: Xapian search engine libraries
|
||||
Group: Development/Libraries/C and C++
|
||||
#
|
||||
Summary: Xapian search engine libraries.
|
||||
%description libs
|
||||
|
||||
%description -n libxapian22
|
||||
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
|
||||
%package -n libxapian-devel
|
||||
Summary: Files needed for building packages which use Xapian
|
||||
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
|
||||
Requires: libxapian22 = %{version}
|
||||
Requires: gcc-c++
|
||||
Requires: libuuid-devel
|
||||
Requires: zlib-devel
|
||||
|
||||
%description -n libxapian-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
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --docdir=%{_docdir}/%{name}/
|
||||
%{__make}
|
||||
%configure --docdir=%{_docdir}/%{name}/ --disable-static
|
||||
make %{?smp_mflags}
|
||||
|
||||
%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}/
|
||||
%make_install docdatadir=%{_docdir}/%{name}
|
||||
rm -rf examples/{.libs,.deps}
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}/examples/{.dirstamp,*.o}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libxapian22 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libxapian22 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/xapian-tcpsrv
|
||||
%{_bindir}/xapian-progsrv
|
||||
%{_bindir}/quartzcheck
|
||||
%{_bindir}/quartzcompact
|
||||
%{_bindir}/quartzdump
|
||||
%{_bindir}/quest
|
||||
%{_bindir}/delve
|
||||
%doc AUTHORS ChangeLog COPYING HACKING NEWS PLATFORMS README
|
||||
%{_bindir}/copydatabase
|
||||
%{_bindir}/delve
|
||||
%{_bindir}/quest
|
||||
%{_bindir}/simpleexpand
|
||||
%{_bindir}/simpleindex
|
||||
%{_bindir}/simplesearch
|
||||
%{_bindir}/simpleexpand
|
||||
%{_bindir}/xapian-compact
|
||||
%{_bindir}/xapian-check
|
||||
%{_bindir}/xapian-chert-update
|
||||
%{_bindir}/xapian-compact
|
||||
%{_bindir}/xapian-inspect
|
||||
%{_mandir}/man1/xapian-check.1*
|
||||
%{_mandir}/man1/xapian-inspect.1*
|
||||
%{_bindir}/xapian-metadata
|
||||
%{_bindir}/xapian-progsrv
|
||||
%{_bindir}/xapian-replicate
|
||||
%{_bindir}/xapian-replicate-server
|
||||
%{_bindir}/xapian-tcpsrv
|
||||
%{_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-check.1*
|
||||
%{_mandir}/man1/xapian-chert-update.1*
|
||||
%{_mandir}/man1/xapian-compact.1*
|
||||
%{_mandir}/man1/xapian-config.1*
|
||||
%{_mandir}/man1/xapian-inspect.1*
|
||||
%{_mandir}/man1/xapian-metadata.1*
|
||||
%{_mandir}/man1/xapian-progsrv.1*
|
||||
%{_mandir}/man1/xapian-replicate.1*
|
||||
%{_mandir}/man1/xapian-replicate-server.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
|
||||
%files -n libxapian22
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libxapian.so.*
|
||||
|
||||
%files devel
|
||||
%files -n libxapian-devel
|
||||
%defattr(-, root, root)
|
||||
%doc ChangeLog.examples
|
||||
%{_bindir}/xapian-config
|
||||
%{_includedir}/xapian
|
||||
%{_includedir}/xapian/
|
||||
%{_includedir}/xapian.h
|
||||
%{_libdir}/libxapian.so
|
||||
%{_libdir}/libxapian.a
|
||||
%{_libdir}/libxapian.la
|
||||
%{_libdir}/libxapian.so
|
||||
%{_datadir}/aclocal/xapian.m4
|
||||
%doc %{_docdir}/%{name}/*.html
|
||||
%doc %{_docdir}/%{name}/apidoc*
|
||||
%doc %{_docdir}/%{name}/examples/
|
||||
%dir %{_libdir}/cmake
|
||||
%{_libdir}/cmake/xapian/
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user