Search
j0ke.net Open Build Service
>
Projects
>
server:search
>
pinot
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Added
pinot.spec
@@ -0,0 +1,178 @@ +# +# spec file for package pinot (Version 0.80) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: pinot +Version: 0.80 +Release: 0 +# +License: GPL +Group: Applications/Internet +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gtkmm2-devel >= 2.6 +BuildRequires: xapian-core-devel >= 1.0.0 +BuildRequires: libtextcat-devel >= 2.2 +BuildRequires: sqlite-devel >= 3.3.1 +BuildRequires: libxml++-devel >= 2.12 +BuildRequires: curl-devel >= 7.13 +BuildRequires: gmime-devel >= 2.1 +BuildRequires: boost-devel >= 1.32 +%if 0%{?suse_version} > 1010 +BuildRequires: dbus-1-glib-devel >= 0.60 +%endif +BuildRequires: dbus-1-devel >= 0.60 +BuildRequires: desktop-file-utils +BuildRequires: gettext-devel +BuildRequires: shared-mime-info +BuildRequires: taglib-devel >= 1.4 +BuildRequires: gcc-c++ +%if 0%{?_with_soap:1} +BuildRequires: gsoap +%endif +Requires: shared-mime-info +%if ! 0%{?splitted_text_docs} +Requires: unzip, xpdf-tools +%if 0%{?suse_version} > 1010 +Recommends: antiword, unrtf +%endif +Obsoletes: pinot-pdf, pinot-word +Provides: pinot-text-docs = %{version} +Obsoletes: pinot-text-docs < %{version} +%endif +# +Url: http://pinot.berlios.de/ +Source: %{name}-%{version}.tar.gz +Patch: pinot-0.62_desktopfile.patch +# +Summary: Metasearch tool +%description +Pinot is a metasearch tool for the Free Desktop. It enables one to query +sources, display as well as analyze and locally index the returned results. +It may also be used as a lightweight personal space search tool. + +%if 0%{?splitted_text_docs} +%package text-docs +Group: Applications/Internet +Requires: %{name} = %{version} +Requires: unzip, xpdf-tools +%if 0%{?suse_version} > 1010 +Recommends: antiword, unrtf +%endif +Obsoletes: pinot-pdf, pinot-word +# +Summary: Tokenizers for Pinot that handle various text document formats +%description text-docs +The included tokenizers add support for OpenDocument, Sun StarOffice, +PDF, MS Word and RTF documents. + +%endif + +%package audio-docs +Group: Applications/Internet +Requires: %{name} = %{version} +Requires: taglib >= 1.4 +# +Summary: Tokenizers for Pinot that handle various audio document formats +%description audio-docs +The included tokenizer adds support for OGG, MP3 and FLAC files. + +%if 0%{?with_omega} +%package omega +Group: Applications/Internet +Requires: %{name} = %{version} +Requires: xapian-omega +# +Summary: Xapian Omega plugin for Pinot +%description omega +The included plugin enables Pinot to use Xapian Omega as a search engine. +%endif + +%package deskbar +Group: Applications/Internet +Requires: %{name} = %{version} +Requires: deskbar-applet +# +Summary: Pinot plugin for DeskbarApplet +%description deskbar +The included plugin enables Deskbar to search documents indexed by Pinot. + +%prep +%setup -q + +%build +%configure %{?_with_soap:--with-soap=yes} +%{__make} + +%install +%makeinstall +%find_lang %{name} + +%post +gtk-update-icon-cache -q -f %{_datadir}/icons/hicolor || : + +%clean +%{__rm} -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-, root, root, -) +%doc ChangeLog COPYING NEWS README TODO +# +%{_bindir}/pinot +%{_bindir}/pinot-label +%{_bindir}/pinot-dbus-daemon +%{_bindir}/pinot-index +%{_bindir}/pinot-search +# +%{_datadir}/pinot/xapian-powered.png +%{_datadir}/pinot/metase-gtk2.glade +%{_datadir}/pinot/metase-gtk2.gladep +%{_datadir}/pinot/pinot-dbus-daemon.xml +# +%dir %{_datadir}/pinot/engines/ +%config(noreplace) %{_datadir}/pinot/*.src +%config(noreplace) %{_datadir}/pinot/engines/* +# +%{_datadir}/icons/hicolor/*/apps/pinot.png +# +%{_datadir}/applications/*pinot.desktop +%{_mandir}/man1/pinot.1* +%{_mandir}/man1/pinot-label.1* +%{_mandir}/man1/pinot-dbus-daemon.1* +%{_mandir}/man1/pinot-index.1* +%{_mandir}/man1/pinot-search.1* +# +%config(noreplace) %{_sysconfdir}/pinot/ +# +%config(noreplace) /etc/xdg/autostart/pinot-dbus-daemon.desktop +%{_datadir}/dbus-1/services/de.berlios.Pinot.service + +%if 0%{?splitted_text_docs} +%files text-docs +%defattr(-, root, root, -) +%endif +%{_libdir}/pinot/filters/libmboxfilter.so* +%{_libdir}/pinot/filters/libexternalfilter.so* + +%files audio-docs +%defattr(-, root, root, -) +%{_libdir}/pinot/filters/libtaglibfilter.so* + +%if 0%{?with_omega} +%files omega +%defattr(-, root, root, -) +%config(noreplace) %{_libdir}/pinot/engines/OmegaDescription.xml +%endif + +%files deskbar +%defattr(-, root, root, -) +%{_libdir}/deskbar-applet/handlers/pinot-live.py* + +%changelog