2010-04-26 21:55:29 +00:00
#
2010-08-27 20:12:46 +00:00
# spec file for package tracker (Version 0.9.16)
2010-04-26 21:55:29 +00:00
#
# 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
2010-08-27 20:12:46 +00:00
Version : 0.9.16
Release : 1
# FIXME: add libgupnp-dlna-devel BuildRequires when it's in Factory
2010-04-26 21:55:29 +00:00
# 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
2010-08-27 20:12:46 +00:00
# PATCH-FIX-UPSTREAM tracker-fix-new-evo.patch bgo623207 vuntz@opensuse.org -- Fix build with recent e-d-s
Patch0 : tracker-fix-new-evo.patch
2010-06-21 17:45:37 +00:00
# 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
2010-08-27 20:12:46 +00:00
BuildRequires : NetworkManager-devel
2010-04-26 21:55:29 +00:00
BuildRequires : dbus-1-glib-devel
BuildRequires : enca-devel
BuildRequires : evolution-data-server-devel
BuildRequires : evolution-devel
BuildRequires : fdupes
BuildRequires : flac-devel
BuildRequires : gcc-c++
2010-08-27 20:12:46 +00:00
BuildRequires : giflib-devel
2010-04-26 21:55:29 +00:00
BuildRequires : glib2-devel
BuildRequires : gnome-panel-devel
BuildRequires : graphviz
BuildRequires : gstreamer-0_10-plugins-base-devel
BuildRequires : gtk-doc
BuildRequires : gtk2-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
2010-08-27 20:12:46 +00:00
BuildRequires : libgrss-devel
2010-04-26 21:55:29 +00:00
BuildRequires : libgsf-devel
2010-08-27 20:12:46 +00:00
BuildRequires : libicu-devel
2010-04-26 21:55:29 +00:00
BuildRequires : libiptcdata-devel
BuildRequires : libpng-devel
BuildRequires : libpoppler-glib-devel
2010-08-27 20:12:46 +00:00
BuildRequires : librest-devel
2010-04-26 21:55:29 +00:00
BuildRequires : libtiff-devel
2010-08-27 20:12:46 +00:00
BuildRequires : libupower-glib-devel
2010-04-26 21:55:29 +00:00
BuildRequires : libuuid-devel
BuildRequires : libvorbis-devel
BuildRequires : libxml2-devel
BuildRequires : nautilus-devel
BuildRequires : sqlite3-devel
2010-08-27 20:12:46 +00:00
BuildRequires : taglib-devel
2010-04-26 21:55:29 +00:00
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.
2010-08-27 20:12:46 +00:00
%package -n libtracker-client-0_9-0
2010-04-26 21:55:29 +00:00
License : GPLv2+
Summary : Client library for Tracker
Group : System/Libraries
Recommends: %{name}
2010-08-27 20:12:46 +00:00
%description -n libtracker-client-0_9-0
2010-04-26 21:55:29 +00:00
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.
2010-08-27 20:12:46 +00:00
%package -n libtracker-extract-0_9-0
2010-04-26 21:55:29 +00:00
License : GPLv2+
Summary : Extract library for Tracker
Group : System/Libraries
Recommends: %{name}
2010-08-27 20:12:46 +00:00
%description -n libtracker-extract-0_9-0
2010-04-26 21:55:29 +00:00
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.
2010-08-27 20:12:46 +00:00
%package -n libtracker-miner-0_9-0
2010-04-26 21:55:29 +00:00
License : GPLv2+
Summary : Miner library for Tracker
Group : System/Libraries
Recommends: %{name}
2010-08-27 20:12:46 +00:00
%description -n libtracker-miner-0_9-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-sparql-0_9-0
License : GPLv2+
Summary : Sparql library for Tracker
Group : System/Libraries
Recommends: %{name}
%description -n libtracker-sparql-0_9-0
2010-04-26 21:55:29 +00:00
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
2010-08-27 20:12:46 +00:00
Requires : libtracker-client-0_9-0 = %{version}
Requires : libtracker-extract-0_9-0 = %{version}
Requires : libtracker-miner-0_9-0 = %{version}
Requires : libtracker-sparql-0_9-0 = %{version}
2010-04-26 21:55:29 +00:00
%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
2010-06-21 17:45:37 +00:00
%patch0 -p1
%patch1 -p1
2010-04-26 21:55:29 +00:00
%build
2010-08-27 20:12:46 +00:00
autoreconf -fi
2010-04-26 21:55:29 +00:00
%configure \
--enable-libvorbis \
--enable-libflac \
--enable-tracker-explorer \
--enable-tracker-search-bar \
--enable-tracker-search-tool \
2010-05-14 22:37:31 +00:00
--enable-tracker-preferences \
--disable-functional-tests
2010-04-26 21:55:29 +00:00
# --enable-gtk-doc
make %{?jobs:-j%jobs}
%install
%makeinstall
find %{buildroot} -type f -name " * . l a " -delete -print
2010-05-14 22:37:31 +00:00
rm -r %{buildroot} %{_datadir} /tracker-tests
2010-04-26 21:55:29 +00:00
%find_lang %{name}
2010-08-27 20:12:46 +00:00
%suse_update_desktop_file tracker-miner-flickr
2010-04-26 21:55:29 +00:00
%suse_update_desktop_file tracker-miner-fs
2010-08-27 20:12:46 +00:00
%suse_update_desktop_file tracker-miner-rss
2010-04-26 21:55:29 +00:00
%suse_update_desktop_file tracker-status-icon
%suse_update_desktop_file tracker-store
2010-05-14 22:37:31 +00:00
%suse_update_desktop_file %{buildroot} %{_datadir} /tracker/miners/tracker-miner-applications.desktop
2010-08-27 20:12:46 +00:00
%suse_update_desktop_file %{buildroot} %{_datadir} /tracker/miners/tracker-miner-evolution.desktop
2010-05-14 22:37:31 +00:00
%suse_update_desktop_file %{buildroot} %{_datadir} /tracker/miners/tracker-miner-files.desktop
2010-08-27 20:12:46 +00:00
%suse_update_desktop_file %{buildroot} %{_datadir} /tracker/miners/tracker-miner-flickr.desktop
%suse_update_desktop_file %{buildroot} %{_datadir} /tracker/miners/tracker-miner-rss.desktop
2010-04-26 21:55:29 +00:00
%suse_update_desktop_file tracker-preferences X-SuSE-ControlCenter-Personal
%suse_update_desktop_file tracker-search-tool DesktopUtility
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
2010-08-27 20:12:46 +00:00
%post -n libtracker-client-0_9-0 -p /sbin/ldconfig
%postun -n libtracker-client-0_9-0 -p /sbin/ldconfig
2010-04-26 21:55:29 +00:00
2010-08-27 20:12:46 +00:00
%post -n libtracker-extract-0_9-0 -p /sbin/ldconfig
2010-04-26 21:55:29 +00:00
2010-08-27 20:12:46 +00:00
%postun -n libtracker-extract-0_9-0 -p /sbin/ldconfig
2010-04-26 21:55:29 +00:00
2010-08-27 20:12:46 +00:00
%post -n libtracker-miner-0_9-0 -p /sbin/ldconfig
2010-04-26 21:55:29 +00:00
2010-08-27 20:12:46 +00:00
%postun -n libtracker-miner-0_9-0 -p /sbin/ldconfig
2010-04-26 21:55:29 +00:00
2010-08-27 20:12:46 +00:00
%post -n libtracker-sparql-0_9-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-0_9-0 -p /sbin/ldconfig
2010-04-26 21:55:29 +00:00
%files
%defattr (-,root,root)
%doc AUTHORS ChangeLog COPYING README NEWS
2010-08-27 20:12:46 +00:00
%{_sysconfdir} /xdg/autostart/tracker-miner-flickr.desktop
2010-04-26 21:55:29 +00:00
%{_sysconfdir} /xdg/autostart/tracker-miner-fs.desktop
2010-08-27 20:12:46 +00:00
%{_sysconfdir} /xdg/autostart/tracker-miner-rss.desktop
2010-04-26 21:55:29 +00:00
%{_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
2010-08-27 20:12:46 +00:00
%{_libexecdir} /%{name} -miner-flickr
2010-04-26 21:55:29 +00:00
%{_libexecdir} /%{name} -miner-fs
2010-08-27 20:12:46 +00:00
%{_libexecdir} /%{name} -miner-rss
2010-04-26 21:55:29 +00:00
%{_libexecdir} /%{name} -store
%{_libexecdir} /%{name} -writeback
2010-08-27 20:12:46 +00:00
%{_libdir} /%{name} -0.9/
2010-04-26 21:55:29 +00:00
%{_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*
2010-08-27 20:12:46 +00:00
%files -n libtracker-client-0_9-0
2010-04-26 21:55:29 +00:00
%defattr (-,root,root)
%{_libdir} /libtracker-client*.so.*
2010-08-27 20:12:46 +00:00
%files -n libtracker-extract-0_9-0
2010-04-26 21:55:29 +00:00
%defattr (-,root,root)
%{_libdir} /libtracker-extract*.so.*
2010-08-27 20:12:46 +00:00
%files -n libtracker-miner-0_9-0
2010-04-26 21:55:29 +00:00
%defattr (-,root,root)
%{_libdir} /libtracker-miner*.so.*
2010-08-27 20:12:46 +00:00
%files -n libtracker-sparql-0_9-0
%defattr (-, root, root)
%{_libdir} /libtracker-sparql*.so.*
2010-04-26 21:55:29 +00:00
%files -n tracker-devel
%defattr (-,root,root)
%{_libdir} /lib*.so
2010-08-27 20:12:46 +00:00
%{_includedir} /tracker-0.9/
2010-04-26 21:55:29 +00:00
%{_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
2010-05-14 22:37:31 +00:00
%{_datadir} /vala/vapi/*.deps
2010-04-26 21:55:29 +00:00
%{_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