File strigi.spec of Package strigi
#
# spec file for package strigi (Version 0.7.0)
#
# 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: 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.7.0
Release: 1
%define tar_version 0.7.0
Source: strigi-%{tar_version}.tar.bz2
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
%requires_ge libqt4
%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
%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
%_libdir/strigi/strigiea_jpeg.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