Репозиторий Sisyphus
Последнее обновление: 11 декабря 2019 | Пакетов: 17498 | Посещений: 16056942
en ru br
Репозитории ALT

Группа :: Сети/WWW
Пакет: xapian-omega

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

Name: xapian-omega
Version: 1.4.5
Release: alt2

Summary: A CGI search frontend and indexers built on Xapian
License: GPLv2+
Group: Networking/WWW

Url: http://www.xapian.org
Source: http://www.oligarchy.co.uk/xapian/%version/%name-%version.tar.bz2

# Automatically added by buildreq on Sun Jan 03 2010 (-bi)

BuildRequires: gcc-c++ glibc-devel-static libxapian-devel perl-DBI libpcre-devel zlib-devel libmagic-devel

Requires: xapian-core >= %version

%description
Omega is a CGI application which uses the Xapian Information Retrieval
library to index and search collections of documents.

%prep
%setup
%ifarch %e2k
# unsupported as of lcc 1.23.12
sed -i 's, -fno-gnu-keywords,,' configure*
%endif

%build
%configure
%make_build

%install
%makeinstall_std

# CGI application

mkdir -p %buildroot%_var/www/cgi-bin/
mv %buildroot%_libdir/%name/bin/omega %buildroot%_var/www/cgi-bin

# Create /var directories

mkdir -p %buildroot%_localstatedir/omega/{cdb,data}
mkdir -p %buildroot%_logdir/omega

# Default templates

mkdir -p %buildroot%_localstatedir/omega/templates
cp -a templates/* %buildroot%_localstatedir/omega/templates/

# Images

mkdir -p %buildroot%_var/www/icons/omega
cp -a images/* %buildroot%_var/www/icons/omega/

rm -rf %buildroot%_docdir/%name/

%files
%doc AUTHORS ChangeLog README TODO NEWS docs/*.html
%_bindir/dbi2omega
%_bindir/omindex
%_bindir/omindex-list
%_bindir/scriptindex
%_bindir/htdig2omega
%_bindir/mbox2omega
%_libdir/%name/bin/outlookmsg2html
%_libdir/%name/bin/mhtml2html
%_libdir/%name/bin/rfc822tohtml
%_libdir/%name/bin/vcard2text

%dir %_datadir/omega
%_datadir/omega/*.script

%_localstatedir/omega
%_logdir/omega/

%_var/www/cgi-bin/omega
%dir %_var/www/icons/omega
%_var/www/icons/omega/*.png

%config(noreplace) %_sysconfdir/omega.conf
%_man1dir/omindex.1*
%_man1dir/omindex-list.1*
%_man1dir/scriptindex.1*

%changelog

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

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