Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
idzebra
idzebra.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File idzebra.spec of Package idzebra
# # spec file for package idzebra (Version 2.0.37) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: idzebra BuildRequires: libexpat-devel libyaz-devel openssl-devel readline-devel tcl-devel tcpd-devel Version: 2.0.37 Release: 1 Requires: yaz License: GPL v2 or later Group: Productivity/Databases/Servers Source: ftp://ftp.indexdata.dk/pub/zebra/idzebra-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.indexdata.dk/zebra/ Summary: Fielded Free Text Engine with a Z39.50 Front-End %description Zebra is a fielded free text indexing and retrieval engine with a Z39.50 front-end. You can use any compatible, commercial, or freeware Z39.50 client to access data stored in Zebra. Authors: -------- Adam Dickmeiss <adam@indexdata.dk> %package devel License: GPL v2 or later Summary: Fielded Free Text Engine with a Z39.50 Front-End Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: libbz2-devel glibc-devel %description devel Zebra is a fielded free text indexing and retrieval engine with a Z39.50 front-end. You can use any compatible, commercial, or freeware Z39.50 client to access data stored in Zebra. Authors: -------- Adam Dickmeiss <adam@indexdata.dk> %package doc License: GPL v2 or later Summary: Documentation for the idzebra Package Group: Productivity/Databases/Servers Requires: %{name} = %{version} %description doc This package contains the documentation for Zebra. Zebra is a fielded free text indexing and retrieval engine with a Z39.50 front-end. Authors: -------- Adam Dickmeiss <adam@indexdata.dk> %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ %configure --disable-static --with-pic --with-yazconfig=%{_bindir} %{__make} %{?jobs:-j%jobs} for f in examples/marcxml/*.x?l; do tr -d '\15' <$f >$f.tmp && mv $f.tmp $f done %check %ifarch ix86 # 2004-11-17 07:44:55 CET -ke- # there are problems with killing zebrasrv reliably make check %endif %install make DESTDIR=$RPM_BUILD_ROOT install # pushd doc # make DESTDIR=$RPM_BUILD_ROOT install # popd # Unwanted doc stuff rm -fr $RPM_BUILD_ROOT%{_datadir}/doc # rm -fr html mkdir html #ln -sf zebra.html html/index.html cp doc/*html html #cp doc/*.pdf . %define DOCFILES README LICENSE.* NEWS #*.pdf { echo "<html><head><title>%{name} documentation directory</title></head>" echo "<body><ul>" echo "<li><a href=\"html/index.html\">%{name}</a>, official documentation (local)" for f in %{DOCFILES} ; do if [ "http:" = "${f%%%%/*}" ]; then echo "<li><a href=\"$f\">$f</a>" continue fi [ -f $f ] || continue echo "<li><a href=\"$f\">$f</a>" done echo "</li></body></html>" } >index.html pushd $RPM_BUILD_ROOT mkdir -p etc/idzebra usr/share/idzebra cp -a usr/share/idzebra*/tab/* etc/idzebra rm -fr usr/share/idzebra*/tab pushd $RPM_BUILD_ROOT/usr/share/idzebra ln -sf ../../../etc/idzebra tab popd popd rm examples/*/Makefile* rm -fr $RPM_BUILD_ROOT/usr/share/idzebra-2.0-examples find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %dir %{_datadir}/idzebra %dir %{_datadir}/idzebra/tab %config %{_sysconfdir}/idzebra %{_libdir}/lib*.so.* %dir %{_libdir}/idzebra-2.0 %dir %{_libdir}/idzebra-2.0/modules %{_libdir}/idzebra-2.0/modules/*.so %{_bindir}/zebrasrv* %{_bindir}/zebraidx* %{_bindir}/idzebra* #%{_bindir}/zebrash %{_mandir}/*/* %files devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/* %{_datadir}/aclocal/* %files doc %defattr(-,root,root) %doc %{DOCFILES} %doc index.html html #%doc *.pdf %doc examples %doc doc/marc_indexing.xml %changelog * Mon May 18 2009 ke@suse.de - Version 2.0.37; for details see http://indexdata.dk/zebra/NEWS. * Thu Mar 26 2009 crrodriguez@suse.de - Do not include static modules and "la" files * Mon Mar 09 2009 ke@suse.de - Version 2.0.36; for details see http://indexdata.dk/zebra/NEWS. * Fri Jul 04 2008 ke@suse.de - Version 2.0.32 (for details see NEWS): * Mostly ICU related enhancements and fixes. * Wed Nov 21 2007 ke@suse.de - Version 2.0.18 (changes since .14 from NEWS): * Add snippet support. Element set name zebra::snippet will make Zebra return an XML record with snippets. * Bug fixes: zebra.cfg with leading space are ignored; crash for some searches with customized string.chr, etc. * Thu May 10 2007 ke@suse.de - Version 2.0.14 (binary incompatible with version 1.x); major changes since 2.0.0: * 'isamb' is now the default ISAM system. * Bug fixes and performance improvements. - New -devel subpackage. * Thu May 03 2007 prusnak@suse.cz - changed expat to libexpat-devel in BuildRequires * Mon Oct 23 2006 ke@suse.de - Version 1.3.44 (changes since .38): * Bugfixes: Multiple simultaneous updates by extended services trashes register files. Trailing characters in password are ignored. * Optimized melm performance. * Thu Aug 17 2006 ke@suse.de - Version 1.3.38: * Bug fixes. * Binaries renamed to zebrasrv-1.3 and zebraidx-1.3. * Mon Jun 26 2006 ke@suse.de - Version 1.3.36: Fix two querying related bugs. * Thu Jun 01 2006 ke@suse.de - Version 1.3.34: Bug fixes, for example fix for XPath indexing. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Nov 11 2005 ke@suse.de - Update to version 1.3.32. * Fix XPath bug. * Fri Nov 04 2005 ke@suse.de - Update to version 1.3.30. * Tue May 31 2005 ke@suse.de - Update to version 1.3.28. * Improve authentication facility. * Fri May 27 2005 ke@suse.de - Update to version 1.3.26. * Bugfixes; for more info see NEWS. * Implement the 'equivalent' directive for .chr-files. * Thu Feb 10 2005 ke@suse.de - Update to version 1.3.24. * Bugfixes (white-space in records, threading support). * Mon Jan 24 2005 ke@suse.de - Update to version 1.3.22. * Various bugfixes. * Better indexing; ignore leading articles if wanted. * Wed Nov 17 2004 ke@suse.de - Update to version 1.3.18. - Disable check on non-ix86 architectures. * Wed Jun 02 2004 ro@suse.de - added openssl-devel to neededforbuild * Wed Mar 17 2004 ke@suse.de - Add -fno-strict-aliasing to CFLAGS. * Thu Jan 15 2004 ke@suse.de - Update to version 1.3.15; changes: * Fix bug: X-Path attribute expressions with spaces in them now works. * Fix base address for MARC output. * Sat Jan 10 2004 adrian@suse.de - build as user. * Mon Dec 01 2003 ke@suse.de - Update to version 1.3.14; changes: * Fix bug with shadow and result set handling. * Implement MARCXML to ISO2709 conversion. * Fri Oct 17 2003 ke@suse.de - Update to version 1.3.13; changes: * Zebra ignores "unsupported use attribute" for individual databases when search multiple databases (unless all databases fail). * New filter grs.marcxml which works like grs.marc but produces MARCXML. * Add support for database deletion. It is possible to create/drop a database from zebraidx utility. Note: only for isam:b. * Write zebrasrv.pid to lockdir. * Zebra server checks for zebrasrv.pid and refuses to start if it is already locked by another (running) zebrasrv. * Bug fix: result sets were not recovered correctly. Had to add ODR handle for zebra_search_RPN in order to make it work. * Fix a bug in regx filters that didn't do anchors (^) correctly. * Fix a bug in searches with X-Path searches sometimes giving "extra" hits. * Fix a bug with text being chunked in pieces for the grs.xml filter. - Enable tests. * Thu Jun 05 2003 ke@suse.de - Fix broken link. * Mon May 26 2003 ke@suse.de - Cleanup $RPM_BUILD_ROOT. - Add missing files (*.h and /usr/bin/zebrash). * Thu May 22 2003 ke@suse.de - Update to version 1.3.11; changes: - xelm code updates. xelm works regardless state of 'xpath enable/disable'. - Allow multiple updates within one transaction. - Fix a bug with >2GB files (overflow in integer expression). - Add yazlib and yazlib-devel to neededforbuild. * Mon Apr 14 2003 ke@suse.de - Update to version 1.3.10; changes: * Fix bug in and operation which in some cases could result in "extra" hits. Bug was introduced in 1.3.5. * Fix bug in handling of schema conversion when producing numeric tags. * Zvrank updates (plus documentation). * Thu Mar 27 2003 ke@suse.de - Update to version 1.3.8; changes: * Zvrank: an experimental ranking algorithm. See doc/zvrank.txt and source in index/zvrank.c. Enable this by using rank: zvrank in zebra.cfg. * livrank: another experimental ranking algorithm. Source in livcode.c. Enable this by using rank: livrank in zebra.cfg and use -DLIV_CODE=1 for CFLAGS (no enabled on SuSE Linux by default). * Advanced MARC indexing. See doc/marc_indexing.xml. * Perl API updates and fixes. * Fixes: 'zebraidx delete'; a few memory leaks WRT sorting. * Implement 'zebraidx clean'. * Wed Mar 26 2003 ke@suse.de - Update to version 1.3.7; changes since 1.3.4: * Support Truncation 104 (CCL). * Implemented xelm directive. * Updated for newer version of YAZ (introduction of string schema). * Directory examples/zthes now part of distribution. * New .abs directive, systag, that control where to put retrieval information. The directive takes two arguments: system tag, element name. System tag is one of : rank, sysno, size. * Fri Nov 29 2002 ke@suse.de - Update to version 1.3.4; changes since 1.3.0: * Move data1 to Zebra (used to be part of YAZ). * XML record reader moved from YAZ to Zebra, to make YAZ less dependant on external libraries. * Zebra server stops with a fatal error if config file cannot be read. * New config setting, followLinks, that controls whether update of files should follow symbolic. Set it to 1 (for enable) or 0 (to disable). By default symbolic links are followed. * Perl Filter and Perl API. * For zebra.cfg, if no profilePath is specified, directory (prefix)/share/idzebra/tab (/etc/idzebra) is used. * Bug fix: sort index was not properly modified on record updates/deletes. * Fix handling of character entities for sgml filter. * Fix character encoding of scan response terms. * Fix character decoding of scan request terms. * Fix ESpec handling (requires YAZ 1.9.1) * Fix searches for complete fields. * Fix MARC transfer. MARC fields had wrong data for multiple fields. * XML record reader supports external system entities. * New .abs-directive "xpath" that takes one argument: "enable" or "disable" to enable and disable XPath -indexing. If no "xpath" direcive is found in .abs-file , XPath-indexing is disabled to ensure backwards compatibility. For missing .abs-files XPath-indexing is enabled so that such records are searchable. * Zebra warns about missing .abs-file only once (for each type). * Fixed a bug in file update where already-inserted files could be treated as "new". * Mon Nov 25 2002 ke@suse.de - Rename zebra-engine to idzebra to avoid naming clash with GNU zebra. - Update to version 1.3.0; extract from http://www.indexdata.dk/zebra/CHANGELOG: * Zebra license changed to GNU GPL. * New Zebra API. Locking system re-implemented. * XPATH-like queries used when RPN string attributes are used, eg. @attr 1=/portal/title sometitle @attr 1=/portal/title[@xml:lang=da] danishtitle @attr 1=/portal/title/@xml:lang da @attr 1=//title sometitle * Zebra uses UTF-8 internally: Setting in zebra.cfg; encoding of International strings is UTF-8 by default; new directive "encoding" in .abs-files. * XML filter (-t grs.xml). * Multiple registers. * Mon Aug 05 2002 ke@suse.de - Add expat to #neededforbuild on account of yaz. * Mon May 13 2002 ke@suse.de - New package: version 1.1.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor