SHA256
1
0
forked from pool/xapian-core

Accepting request 66553 from openSUSE:Factory:Contrib

OBS-URL: https://build.opensuse.org/request/show/66553
OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-core?expand=0&rev=26
This commit is contained in:
Adrian Schröter 2011-04-11 08:06:37 +00:00 committed by Git OBS Bridge
parent fb28500272
commit cb5a44a7a1
6 changed files with 148 additions and 74 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ec12fc7c357d99cbb7884a2400f30374d3657ed8b084ac3cadd26f9a4c8d332
size 2991522

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0665c02aa1a6cccc071d4f2b426ac0feb6f4f8f0e50da720ce375ae6d3d6f348
size 3895455

9
xapian-core-rpmlintrc Normal file
View File

@ -0,0 +1,9 @@
#This line is mandatory to access the configuration functions
from Config import *
addFilter("xapian-core.* no-changelogname-tag")
addFilter("xapian-core.* no-dependency-on xapian-core")
addFilter("xapian-core.* source-or-patch-not-bzipped")
addFilter("xapian-core.* zero-length.*")
addFilter("xapian-core.* package-with-huge-docs.*")
addFilter("libxapian15.* no-changelogname-tag")

View File

@ -1,7 +1,13 @@
------------------------------------------------------------------- -----------------------------------------------------------------
Thu Jan 20 14:16:11 UTC 2011 - prusnak@opensuse.org Sat May 16 19:26:33 CET 2009 - tittiatcoke@gmail.com
- updated to 1.2.4 - Updated to xapian-core-1.0.12
+ See http://svn.xapian.org/*checkout*/tags/1.0.12/xapian-core/NEWS
-------------------------------------------------------------------
Wed Mar 18 13:34:33 CET 2009 - tittiatcoke@gmail.com
- Updated to xapian-core-1.0.11
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 19 23:41:33 CET 2007 - mrueckert@suse.de Mon Nov 19 23:41:33 CET 2007 - mrueckert@suse.de

9
xapian-core.rpmlintrc Normal file
View File

@ -0,0 +1,9 @@
#This line is mandatory to access the configuration functions
from Config import *
addFilter("xapian-core.* no-changelogname-tag")
addFilter("xapian-core.* no-dependency-on xapian-core")
addFilter("xapian-core.* source-or-patch-not-bzipped")
addFilter("xapian-core.* zero-length.*")
addFilter("xapian-core.* package-with-huge-docs.*")
addFilter("libxapian15.* no-changelogname-tag")

View File

@ -1,124 +1,174 @@
# #
# spec file for package xapian-core (Version 1.0.12)
#
# 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/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: xapian-core # norootforbuild
Version: 1.2.4
Release: 0
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
BuildRequires: gcc-c++
%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1030
BuildRequires: libuuid-devel
%else
BuildRequires: e2fsprogs-devel
%endif
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Name: xapian-core
Version: 1.0.12
Release: 0
#
License: GPL
Group: Productivity/Databases/Servers
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ zlib-devel fdupes
Requires: %{name}-libs = %{version}
#
Url: http://www.xapian.org/
Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc
#
Summary: The Xapian Probabilistic Information Retrieval Library
%description %description
Xapian is an Open Source Probabilistic Information Retrieval Library. It Xapian is an Open Source Probabilistic Information Retrieval Library. It
offers a highly adaptable toolkit that allows developers to easily add advanced offers a highly adaptable toolkit that allows developers to easily add advanced
indexing and search facilities to applications. indexing and search facilities to applications
%package -n libxapian22 %package -n libxapian15
Group: Development/Libraries/C and C++
Provides: xapian-core-libs
#
Summary: Xapian search engine libraries Summary: Xapian search engine libraries
Group: Development/Libraries/C and C++ %description -n libxapian15
%description -n libxapian22
Xapian is an Open Source Probabilistic Information Retrieval framework. It Xapian is an Open Source Probabilistic Information Retrieval framework. It
offers a highly adaptable toolkit that allows developers to easily add advanced offers a highly adaptable toolkit that allows developers to easily add advanced
indexing and search facilities to applications. This package provides the indexing and search facilities to applications. This package provides the
libraries for applications using Xapian functionality. libraries for applications using Xapian functionality
%package -n libxapian-devel
%package devel
Group: Development/Libraries/C and C++
#
Requires: libxapian15 = %{version}
Requires: gcc-c++ zlib-devel
#
Summary: Files needed for building packages which use Xapian Summary: Files needed for building packages which use Xapian
Group: Development/Libraries/C and C++ %description devel
Requires: libxapian22 = %{version}
Requires: gcc-c++
%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1030
BuildRequires: libuuid-devel
%else
BuildRequires: e2fsprogs-devel
%endif
Requires: zlib-devel
%description -n libxapian-devel
Xapian is an Open Source Probabilistic Information Retrieval framework. It Xapian is an Open Source Probabilistic Information Retrieval framework. It
offers a highly adaptable toolkit that allows developers to easily add advanced offers a highly adaptable toolkit that allows developers to easily add advanced
indexing and search facilities to applications. This package provides the indexing and search facilities to applications. This package provides the
files needed for building packages which use Xapian. files needed for building packages which use Xapian
%debug_package %package doc
Group: Development/Libraries/C and C++
#
Requires: %{name} = %{version}
#
Summary: Documentation for Xapian-core libraries
%description doc
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
%package examples
Group: Development/Libraries/C and C++
#
Requires: %{name} = %{version}
#
Summary: Examples for Xapian-core libraries
%description examples
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
%prep %prep
%setup -q %setup -q
%build %build
%configure --docdir=%{_docdir}/%{name}/ --disable-static %configure --docdir=%{_docdir}/%{name}/
%__make %{?smp_mflags} %{__make} %{?jobs:-j%jobs}
%install %install
%__make DESTDIR="%{buildroot}" docdatadir="%{_docdir}/%{name}" install %makeinstall docdatadir=%{_docdir}/%{name}
rm -rf examples/{.libs,.deps} %{__rm} -rf examples/{.libs,.deps,.dirstamp,*.o,quest,delve,simplesearch,simpleexpand,simpleindex,copydatabase}
rm -rf %{buildroot}%{_docdir}/%{name}/examples/{.dirstamp,*.o} %{__cp} -vr \
AUTHORS COPYING ChangeLog ChangeLog.examples \
HACKING INSTALL NEWS PLATFORMS README examples \
%{buildroot}%{_docdir}/%{name}/
find . -name \*.spec|xargs rm
fdupes %{buildroot}%{_defaultdocdir}/%{name}
%post -n libxapian22 -p /sbin/ldconfig %post -n libxapian15 -p /sbin/ldconfig
%postun -n libxapian15 -p /sbin/ldconfig
%postun -n libxapian22 -p /sbin/ldconfig
%clean %clean
rm -rf %{buildroot} %{__rm} -rf %{buildroot}
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING HACKING NEWS PLATFORMS README %{_bindir}/xapian-tcpsrv
%{_bindir}/copydatabase %{_bindir}/xapian-progsrv
%{_bindir}/delve %{_bindir}/quartzcheck
%{_bindir}/quartzcompact
%{_bindir}/quartzdump
%{_bindir}/quest %{_bindir}/quest
%{_bindir}/simpleexpand %{_bindir}/delve
%{_bindir}/copydatabase
%{_bindir}/simpleindex %{_bindir}/simpleindex
%{_bindir}/simplesearch %{_bindir}/simplesearch
%{_bindir}/xapian-check %{_bindir}/simpleexpand
%{_bindir}/xapian-chert-update
%{_bindir}/xapian-compact %{_bindir}/xapian-compact
%{_bindir}/xapian-check
%{_bindir}/xapian-inspect %{_bindir}/xapian-inspect
%{_bindir}/xapian-metadata %{_mandir}/man1/xapian-check.1*
%{_bindir}/xapian-progsrv %{_mandir}/man1/xapian-inspect.1*
%{_bindir}/xapian-replicate
%{_bindir}/xapian-replicate-server
%{_bindir}/xapian-tcpsrv
%{_mandir}/man1/copydatabase.1* %{_mandir}/man1/copydatabase.1*
%{_mandir}/man1/delve.1* %{_mandir}/man1/delve.1*
%{_mandir}/man1/quartzcheck.1*
%{_mandir}/man1/quartzcompact.1*
%{_mandir}/man1/quartzdump.1*
%{_mandir}/man1/quest.1* %{_mandir}/man1/quest.1*
%{_mandir}/man1/xapian-check.1*
%{_mandir}/man1/xapian-chert-update.1*
%{_mandir}/man1/xapian-compact.1* %{_mandir}/man1/xapian-compact.1*
%{_mandir}/man1/xapian-config.1* %{_mandir}/man1/xapian-config.1*
%{_mandir}/man1/xapian-inspect.1*
%{_mandir}/man1/xapian-metadata.1*
%{_mandir}/man1/xapian-progsrv.1* %{_mandir}/man1/xapian-progsrv.1*
%{_mandir}/man1/xapian-replicate.1*
%{_mandir}/man1/xapian-replicate-server.1*
%{_mandir}/man1/xapian-tcpsrv.1* %{_mandir}/man1/xapian-tcpsrv.1*
%files -n libxapian22 %files -n libxapian15
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/libxapian.so.* %{_libdir}/libxapian.so.*
%files -n libxapian-devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%doc ChangeLog.examples
%{_bindir}/xapian-config %{_bindir}/xapian-config
%{_includedir}/xapian/ %{_includedir}/xapian
%{_includedir}/xapian.h %{_includedir}/xapian.h
%{_libdir}/libxapian.la
%{_libdir}/libxapian.so %{_libdir}/libxapian.so
%{_libdir}/libxapian.a
%{_libdir}/libxapian.la
%{_datadir}/aclocal/xapian.m4 %{_datadir}/aclocal/xapian.m4
%dir %{_libdir}/cmake
%{_libdir}/cmake/xapian/ %files doc
%defattr(-, root, root)
%doc %{_docdir}/%{name}/*.html
%doc %{_docdir}/%{name}/apidoc*
%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 examples
%defattr(-, root, root)
%doc %{_docdir}/%{name}/examples/
%changelog %changelog
* Sat May 16 2009 - Raymond Wooninck <tittiatcoke@gmail.com> 1.0.12
- Update to 1.0.12
* Wed Mar 18 2009 - Raymond Wooninck <tittiatcoke@gmail.com> 1.0.11
- Update to 1.0.11