# # spec file for package tracker (Version 0.8.5) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 Luis Medinas, Portugal # # 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/ # Name: tracker Version: 0.8.5 Release: 2 # FIXME: 2010-03-24 building gtk-doc fails because of a bug in graphviz License: GPLv2+ Summary: Powerful object database, tag/metadata database, search tool and indexer Url: http://projects.gnome.org/tracker/ Group: Productivity/Other Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM tracker-launch-applications-in-results.patch bgo621987 vuntz@opensuse.org -- Correctly handle applications in search results of the search tool Patch0: tracker-launch-applications-in-results.patch # PATCH-FIX-OPENSUSE tracker-removeable-media-off.patch bgo622288 badshah400@gmail.com -- Disable indexing on removable media by default. See bgo#622288 for how it should be done properly. Patch1: tracker-removeable-media-off.patch BuildRequires: DeviceKit-power-devel BuildRequires: dbus-1-glib-devel BuildRequires: enca-devel BuildRequires: evolution-data-server-devel BuildRequires: evolution-devel BuildRequires: fdupes BuildRequires: flac-devel BuildRequires: gcc-c++ BuildRequires: glib2-devel # Only needed for patch0: tracker-launch-applications-in-results.patch BuildRequires: gnome-common BuildRequires: gnome-panel-devel BuildRequires: graphviz BuildRequires: gstreamer-0_10-plugins-base-devel BuildRequires: gtk-doc BuildRequires: gtk2-devel BuildRequires: id3lib-devel BuildRequires: intltool BuildRequires: libexempi-devel BuildRequires: libexif-devel BuildRequires: libgee-devel %if 0%{?suse_version} >= 1130 BuildRequires: libgnome-keyring-devel %else BuildRequires: gnome-keyring-devel %endif BuildRequires: libgsf-devel BuildRequires: libiptcdata-devel BuildRequires: libpng-devel BuildRequires: libpoppler-glib-devel BuildRequires: libtiff-devel BuildRequires: libuuid-devel BuildRequires: libvorbis-devel BuildRequires: libxml2-devel BuildRequires: nautilus-devel BuildRequires: sqlite3-devel BuildRequires: totem-pl-parser-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: vala-devel BuildRequires: zlib-devel Requires: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. It consists of a common object database that allows entities to have an almost infinte number of properties, metadata (both embedded/harvested as well as user definable), a comprehensive database of keywords/tags and links to other entities. It provides additional features for file-based objects including context linking and audit trails for a file object. It has the ability to index, store, harvest metadata, retrieve and search all types of files and other first class objects. %package gui License: GPLv2+ Summary: Graphical User Interface for Tracker Group: System/GUI/GNOME Requires: %{name} = %{version} Requires: %{name}-lang = %{version} %description gui Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. It consists of a common object database that allows entities to have an almost infinte number of properties, metadata (both embedded/harvested as well as user definable), a comprehensive database of keywords/tags and links to other entities. It provides additional features for file-based objects including context linking and audit trails for a file object. It has the ability to index, store, harvest metadata, retrieve and search all types of files and other first class objects. %package -n libtracker-client-0_8-0 License: GPLv2+ Summary: Client library for Tracker Group: System/Libraries Recommends: %{name} %description -n libtracker-client-0_8-0 Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. It consists of a common object database that allows entities to have an almost infinte number of properties, metadata (both embedded/harvested as well as user definable), a comprehensive database of keywords/tags and links to other entities. It provides additional features for file-based objects including context linking and audit trails for a file object. It has the ability to index, store, harvest metadata, retrieve and search all types of files and other first class objects. %package -n libtracker-extract-0_8-0 License: GPLv2+ Summary: Extract library for Tracker Group: System/Libraries Recommends: %{name} %description -n libtracker-extract-0_8-0 Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. It consists of a common object database that allows entities to have an almost infinte number of properties, metadata (both embedded/harvested as well as user definable), a comprehensive database of keywords/tags and links to other entities. It provides additional features for file-based objects including context linking and audit trails for a file object. It has the ability to index, store, harvest metadata, retrieve and search all types of files and other first class objects. %package -n libtracker-miner-0_8-0 License: GPLv2+ Summary: Miner library for Tracker Group: System/Libraries Recommends: %{name} %description -n libtracker-miner-0_8-0 Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. It consists of a common object database that allows entities to have an almost infinte number of properties, metadata (both embedded/harvested as well as user definable), a comprehensive database of keywords/tags and links to other entities. It provides additional features for file-based objects including context linking and audit trails for a file object. It has the ability to index, store, harvest metadata, retrieve and search all types of files and other first class objects. %package -n tracker-devel License: GPLv2+ Summary: Tracker -- Development files Group: Development/Libraries/GNOME Requires: glib2-devel Requires: libtracker-client-0_8-0 = %{version} Requires: libtracker-extract-0_8-0 = %{version} Requires: libtracker-miner-0_8-0 = %{version} %description -n tracker-devel Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. It consists of a common object database that allows entities to have an almost infinte number of properties, metadata (both embedded/harvested as well as user definable), a comprehensive database of keywords/tags and links to other entities. It provides additional features for file-based objects including context linking and audit trails for a file object. It has the ability to index, store, harvest metadata, retrieve and search all types of files and other first class objects. %package applet License: GPLv2+ Summary: A GNOME panel applet for Tracker Group: System/GUI/GNOME Requires: %{name} = %{version} Requires: %{name}-lang = %{version} %description applet Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. This package contains a panel applet to easily use Tracker. %package -n evolution-tracker License: GPLv2+ Summary: Tracker Plugin for Evolution Group: System/GUI/GNOME Requires: %{name} = %{version} Requires: evolution Supplements: packageand(%{name}:evolution} %description -n evolution-tracker Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. This package contains an evolution plugin for Tracker integration. %package -n nautilus-tracker License: GPLv2+ Summary: Tracker Plugin for Nautilus Group: System/GUI/GNOME Requires: %{name} = %{version} Requires: %{name}-lang = %{version} Requires: nautilus Supplements: packageand(%{name}:nautilus} %description -n nautilus-tracker Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. This package contains an nautilus plugin for Tracker integration. %lang_package %prep %setup -q translation-update-upstream %patch0 -p1 %patch1 -p1 %build NOCONFIGURE=1 gnome-autogen.sh %configure \ --enable-libvorbis \ --enable-libflac \ --enable-tracker-explorer \ --enable-tracker-search-bar \ --enable-tracker-search-tool \ --enable-tracker-preferences \ --disable-functional-tests # --enable-gtk-doc make %{?jobs:-j%jobs} %install %makeinstall find %{buildroot} -type f -name "*.la" -delete -print rm -r %{buildroot}%{_datadir}/tracker-tests %find_lang %{name} %suse_update_desktop_file tracker-miner-fs %suse_update_desktop_file tracker-status-icon %suse_update_desktop_file tracker-store %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-applications.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-files.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-emails.desktop %suse_update_desktop_file tracker-preferences X-SuSE-ControlCenter-Personal %suse_update_desktop_file tracker-search-tool DesktopUtility %fdupes %{buildroot} %clean rm -rf %{buildroot} %post -n libtracker-client-0_8-0 -p /sbin/ldconfig %postun -n libtracker-client-0_8-0 -p /sbin/ldconfig %post -n libtracker-extract-0_8-0 -p /sbin/ldconfig %postun -n libtracker-extract-0_8-0 -p /sbin/ldconfig %post -n libtracker-miner-0_8-0 -p /sbin/ldconfig %postun -n libtracker-miner-0_8-0 -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README NEWS %{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop %{_sysconfdir}/xdg/autostart/tracker-store.desktop %{_bindir}/%{name}-control %{_bindir}/%{name}-explorer %{_bindir}/%{name}-import %{_bindir}/%{name}-info %{_bindir}/%{name}-search %{_bindir}/%{name}-sparql %{_bindir}/%{name}-stats %{_bindir}/%{name}-status %{_bindir}/%{name}-tag %{_libexecdir}/%{name}-extract %{_libexecdir}/%{name}-miner-fs %{_libexecdir}/%{name}-store %{_libexecdir}/%{name}-writeback %{_libdir}/%{name}-0.8/ %{_datadir}/%{name}/ %{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service %{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner* %{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service %{_mandir}/man1/tracker-control.1* %{_mandir}/man1/tracker-extract.1* %{_mandir}/man1/tracker-import.1* %{_mandir}/man1/tracker-info.1* %{_mandir}/man1/tracker-miner-fs.1* %{_mandir}/man1/tracker-search.1* %{_mandir}/man1/tracker-sparql.1* %{_mandir}/man1/tracker-stats.1* %{_mandir}/man1/tracker-status.1* %{_mandir}/man1/tracker-store.1* %{_mandir}/man1/tracker-tag.1* %{_mandir}/man5/tracker-extract.cfg.5* %{_mandir}/man5/tracker-fts.cfg.5* %{_mandir}/man5/tracker-miner-fs.cfg.5* %{_mandir}/man5/tracker-store.cfg.5* # Exclude files which live in other packages %exclude %{_datadir}/%{name}/icons/thumbnail_frame.png %exclude %{_datadir}/%{name}/icons/tracker-applet-*.png %exclude %{_datadir}/%{name}/GNOME_Search_Bar_Applet.xml %exclude %{_datadir}/%{name}/tracker-preferences.ui %exclude %{_datadir}/%{name}/tracker-search-bar.ui %exclude %{_datadir}/%{name}/tst.ui %files gui %defattr(-,root,root) # preferences %{_bindir}/tracker-preferences %{_datadir}/applications/tracker-preferences.desktop %{_datadir}/icons/hicolor/*/apps/tracker.* %{_datadir}/%{name}/tracker-preferences.ui %{_mandir}/man1/tracker-preferences.1* # search tool %{_bindir}/tracker-search-tool %{_datadir}/applications/tracker-search-tool.desktop %{_datadir}/%{name}/icons/thumbnail_frame.png %{_datadir}/%{name}/tst.ui %{_mandir}/man1/tracker-search-tool.1* # status icon %{_bindir}/%{name}-status-icon %{_datadir}/%{name}/icons/tracker-applet-*.png %{_sysconfdir}/xdg/autostart/tracker-status-icon.desktop %{_mandir}/man1/tracker-status-icon.1* %files -n libtracker-client-0_8-0 %defattr(-,root,root) %{_libdir}/libtracker-client*.so.* %files -n libtracker-extract-0_8-0 %defattr(-,root,root) %{_libdir}/libtracker-extract*.so.* %files -n libtracker-miner-0_8-0 %defattr(-,root,root) %{_libdir}/libtracker-miner*.so.* %files -n tracker-devel %defattr(-,root,root) %{_libdir}/lib*.so %{_includedir}/tracker-0.8/ %{_libdir}/pkgconfig/*.pc #%{_datadir}/gtk-doc/html/libtracker-common/ #%{_datadir}/gtk-doc/html/libtracker-miner/ #%{_datadir}/gtk-doc/html/libtracker-client/ #%{_datadir}/gtk-doc/html/libtracker-extract/ #%{_datadir}/gtk-doc/html/ontology/ %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/*.deps %{_datadir}/vala/vapi/*.vapi %files applet %defattr(-,root,root) %{_datadir}/%{name}/GNOME_Search_Bar_Applet.xml %{_datadir}/%{name}/tracker-search-bar.ui %{_libdir}/bonobo/servers/GNOME_Search_Bar_Applet.server %{_libexecdir}/tracker-search-bar %{_mandir}/man1/tracker-search-bar.1* %files -n evolution-tracker %defattr(-,root,root) %{_libdir}/evolution/*/plugins/liborg-freedesktop-Tracker-evolution-plugin.so %{_libdir}/evolution/*/plugins/org-freedesktop-Tracker-evolution-plugin.eplug %files -n nautilus-tracker %defattr(-,root,root) %{_libdir}/nautilus/extensions-2.0/libnautilus-tracker-tags* %files lang -f %{name}.lang %changelog