Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047728
en ru br
Репозитории ALT
S:1.4.23-alt1
5.1: 1.0.16-alt2
4.1: 1.0.17-alt0.M41.1
4.0: 1.0.5-alt1
www.altlinux.org/Changes

Группа :: Базы Данных
Пакет: xapian-core

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

Name: xapian-core
Version: 1.4.23
Release: alt1
%define sover 30

Summary: Xapian is an open source search engine library

License: GPL-2.0-or-later
Group: Databases
Url: http://www.xapian.org
Vcs: https://github.com/xapian/xapian/

Source: http://www.oligarchy.co.uk/xapian/%version/%{name}-%{version}.tar
Source100: %name.watch

Packager: Michael Shigorin <mike at altlinux.org>

BuildRequires: gcc-c++ zlib-devel libuuid-devel

%description
Xapian is a highly adaptable toolkit which allows developers to easily
add advanced indexing and search facilities to their own applications.
It has built-in support for several families of weighting models
and also supports a rich set of boolean query operators.

This is core package.

%package -n libxapian%sover
Summary: Xapian search engine libraries
Group: System/Libraries
Obsoletes: libxapian < %EVR

%description -n libxapian%sover
Xapian is a highly adaptable toolkit which allows developers to easily
add advanced indexing and search facilities to their own applications.
It has built-in support for several families of weighting models and
also supports a rich set of boolean query operators.

This package provides the libraries for applications using Xapian
functionality.

%package -n libxapian-devel
Group: Development/C++
Summary: Files needed for building packages which use Xapian
Requires: libxapian%sover = %EVR

%description -n libxapian-devel
Xapian is a highly adaptable toolkit which allows developers to easily
add advanced indexing and search facilities to their own applications.
It has built-in support for several families of weighting models and
also supports a rich set of boolean query operators.

This package provides the files needed for building packages which
use Xapian library.

%package -n %name-doc
Group: Development/Documentation
Summary: Developer's documentation for Xapian
Obsoletes: xapian-doc < 0.9.9
Provides: xapian-doc = %EVR
BuildArch: noarch

%description -n %name-doc
Xapian is a highly adaptable toolkit which allows developers to easily
add advanced indexing and search facilities to their own applications.
It has built-in support for several families of weighting models and
also supports a rich set of boolean query operators.

This package contains API reference in HTML and PostScript.

%prep
%setup
%autopatch
%ifarch %e2k
# current lcc doesn't know these
sed -i  -e 's,-fno-gnu-keywords,,;s,-Wstrict-null-sentinel,,' \
-e 's,-Wstrict-overflow=1,,;s,-Wlogical-op,,;s,-Wdouble-promotion,,' \
configure.ac
# http://stackoverflow.com/questions/14892101/
%add_optflags -ftls-model=global-dynamic
%endif

%build
%define optflags_lto %nil
%ifarch %ix86
%add_optflags -ffloat-store
%endif
%autoreconf
%configure \
%ifarch %ix86
--disable-sse
%endif

%make_build
gzip -9nf ChangeLog

%install
%makeinstall_std
rm -rf %buildroot%_datadir/doc/xapian-core/

%check
unset MAKEFLAGS
time %make_build check

%files
%_bindir/copydatabase
%_bindir/quest
%_bindir/simpleexpand
%_bindir/simpleindex
%_bindir/simplesearch
%_bindir/xapian-check
%_bindir/xapian-compact
%_bindir/xapian-delve
%_bindir/xapian-metadata
%_bindir/xapian-pos
%_bindir/xapian-progsrv
%_bindir/xapian-replicate
%_bindir/xapian-replicate-server
%_bindir/xapian-tcpsrv
%_datadir/xapian-core/
%_man1dir/*.1*
%exclude %_man1dir/xapian-config.1*
%doc AUTHORS ChangeLog* NEWS PLATFORMS README

%files -n libxapian%sover
%_libdir/*.so.%sover
%_libdir/*.so.%sover.*

%files -n libxapian-devel
%_bindir/xapian-config
%_includedir/xapian.h
%_includedir/xapian/
%_libdir/libxapian.so
%_libdir/cmake/xapian/
%_datadir/aclocal/xapian.m4
%_man1dir/xapian-config.1*
%_pkgconfigdir/*.pc

%files -n %name-doc
%doc docs/*.html
%doc docs/apidoc/html/
%doc HACKING

# NOTE:

# - do NOT build this package from git unless you want to maintain it
#   with xapian-bindings, and perhaps xapian-omega too.
#   I use watch file and it's more convenient to do that with srpms

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin