File strigi.spec of Package strigi
#
# spec file for package strigi (Version 0.5.11)
#
# Copyright (c) 2008 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: strigi
BuildRequires: c++_compiler clucene-core-devel cmake libqt4-devel openssl-devel
BuildRequires: bison file-devel kde4-filesystem libexiv2-devel libxml2-devel
%if %suse_version > 1020
BuildRequires: libcppunit-devel
%else
BuildRequires: cppunit-devel
%endif
License: GPL v2 or later; LGPL v2.1 or later
Group: Productivity/Other
Summary: Lightweight and fast desktop search engine
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://www.vandenoever.info/software/strigi/
Version: 0.5.11
Release: 39
%define tar_version 0.5.11
Source: strigi-%{tar_version}.tar.bz2
Patch: trunk.diff
Provides: strigi-ui = 0.5.7
Obsoletes: strigi-ui <= 0.5.7
Requires: libstrigi0 = %version
%description
strigi is a very fast crawling, very small memory footprint, no
hammering of the system with pluggable backend desktop search engine.
Authors:
--------
Jos van den Oever <jos@vandenoever.info>
Ben van Klinken <bvanklinken@gmail.com>
Flavio Castelli <micron@madlab.it>
%package devel
License: GPL v2 or later; LGPL v2.1 or later
Group: Productivity/Other
Summary: Lightweight and fast desktop search engine
Requires: libstrigi0 = %version
%description devel
strigi is a very fast crawling, very small memory footprint, no
hammering of the system with pluggable backend desktop search engine.
Authors:
--------
Jos van den Oever <jos@vandenoever.info>
Ben van Klinken <bvanklinken@gmail.com>
Flavio Castelli <micron@madlab.it>
%package -n libstrigi0
License: GPL v2 or later; LGPL v2.1 or later
Group: Productivity/Other
Summary: Lightweight and fast desktop search engine
%description -n libstrigi0
strigi is a very fast crawling, very small memory footprint, no
hammering of the system with pluggable backend desktop search engine.
Authors:
--------
Jos van den Oever <jos@vandenoever.info>
Ben van Klinken <bvanklinken@gmail.com>
Flavio Castelli <micron@madlab.it>
%prep
%setup -q -n strigi-%tar_version
%patch
%build
%cmake_kde4
make %{?jobs:-j %jobs}
%install
%makeinstall
%post -n libstrigi0 -p /sbin/ldconfig
%postun -n libstrigi0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README
/usr/bin/deepfind
/usr/bin/deepgrep
/usr/bin/xmlindexer
/usr/bin/luceneindexer
/usr/bin/strigidaemon
/usr/bin/strigicmd
/usr/bin/strigiclient
%dir %_libdir/strigi
%_libdir/strigi/strigila_deb.so
%_libdir/strigi/strigila_xpm.so
%_libdir/strigi/strigita_xbm.so
%_libdir/strigi/strigila_cpp.so
%_libdir/strigi/strigila_namespaceharvester.so
%_libdir/strigi/strigita_au.so
%_libdir/strigi/strigita_pcx.so
%_libdir/strigi/strigita_gif.so
%_libdir/strigi/strigila_txt.so
%_libdir/strigi/strigita_avi.so
%_libdir/strigi/strigita_dds.so
%_libdir/strigi/strigita_ico.so
%_libdir/strigi/strigita_rgb.so
%_libdir/strigi/strigita_sid.so
%_libdir/strigi/strigita_wav.so
/usr/share/strigi
%_libdir/strigi/strigiindex_clucene.so
%if %suse_version > 1010
/usr/share/dbus-1/services/org.freedesktop.xesam.searcher.service
/usr/share/dbus-1/services/vandenoever.strigi.service
%endif
%files -n libstrigi0
%defattr(-,root,root)
%_libdir/libsearchclient.so.*
%_libdir/libstrigihtmlgui.so.*
%_libdir/libstreams.so.*
%_libdir/libstreamanalyzer.so.*
%_libdir/libstrigiqtdbusclient.so.*
%files devel
%defattr(-,root,root)
%doc TODO
/usr/include/strigi
%_libdir/libsearchclient.so
%_libdir/libstrigihtmlgui.so
%_libdir/libstrigiqtdbusclient.so
%_libdir/libstreams.so
%_libdir/libstreamanalyzer.so
%_libdir/pkgconfig/libstreamanalyzer.pc
%_libdir/pkgconfig/libstreams.pc
%_libdir/strigi/StrigiConfig.cmake
%changelog
* Tue Oct 21 2008 dmueller@suse.de
- stricter requirements
* Tue Sep 09 2008 dmueller@suse.de
- fix build for old distros
* Wed Aug 27 2008 dmueller@suse.de
- add missing versioning requires for libstrigi0
* Tue Jul 29 2008 coolo@suse.de
- obsolete old name
* Mon Jul 28 2008 wstephenson@suse.de
- Patch to trunk
* Install indexpluginloader.h, now needed by Nepomuk
* Mon Jul 21 2008 stbinner@suse.de
- update to 0.5.11:
- Make sure the app can handle environments where HOME is not defined.
- Make the zip analyzer check more often if it should stop analyzing.
- Make the analyzer respect a configuration that only wants part of
the stream to be analyzed.
- Add an analyzer for Windows self-extracting zip archives.
- Ask the analyzerconfiguration if we should continue and put a cap
on the maximum length of stream we read
- Log parse errors in the analysisresult.
- Several bugfixes
* Mon Jun 23 2008 dmueller@suse.de
- update to 0.5.10:
* Improved Xesam support. strigidaemon can now be queried with the client from
the Xesam test suite.
* Fix a bug in subinputstream.
Under certain circumstances the function read() of the internal stream could
be called with max < min. read() specifies that in such cases, there is no
limit on the number of bytes that may be read. This would cause
SubInputStream to malfunction because it would allow too much of the internal
stream to be read.
* Reenable a number of endanalyzers.
By accident, the analyzers for .tar and .gz files were disabled in the
previous release. Now they are re-enabled.
* Tue Apr 29 2008 dmueller@suse.de
- update to 0.5.9:
* Fix bug that would severely bloat the strigi index.
* Improve latency when calling strigi to stop.
* Better (but not yet complete) Xesam support
* Sun Apr 13 2008 dmueller@suse.de
- fix build against cmake 2.6
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Wed Feb 20 2008 stbinner@suse.de
- update to 0.5.8, some changes include:
* Improve quiting latency of the most important analyzers. Now
Strigi reacts more quickly when you tell it to stop indexing.
* Add a tool to analyze the analyzer latency profile and find
analyzers that have a high latency.
* Bring field names in line with the Xesam ontology.
* New analyzers for avi, wav, dds, rgb, sid and ico file types.
* Fix deepgrep (finally working again since 0.5.2) and extend
the number of fields deepgrep searches in.
* 'strigicmd listFiles' now can be used to retrieve all files/dir
indexed under a certain path
* Sat Dec 15 2007 stbinner@suse.de
- fix build requires
* Thu Dec 06 2007 dmueller@suse.de
- drop strigi-ui, split libstrigi0
* Sun Oct 28 2007 stbinner@suse.de
- update to 0.5.7:
* use plugins instead of shared libraries for the indexer backends
* lots of bugfixes and cleanups
* allow backends to be used in RAM by using ':memory:' as index name
* Mon Oct 08 2007 dmueller@suse.de
- update to 0.5.6:
* Added Xesam User Language parser.
* Replaced .ini-based ontology parser with RDF/XML one.
* Updated strigicmd: now it's possible to perform searches formulated
following xesam userlanguage specifications.
* change IndexReader::getFiles to IndexReader::getChildren.
* removed IndexReader::documentId and IndexReader::mTime.
* loads of build issues fixed
* added a script that helps you to find the patch that broke a unit test
* add fieldname for document content per the Xesam standard.
* Fri Aug 31 2007 dmueller@suse.de
- fix compilation when gcc43 is used
* Tue Aug 07 2007 dmueller@suse.de
- use the release tarball (0.5.5)
* no changes
* Mon Aug 06 2007 dmueller@suse.de
- update to current SVN:
* fixes an include bug by rearranging the way the
strigiconfig.h include is installed
* Fri Aug 03 2007 dmueller@suse.de
- fix build against gcc 4.3
* Thu Jul 26 2007 dmueller@suse.de
- update to 0.5.4:
* improved xesam support
* various stability fixes
* Wed Jul 18 2007 dmueller@suse.de
- update to 0.5.2:
* xesam support
* Mon Jun 25 2007 stbinner@suse.de
- update to current SVN
* Thu May 31 2007 dmueller@suse.de
- update to current SVN:
* xesam support
* many crash fixes
* Wed May 23 2007 stbinner@suse.de
- added missing run_ldconfig calls
* Fri May 11 2007 dmueller@suse.de
- add branch diff
* crash fixes
* Wed May 02 2007 dmueller@suse.de
- update to current SVN:
* pkgconfig fixes
* include guards for headers
* Tue Apr 24 2007 dmueller@suse.de
- update to 0.5.0:
* cmd line interface
* pkgconfig module
* more modules, bugfixes
* Tue Apr 10 2007 stbinner@suse.de
- Update to current SVN
* Sun Apr 01 2007 dmueller@suse.de
- Update to current SVN
* Mon Mar 26 2007 dmueller@suse.de
- Update to current SVN
* Wed Mar 21 2007 dmueller@suse.de
- split package into useful subpackages
* Tue Mar 20 2007 dmueller@suse.de
- update to current SVN to add xbm reader
* Mon Mar 19 2007 dmueller@suse.de
- update to current SVN to follow API change
* Thu Mar 15 2007 dmueller@suse.de
- udpate to current SVN to follow API refactoring
* Tue Mar 13 2007 dmueller@suse.de
- update to current SVN to fix compilation of header files
* Sun Mar 11 2007 dmueller@suse.de
- update to current SVN to install needed libraries
* Sat Mar 10 2007 dmueller@suse.de
- build against clucene
* Thu Mar 08 2007 dmueller@suse.de
- update to current SVN
* Wed Mar 07 2007 dmueller@suse.de
- Initial package (SVN of 20070228)