Accepting request 519437 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/519437
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/tracker?expand=0&rev=129
This commit is contained in:
Dominique Leuenberger 2017-08-31 07:44:44 +00:00 committed by Git OBS Bridge
parent edaa42b26d
commit 05bc878767
9 changed files with 168 additions and 4821 deletions

View File

@ -1,9 +0,0 @@
There is currently no graphical way to configure the RSS miner.
Feed channels have to be registered manually into Tracker.
As an example, the file initial-data.ttl contains feeds that you
can register with this command:
tracker-import initial-data.ttl
The tracker-miner-rss binary also has an --add-feed option.

View File

@ -1,8 +0,0 @@
#!/bin/sh
cp tracker.changes tracker-extras.changes
sed "s/\(%define *build_extras *\)0/\11/;s/\(^Name: *\)tracker.*/\1tracker-extras/" tracker.spec > tracker-extras.spec
sed -i "
/^Name: *tracker-extras/i \
# Do not edit this auto generated file! Edit tracker.spec.
" tracker-extras.spec

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23ce943878c1165c3f52fe97150c71708ebfbb5da3020e9a7247ad4f5120f8d6
size 5053768

3
tracker-1.99.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10e6be6bb1556b03b53ae2abc2fc59e5fc34702b580a57939c6b3e6b487ca872
size 2903024

View File

@ -39,16 +39,3 @@ Index: tracker-1.9.0/src/libtracker-data/Makefile.am
if HAVE_TRACKER_FTS
libtracker_data_la_LIBADD += \
$(top_builddir)/src/libtracker-fts/libtracker-fts.la
Index: tracker-1.9.0/src/libtracker-extract/Makefile.am
===================================================================
--- tracker-1.9.0.orig/src/libtracker-extract/Makefile.am
+++ tracker-1.9.0/src/libtracker-extract/Makefile.am
@@ -16,6 +16,8 @@ libtracker_extract_la_LIBADD = \
$(BUILD_LIBS) \
$(LIBTRACKER_EXTRACT_LIBS)
+libtracker_extract_la_LDFLAGS = -avoid-version
+
libtracker_extract_la_SOURCES = \
tracker-data.h \
tracker-encoding.c \

File diff suppressed because it is too large Load Diff

View File

@ -1,779 +0,0 @@
#
# spec file for package tracker-extras
#
# Copyright (c) 2017 SUSE LINUX 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/
#
%define build_extras 1
%if !%{build_extras}
%define build_evo 0
%define build_firefox 0
%define build_gui 0
%define build_miner_rss 0
%define build_nautilus 0
%define build_thunderbird 0
%else
%define build_evo 0
%define build_firefox 0
%define build_gui 1
%define build_miner_rss 1
%define build_nautilus 1
%define build_thunderbird 0
%endif
%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
%define thunderbird_appid \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
# Do not edit this auto generated file! Edit tracker.spec.
Name: tracker-extras
%define _name tracker
Version: 1.12.3
Release: 0
%define TrackerAPI 1.0
%define RPMTrackerAPI 1_0
Summary: Object database, tag/metadata database, search tool and indexer
License: GPL-2.0+
Group: Productivity/Other
Url: http://projects.gnome.org/tracker/
Source0: https://download.gnome.org/sources/tracker/1.12/%{_name}-%{version}.tar.xz
# Needed for patch0: we need to bootstrap
Source2: README.SUSE.rss
# PATCH-FIX-UPSTREAM tracker-extract-private.patch bgo#725689 dimstar@opensuse.org -- Do not maintain LT versioning for private libs
Patch0: tracker-extract-private.patch
BuildRequires: enca-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: glib2-devel >= 2.44.0
# Needed for patch0
BuildRequires: gnome-common
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: libgnome-keyring-devel
# Not guarded by !%%{build_extras}, else we build files to have external generic
# media players
BuildRequires: gstreamer-plugins-base-devel >= 0.10.31
BuildRequires: libicu-devel
BuildRequires: libuuid-devel
BuildRequires: sqlite3-devel >= 3.7.15
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.12.0
BuildRequires: zlib-devel
BuildRequires: pkgconfig(json-glib-1.0) >= 1.0
BuildRequires: pkgconfig(libavcodec) >= 0.8.4
BuildRequires: pkgconfig(libavformat) >= 0.8.4
BuildRequires: pkgconfig(libavutil) >= 0.8.4
BuildRequires: pkgconfig(libmediaart-2.0) >= 0.1.0
BuildRequires: pkgconfig(libnm-glib) >= 0.8
BuildRequires: pkgconfig(libseccomp) >= 2.0
BuildRequires: pkgconfig(libsoup-2.4) >= 2.40
BuildRequires: pkgconfig(upower-glib)
%if !%{build_extras}
# Dependencies for extractors / writeback
BuildRequires: flac-devel
BuildRequires: giflib-devel
BuildRequires: libcue-devel
BuildRequires: libexif-devel
BuildRequires: libgsf-devel
BuildRequires: libosinfo-devel >= 0.0.2
%if 0%{?suse_version} >= 1140
BuildRequires: libgupnp-dlna-devel >= 0.9.4
%endif
BuildRequires: libexempi-devel
BuildRequires: libgxps-devel
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel >= 1.2
BuildRequires: libpoppler-glib-devel
BuildRequires: libtiff-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: taglib-devel
BuildRequires: totem-pl-parser-devel
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
%else
# For directory ownership and removing files in %%install
BuildRequires: tracker = %{version}
BuildRequires: tracker-devel
BuildRequires: tracker-miner-files
%endif # !build_extras
%if %{build_evo}
BuildRequires: evolution-data-server-devel
BuildRequires: evolution-devel
%endif
%if %{build_firefox}
# It's a bit annoying to require this for the build, see bgo#655618.
BuildRequires: MozillaFirefox
%endif
%if %{build_gui}
BuildRequires: gtk3-devel
%endif
%if %{build_miner_rss}
BuildRequires: libgrss-devel >= 0.7
%endif
%if %{build_nautilus}
BuildRequires: pkgconfig(libnautilus-extension)
%endif
%if %{build_thunderbird}
# It's a bit annoying to require this for the build, see bgo#655618.
BuildRequires: MozillaThunderbird
%endif
Recommends: %{_name}-lang
# We want to index files by default, if possible
Recommends: %{_name}-miner-files
# gnome-panel-applet-tracker (aka tracker-search-bar) was removed with tracker 0.16.0
Obsoletes: gnome-panel-applet-tracker < 0.16.0
# flickr miner was removed with tracker 0.16.0
Obsoletes: tracker-miner-flickr < 0.16.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite 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 context linking and audit trails for file objects.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%if !%{build_extras}
%package -n %{_name}-miner-files
Summary: Tracker miner to index files and applications
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
%glib2_gsettings_schema_requires
%description -n %{_name}-miner-files
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains a miner to index files and applications.
# This package name is not correct as per SLPP, but the 'lib' lives in a
# private directory: the symbol provided is libtracker-common.so() (same
# name across multiple versions of tracker).
# Yet, different libtracker-miner-* packages require their explicit
# version of libtracker-common.so as they link is done using rpath.
%package -n libtracker-common-%{RPMTrackerAPI}
Summary: Convenience libraries for Tracker
# Obsolete old tracker libs, bnc#876649
Group: System/Libraries
Obsoletes: libtracker-extract-0_16-0
%description -n libtracker-common-%{RPMTrackerAPI}
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains private convenience libraries for the
various tracker libraries.
%package -n libtracker-control-%{RPMTrackerAPI}-0
Summary: Control library for Tracker
# rpm autodetects libtracker-common.so() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Group: System/Libraries
Requires: libtracker-common-%{RPMTrackerAPI}
Suggests: %{_name}
%glib2_gsettings_schema_requires
%description -n libtracker-control-%{RPMTrackerAPI}-0
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite 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 context linking and audit trails for file objects.
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-%{RPMTrackerAPI}-0
Summary: Miner library for Tracker
# rpm autodetects libtracker-common.so() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Group: System/Libraries
Requires: libtracker-common-%{RPMTrackerAPI}
Suggests: %{_name}
%description -n libtracker-miner-%{RPMTrackerAPI}-0
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite 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 context linking and audit trails for file objects.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%package -n typelib-1_0-Tracker-%{RPMTrackerAPI}
Summary: Introspection bindings for the Tracker Sparql library
Group: System/Libraries
%description -n typelib-1_0-Tracker-%{RPMTrackerAPI}
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package provides the GObject Introspection bindings for the
sparql library for Tracker.
%package -n typelib-1_0-TrackerControl-%{RPMTrackerAPI}
Summary: Introspection bindings for the Tracker Control library
Group: System/Libraries
%description -n typelib-1_0-TrackerControl-%{RPMTrackerAPI}
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package provides the GObject Introspection bindings for the
extract library for Tracker.
%package -n typelib-1_0-TrackerMiner-%{RPMTrackerAPI}
Summary: Introspection bindings for the Tracker Miner library
Group: System/Libraries
%description -n typelib-1_0-TrackerMiner-%{RPMTrackerAPI}
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package provides the GObject Introspection bindings for the
miner library for Tracker.
%package -n libtracker-sparql-%{RPMTrackerAPI}-0
Summary: Sparql library for Tracker
# rpm autodetects libtracker-common.so() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Group: System/Libraries
Requires: libtracker-common-%{RPMTrackerAPI}
Suggests: %{_name}
%description -n libtracker-sparql-%{RPMTrackerAPI}-0
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite 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 context linking and audit trails for file objects.
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
Summary: Development files for the Tracker indexer
Group: Development/Libraries/GNOME
Requires: libtracker-control-%{RPMTrackerAPI}-0 = %{version}
Requires: libtracker-miner-%{RPMTrackerAPI}-0 = %{version}
Requires: libtracker-sparql-%{RPMTrackerAPI}-0 = %{version}
Requires: typelib-1_0-Tracker-%{RPMTrackerAPI} = %{version}
Requires: typelib-1_0-TrackerControl-%{RPMTrackerAPI} = %{version}
Requires: typelib-1_0-TrackerMiner-%{RPMTrackerAPI} = %{version}
%description -n tracker-devel
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This subpackage contains the headers to make use of its libraries.
%endif # !build_extras
%if %{build_evo}
%package -n %{_name}-miner-evolution
Summary: Tracker miner to index Evolution mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Requires: evolution
Supplements: packageand(%{_name}:evolution}
# Name changed during development of 11.4
Provides: evolution-tracker = %{version}
Obsoletes: evolution-tracker < %{version}
# A generic provides, since this is also an evolution plugin
Provides: evolution-plugin-tracker = %{version}
%description -n %{_name}-miner-evolution
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains an Evolution plugin that will index Evolution
mails.
%endif # build_evo
%if %{build_firefox}
%package -n %{_name}-miner-firefox
Summary: Tracker miner to index Firefox bookmarks
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Requires: MozillaFirefox
Supplements: packageand(%{_name}:MozillaFirefox}
# A generic provides, since this is also a firefox extension
Provides: MozillaFirefox-extension-tracker = %{version}
%description -n %{_name}-miner-firefox
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains a Firefox extension that will index
Firefox bookmarks.
%endif # build_firefox
%if %{build_miner_rss}
%package -n %{_name}-miner-rss
Summary: Tracker miner to index ATOM and RSS feeds
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
%description -n %{_name}-miner-rss
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains a miner to index ATOM and RSS feeds.
%endif # build_miner_rss
%if %{build_thunderbird}
%package -n %{_name}-miner-thunderbird
Summary: Tracker miner to index Thunderbird mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Requires: MozillaThunderbird
# bnc#840403 - Addon regularly breaks TB - do not install by deps
#Supplements: packageand(%{_name}:MozillaThunderbird}
# A generic provides, since this is also a thunderbird extension
Provides: MozillaThunderbird-extension-tracker = %{version}
%description -n %{_name}-miner-thunderbird
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains a Thunderbird extension that will index
Thunderbird mails.
%endif # build_thunderbird
%if %{build_gui}
%package -n %{_name}-gui
Summary: Graphical User Interface for Tracker
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Recommends: %{_name}-lang
%description -n %{_name}-gui
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite 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 context linking and audit trails for file objects.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%endif # build_gui
%if %{build_nautilus}
%package -n nautilus-extension-tracker-tags
Summary: Tracker Plugin for Nautilus
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Requires: nautilus
Recommends: %{_name}-lang
Supplements: packageand(%{_name}:nautilus}
# Name changed during development of 11.4
Provides: nautilus-tracker = %{version}
Obsoletes: nautilus-tracker < %{version}
%description -n nautilus-extension-tracker-tags
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains an nautilus plugin to tag files with Tracker.
%endif # build_nautilus
%if !%{build_extras}
%lang_package
%endif
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%if !0%{?is_opensuse}
translation-update-upstream
%endif
cp %{S:2} src/miners/rss/README.SUSE
%build
#Needed for patch0
NOCONFIGURE=1 gnome-autogen.sh
%configure \
--disable-static \
%if !%{build_extras}
--enable-libvorbis \
--enable-libflac \
%endif
%if %{build_evo}
--enable-miner-evolution \
%else
--disable-miner-evolution \
%endif
%if %{build_firefox}
--enable-miner-firefox \
--with-firefox-plugin-dir="%{_datadir}/mozilla/extensions/%{firefox_appid}" \
%else
--disable-miner-firefox \
%endif
%if %{build_gui}
--enable-tracker-needle \
--enable-tracker-preferences \
%else
--disable-tracker-needle \
--disable-tracker-preferences \
%endif
%if %{build_nautilus}
--enable-nautilus-extension \
%else
--disable-nautilus-extension \
%endif
%if %{build_miner_rss}
--enable-miner-rss \
%else
--disable-miner-rss \
%endif
%if %{build_thunderbird}
--enable-miner-thunderbird \
--with-thunderbird-plugin-dir="%{_datadir}/mozilla/extensions/%{thunderbird_appid}" \
%else
--disable-miner-thunderbird \
%endif
--disable-functional-tests
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
rm -r %{buildroot}%{_datadir}/tracker-tests
%if !%{build_extras}
## Normal build
%suse_update_desktop_file tracker-miner-fs
%suse_update_desktop_file tracker-store
%find_lang %{_name} %{?no_lang_C}
# Ensure we have a /usr/share/tracker/icons/ folder, so the
# tracker-extras build can put icons in there without having to worry
mkdir -p %{buildroot}%{_datadir}/tracker/icons/
%fdupes %{buildroot}%{_datadir}/vala/
%else
## Extras build: remove files from main, miner-files, devel, lang and lib subpackages
for file in `rpm -ql tracker tracker-devel tracker-miner-files libtracker-control-%{RPMTrackerAPI}-0 libtracker-miner-%{RPMTrackerAPI}-0 libtracker-sparql-%{RPMTrackerAPI}-0 typelib-1_0-Tracker-%{RPMTrackerAPI} typelib-1_0-TrackerControl-%{RPMTrackerAPI} typelib-1_0-TrackerMiner-%{RPMTrackerAPI} libtracker-common-%{RPMTrackerAPI}`; do
# do not remove directories (might contain files we want); -f to not fail if
# file doesn't exist
test ! -d %{buildroot}${file} && rm -f %{buildroot}${file}
test ${file#%{_mandir}} != ${file} && rm -f %{buildroot}${file%%%{?ext_man}}
done
rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
%endif
%if %{build_miner_rss}
%suse_update_desktop_file tracker-miner-rss
%endif
%if %{build_evo}
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%endif
%if %{build_gui}
%suse_update_desktop_file -r tracker-preferences Settings DesktopSettings X-SuSE-Core-System X-GNOME-PersonalSettings
%suse_update_desktop_file tracker-needle DesktopUtility
%endif
%if %{build_thunderbird}
%suse_update_desktop_file trackerbird-launcher
%endif
%if !%{build_extras}
%post
%glib2_gsettings_schema_post
%postun
%glib2_gsettings_schema_postun
%post -n libtracker-common-%{RPMTrackerAPI}
%glib2_gsettings_schema_post
%postun -n libtracker-common-%{RPMTrackerAPI}
%glib2_gsettings_schema_postun
%post -n %{_name}-miner-files
%glib2_gsettings_schema_post
%postun -n %{_name}-miner-files
%glib2_gsettings_schema_postun
%post -n libtracker-control-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%postun -n libtracker-control-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%post -n libtracker-miner-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%postun -n libtracker-miner-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%post -n libtracker-sparql-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%endif # !build_extras
%if %{build_gui}
%if 0%{?suse_version} > 1130
%post -n %{_name}-gui
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun -n %{_name}-gui
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%endif
%endif
%if %{build_thunderbird}
%if 0%{?suse_version} > 1130
%post -n %{_name}-miner-thunderbird
%desktop_database_post
%postun -n %{_name}-miner-thunderbird
%desktop_database_postun
%endif
%endif
%if !%{build_extras}
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README NEWS
%{_sysconfdir}/xdg/autostart/tracker-extract.desktop
%{_sysconfdir}/xdg/autostart/tracker-store.desktop
%{_bindir}/tracker
%{_libexecdir}/tracker-extract
%{_userunitdir}/tracker-extract.service
%{_libexecdir}/tracker-store
%{_userunitdir}/tracker-store.service
%{_libexecdir}/tracker-writeback
%{_userunitdir}/tracker-writeback.service
%dir %{_libdir}/tracker-%{TrackerAPI}/
%{_libdir}/tracker-%{TrackerAPI}/extract-modules/
%{_libdir}/tracker-%{TrackerAPI}/writeback-modules/
%{_datadir}/bash-completion/completions/tracker
%{_datadir}/tracker/
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Extract.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Writeback.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.DB.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.FTS.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Store.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Writeback.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.gschema.xml
%{_datadir}/bash-completion/completions/tracker
%{_mandir}/man1/tracker-daemon.1%{ext_man}
%{_mandir}/man1/tracker-extract.1%{ext_man}
%{_mandir}/man1/tracker-index.1%{ext_man}
%{_mandir}/man1/tracker-info.1%{ext_man}
%{_mandir}/man1/tracker-reset.1%{ext_man}
%{_mandir}/man1/tracker-search.1%{ext_man}
%{_mandir}/man1/tracker-sparql.1%{ext_man}
%{_mandir}/man1/tracker-sql.1%{ext_man}
%{_mandir}/man1/tracker-status.1%{ext_man}
%{_mandir}/man1/tracker-store.1%{ext_man}
%{_mandir}/man1/tracker-tag.1%{ext_man}
%{_mandir}/man1/tracker-writeback.1%{ext_man}
# Exclude files which live in other packages
%if %{build_evo}
%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%endif
%if %{build_miner_rss}
%exclude %{_datadir}/tracker/miners/org.freedesktop.Tracker1.Miner.RSS.service
%endif
%if %{build_gui}
%exclude %{_datadir}/tracker/tracker-needle.ui
%exclude %{_datadir}/tracker/tracker-preferences.ui
%endif
%files -n %{_name}-miner-files
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/tracker-miner-apps.desktop
%{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop
%{_sysconfdir}/xdg/autostart/tracker-miner-user-guides.desktop
%{_libexecdir}/tracker-miner-apps
%{_userunitdir}/tracker-miner-apps.service
%{_libexecdir}/tracker-miner-fs
%{_userunitdir}/tracker-miner-fs.service
%{_libexecdir}/tracker-miner-user-guides
%{_userunitdir}/tracker-miner-user-guides.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Applications.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Files.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Userguides.service
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Miner.Files.gschema.xml
%{_mandir}/man1/tracker-miner-fs.1%{ext_man}
%files -n libtracker-common-%{RPMTrackerAPI}
%defattr(-,root,root)
%{_libdir}/tracker-%{TrackerAPI}/libtracker-common.so
%{_libdir}/tracker-%{TrackerAPI}/libtracker-data.so
%{_libdir}/tracker-%{TrackerAPI}/libtracker-extract*.so
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.enums.xml
%files -n libtracker-control-%{RPMTrackerAPI}-0
%defattr(-,root,root)
%{_libdir}/libtracker-control*.so.*
%files -n libtracker-miner-%{RPMTrackerAPI}-0
%defattr(-,root,root)
%{_libdir}/libtracker-miner*.so.*
%files -n libtracker-sparql-%{RPMTrackerAPI}-0
%defattr(-, root, root)
%{_libdir}/libtracker-sparql*.so.*
%files -n typelib-1_0-Tracker-%{RPMTrackerAPI}
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Tracker-%{TrackerAPI}.typelib
%files -n typelib-1_0-TrackerControl-%{RPMTrackerAPI}
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerControl-%{TrackerAPI}.typelib
%files -n typelib-1_0-TrackerMiner-%{RPMTrackerAPI}
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerMiner-%{TrackerAPI}.typelib
%files -n tracker-devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_includedir}/tracker-%{TrackerAPI}/
%{_libdir}/pkgconfig/tracker-control-1.0.pc
%{_libdir}/pkgconfig/tracker-miner-1.0.pc
%{_libdir}/pkgconfig/tracker-sparql-1.0.pc
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/libtracker-miner/
%{_datadir}/gtk-doc/html/libtracker-control/
%{_datadir}/gtk-doc/html/libtracker-sparql/
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/*.deps
%{_datadir}/vala/vapi/*.vapi
%endif # !build_extras
%if %{build_evo}
%files -n %{_name}-miner-evolution
%defattr(-,root,root)
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.EMails.service
%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%{_libdir}/evolution/*/plugins/liborg-freedesktop-Tracker-evolution-plugin.so
%{_libdir}/evolution/*/plugins/org-freedesktop-Tracker-evolution-plugin.eplug
%endif
%if %{build_firefox}
%files -n %{_name}-miner-firefox
%defattr(-,root,root)
%{_datadir}/mozilla/extensions/%{firefox_appid}/trackerfox@bustany.org
%dir %{_datadir}/xul-ext
%{_datadir}/xul-ext/trackerfox/
%endif
%if %{build_miner_rss}
%files -n %{_name}-miner-rss
%defattr(-,root,root)
%doc src/miners/rss/README.SUSE examples/rss-reader/initial-data.ttl
%{_sysconfdir}/xdg/autostart/tracker-miner-rss.desktop
%{_libexecdir}/tracker-miner-rss
%{_userunitdir}/tracker-miner-rss.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.RSS.service
%{_datadir}/tracker/miners/org.freedesktop.Tracker1.Miner.RSS.service
%{_mandir}/man1/tracker-miner-rss.1%{ext_man}
%endif
%if %{build_thunderbird}
%files -n %{_name}-miner-thunderbird
%defattr(-,root,root)
%dir %{_datadir}/mozilla
%dir %{_datadir}/mozilla/extensions
%dir %{_datadir}/mozilla/extensions/%{thunderbird_appid}
%{_datadir}/mozilla/extensions/%{thunderbird_appid}/trackerbird@bustany.org
%dir %{_datadir}/xul-ext
%{_datadir}/xul-ext/trackerbird/
%{_datadir}/applications/trackerbird-launcher.desktop
%endif
%if %{build_gui}
%files -n %{_name}-gui
%defattr(-,root,root)
# preferences
%{_bindir}/tracker-preferences
%dir %{_datadir}/appdata
%{_datadir}/appdata/tracker-needle.appdata.xml
%{_datadir}/appdata/tracker-preferences.appdata.xml
%{_datadir}/applications/tracker-preferences.desktop
%{_datadir}/icons/hicolor/*/apps/tracker.*
%{_datadir}/tracker/tracker-preferences.ui
%{_mandir}/man1/tracker-preferences.1*
# Tracker Needle (former search tool)
%{_bindir}/tracker-needle
%{_datadir}/applications/tracker-needle.desktop
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Needle.gschema.xml
%{_datadir}/tracker/tracker-needle.ui
%{_mandir}/man1/tracker-needle.1*
%endif
%if %{build_nautilus}
%files -n nautilus-extension-tracker-tags
%defattr(-,root,root)
%{_libdir}/nautilus/extensions-3.0/libnautilus-tracker-tags*
%endif
%if !%{build_extras}
%files lang -f %{_name}.lang
%endif
%changelog

View File

@ -1,3 +1,132 @@
-------------------------------------------------------------------
Wed Aug 23 21:37:39 UTC 2017 - zaitor@opensuse.org
- Update to version 1.99.3:
+ Mandate that SQLite >= 3.20.0 must have --enable-fts5. SQLite
devs made forwards and backwards incompatible changes to the
FTS5 module, it is not sustainable anymore to ship a FTS5
module for all combinations. The current FTS5 module in Tracker
is preserved for older SQLite versions.
+ Fixed a Coverity warning (CID #1453480).
+ Misc code and build fixes.
+ Updated translations.
-------------------------------------------------------------------
Wed Aug 23 21:01:31 UTC 2017 - dimstar@opensuse.org
- Update to version 1.99.2:
+ Miners have been split from the Tracker package.
+ Sqlite 3.20 introduced incompatible changes in the way FTS5 can
be extended, compile/runtime checks were added to adapt to the
new safer way if Sqlite >= 3.20.0 is found.
+ Elements are no longer leaked in the base Resource table. A
refcounted approach ensures no longer needed elements are
cleaned up from that table. The database will no longer
indefinitely grow, it will be cleaned up and vacuumed
periodically.
+ Fixed several Coverity warnings (CIDS: 1452447, 1188417,
1188418, 1188428, 1452443, 1452445, 1452449)
+ Misc code and build fixes.
+ Documentation improvements.
- Eliminate build_extras conditions and tracker-extras.spec: this
basically only had the rss miner left to be built, and all miners
are now moved to a separate source package (tracker-miners).
- Clean up BuildRequires: drop things that were only used by the
extractors/miners.
- Have libtracker-common-2_0 obsolete libtracker-common-1_0.
-------------------------------------------------------------------
Wed Aug 23 20:29:39 UTC 2017 - zaitor@opensuse.org
- Update to version 1.99.1:
+ Notable speedups to tracker-miner-fs, main loop overhead was
greatly reduced by processing elements in batches. Indexing has
been observed to be up to 2x faster, and startup on an indexed
and up-to-date filesystem up to 3x.
+ More notable speedups to tracker-miner-fs startup, this applies
only to filesystems where the number of indexed folders exceed
the amount of inotify handles. Inotify monitoring is
temporarily disabled during filesystem mtime checks, resulting
in up to 4x faster startup. (In addition to the previous
point).
+ Refurbished the allocation scheme for underlying DB interfaces.
The benefit is twofold, this makes TrackerSparqlConnections
truly isolated instances, and results in much reduced mutex
contention on stress situations.
+ Dropped deprecated API to get direct/bus connections. Use
tracker_sparql_connection_get().
+ Deprecated TrackerSparqlBuilder. Use TrackerResource.
+ Added tracker_sparql_connection_get_namespace_manager() to
fetch the namespaces as per the ontology of the connection.
+ Dropped support for non-standard SPARQL syntax "AS var", the
right syntax is "AS ?var", defined in SPARQL1.1 and accepted by
Tracker for a long time.
+ Added tracker:title-order() sparql function, only meant to be
used in "ORDER BY" clauses. It drops the common articles at the
beginning of the given variable for sorting purposes.
+ Fix shutdown issues on tracker-store introduced in 1.99.0. No
more spurious integrity checks on startup.
+ Misc code and build fixes.
+ Updated translations.
- Obsolete dropped sub packages:
+ tracker-gui.
+ tracker-miner-evolution.
+ tracker-miner-firefox.
+ tracker-miner-thunderbird.
-------------------------------------------------------------------
Wed Aug 23 20:28:39 UTC 2017 - adrien.plazas@suse.com
- Update to version 1.99.0:
+ Domain ontologies: it is now possible to create domain-specific
SPARQL endpoints with customizable ontologies and data
locations. It is possible to do so either in-process using the
traditional Tracker daemons to do the work (Note: miners rely
on Nepomuk ontology).
+ Deleted nautilus/firefox/evolution/thunderbird plugins. They
were in a pitiful state of maintainership, the latter 2 being
known broken for some time already.
+ Deleted tracker-needle. It has been in strict maintenance state
for years, since then other UIs have integrated Tracker search
and offer a more compelling and modern experience.
+ Deleted tracker-preferences. Tracker has been using GSettings
for years, so doesn't specifically require an UI for it,
there's of course room for desktop integrated configuration,
gnome-control-center does this for example.
+ Made portions of libtracker-miner useful on the client side.
Miners don't mandate anymore an org.freedesktop.Tracker1.Miner
DBus interface/name, this is instead delegated on
TrackerMinerProxy. TrackerMinerFS has been made largely
independent of the ontology in use, all high level operations
that do require SPARQL updates are now exposed in
TrackerMinerFSClass.
+ Removed deprecated and duplicate API on libtracker-miner.
+ Added documentation about creating and maintaining ontologies.
+ Removed maemo leftovers.
+ libtracker-sparql: Protect sqlite3_bind* with interface lock.
+ Improvements to meson build.
+ Updated translations.
- Drop the following packages:
+ nautilus-extension-tracker-tags.
+ tracker-gui.
+ tracker-miner-evolution.
+ tracker-miner-firefox.
+ tracker-miner-thunderbird.
-------------------------------------------------------------------
Wed Aug 23 20:27:39 UTC 2017 - zaitor@opensuse.org
- Update to version 1.13.0:
+ Added support for the Meson build system, autotools will be
eventually discontinued.
+ Compile fixes.
+ Fixed introspection annotations.
+ libtracker-sparql: Support osinfo ontology in TrackerNamespace.
+ Fix possible source of stale files in TrackerFileSystem.
+ Whitelist some more syscalls.
+ Updated translations.
-------------------------------------------------------------------
Tue Aug 22 17:32:24 UTC 2017 - zaitor@opensuse.org

View File

@ -17,131 +17,59 @@
#
%define build_extras 0
%if !%{build_extras}
%define build_evo 0
%define build_firefox 0
%define build_gui 0
%define build_miner_rss 0
%define build_nautilus 0
%define build_thunderbird 0
%else
%define build_evo 0
%define build_firefox 0
%define build_gui 1
%define build_miner_rss 1
%define build_nautilus 1
%define build_thunderbird 0
%endif
%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
%define thunderbird_appid \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
%define TrackerAPI 2.0
%define RPMTrackerAPI 2_0
Name: tracker
%define _name tracker
Version: 1.12.3
Version: 1.99.3
Release: 0
%define TrackerAPI 1.0
%define RPMTrackerAPI 1_0
Summary: Object database, tag/metadata database, search tool and indexer
License: GPL-2.0+
Group: Productivity/Other
Url: http://projects.gnome.org/tracker/
Source0: https://download.gnome.org/sources/tracker/1.12/%{_name}-%{version}.tar.xz
# Needed for patch0: we need to bootstrap
Source2: README.SUSE.rss
Source0: https://download.gnome.org/sources/tracker/1.99/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM tracker-extract-private.patch bgo#725689 dimstar@opensuse.org -- Do not maintain LT versioning for private libs
Patch0: tracker-extract-private.patch
BuildRequires: enca-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: glib2-devel >= 2.44.0
# Needed for patch0
BuildRequires: gnome-common
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: libgnome-keyring-devel
# Not guarded by !%%{build_extras}, else we build files to have external generic
# media players
BuildRequires: gstreamer-plugins-base-devel >= 0.10.31
BuildRequires: libicu-devel
BuildRequires: libuuid-devel
# Needed for patch0
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python3
BuildRequires: sqlite3-devel >= 3.7.15
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.12.0
BuildRequires: zlib-devel
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(json-glib-1.0) >= 1.0
BuildRequires: pkgconfig(libavcodec) >= 0.8.4
BuildRequires: pkgconfig(libavformat) >= 0.8.4
BuildRequires: pkgconfig(libavutil) >= 0.8.4
BuildRequires: pkgconfig(libmediaart-2.0) >= 0.1.0
BuildRequires: pkgconfig(libnm-glib) >= 0.8
BuildRequires: pkgconfig(libseccomp) >= 2.0
BuildRequires: pkgconfig(libsoup-2.4) >= 2.40
BuildRequires: pkgconfig(libxml-2.0) >= 2.6
BuildRequires: pkgconfig(upower-glib)
%if !%{build_extras}
# Dependencies for extractors / writeback
BuildRequires: flac-devel
BuildRequires: giflib-devel
BuildRequires: libcue-devel
BuildRequires: libexif-devel
BuildRequires: libgsf-devel
BuildRequires: libosinfo-devel >= 0.0.2
%if 0%{?suse_version} >= 1140
BuildRequires: libgupnp-dlna-devel >= 0.9.4
%endif
BuildRequires: libexempi-devel
BuildRequires: libgxps-devel
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel >= 1.2
BuildRequires: libpoppler-glib-devel
BuildRequires: libtiff-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: taglib-devel
BuildRequires: totem-pl-parser-devel
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
%else
# For directory ownership and removing files in %%install
BuildRequires: tracker = %{version}
BuildRequires: tracker-devel
BuildRequires: tracker-miner-files
%endif # !build_extras
%if %{build_evo}
BuildRequires: evolution-data-server-devel
BuildRequires: evolution-devel
%endif
%if %{build_firefox}
# It's a bit annoying to require this for the build, see bgo#655618.
BuildRequires: MozillaFirefox
%endif
%if %{build_gui}
BuildRequires: gtk3-devel
%endif
%if %{build_miner_rss}
BuildRequires: libgrss-devel >= 0.7
%endif
%if %{build_nautilus}
BuildRequires: pkgconfig(libnautilus-extension)
%endif
%if %{build_thunderbird}
# It's a bit annoying to require this for the build, see bgo#655618.
BuildRequires: MozillaThunderbird
%endif
Recommends: %{_name}-lang
BuildRequires: pkgconfig(uuid)
Recommends: %{name}-lang
# We want to index files by default, if possible
Recommends: %{_name}-miner-files
Recommends: %{name}-miner-files
# gnome-panel-applet-tracker (aka tracker-search-bar) was removed with tracker 0.16.0
Obsoletes: gnome-panel-applet-tracker < 0.16.0
# flickr miner was removed with tracker 0.16.0
Obsoletes: tracker-miner-flickr < 0.16.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Removed with tracker 2.0
Obsoletes: tracker-gui < 1.99.0
Obsoletes: tracker-miner-evolution < 1.99.0
Obsoletes: tracker-miner-firefox < 1.99.0
Obsoletes: tracker-miner-thunderbird < 1.99.0
%glib2_gsettings_schema_requires
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
%if 0%{?suse_version} >= 1140
BuildRequires: libgupnp-dlna-devel >= 0.9.4
%endif
%description
Tracker is a desktop-neutral object database, tag/metadata database,
@ -156,20 +84,6 @@ It provides context linking and audit trails for file objects.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%if !%{build_extras}
%package -n %{_name}-miner-files
Summary: Tracker miner to index files and applications
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
%glib2_gsettings_schema_requires
%description -n %{_name}-miner-files
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains a miner to index files and applications.
# This package name is not correct as per SLPP, but the 'lib' lives in a
# private directory: the symbol provided is libtracker-common.so() (same
# name across multiple versions of tracker).
@ -180,6 +94,8 @@ Summary: Convenience libraries for Tracker
# Obsolete old tracker libs, bnc#876649
Group: System/Libraries
Obsoletes: libtracker-extract-0_16-0
# Obsolete tracker 1.0 - this is not a 'real' slpp package, thus can be obsoleted
Obsoletes: libtracker-common-1_0
%description -n libtracker-common-%{RPMTrackerAPI}
Tracker is a desktop-neutral object database, tag/metadata database,
@ -193,8 +109,7 @@ Summary: Control library for Tracker
# rpm autodetects libtracker-common.so() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Group: System/Libraries
Requires: libtracker-common-%{RPMTrackerAPI}
Suggests: %{_name}
%glib2_gsettings_schema_requires
Suggests: %{name}
%description -n libtracker-control-%{RPMTrackerAPI}-0
Tracker is a desktop-neutral object database, tag/metadata database,
@ -214,7 +129,7 @@ Summary: Miner library for Tracker
# rpm autodetects libtracker-common.so() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Group: System/Libraries
Requires: libtracker-common-%{RPMTrackerAPI}
Suggests: %{_name}
Suggests: %{name}
%description -n libtracker-miner-%{RPMTrackerAPI}-0
Tracker is a desktop-neutral object database, tag/metadata database,
@ -267,7 +182,7 @@ Summary: Sparql library for Tracker
# rpm autodetects libtracker-common.so() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Group: System/Libraries
Requires: libtracker-common-%{RPMTrackerAPI}
Suggests: %{_name}
Suggests: %{name}
%description -n libtracker-sparql-%{RPMTrackerAPI}-0
Tracker is a desktop-neutral object database, tag/metadata database,
@ -297,195 +212,31 @@ Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This subpackage contains the headers to make use of its libraries.
%endif # !build_extras
%if %{build_evo}
%package -n %{_name}-miner-evolution
Summary: Tracker miner to index Evolution mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Requires: evolution
Supplements: packageand(%{_name}:evolution}
# Name changed during development of 11.4
Provides: evolution-tracker = %{version}
Obsoletes: evolution-tracker < %{version}
# A generic provides, since this is also an evolution plugin
Provides: evolution-plugin-tracker = %{version}
%description -n %{_name}-miner-evolution
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains an Evolution plugin that will index Evolution
mails.
%endif # build_evo
%if %{build_firefox}
%package -n %{_name}-miner-firefox
Summary: Tracker miner to index Firefox bookmarks
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Requires: MozillaFirefox
Supplements: packageand(%{_name}:MozillaFirefox}
# A generic provides, since this is also a firefox extension
Provides: MozillaFirefox-extension-tracker = %{version}
%description -n %{_name}-miner-firefox
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains a Firefox extension that will index
Firefox bookmarks.
%endif # build_firefox
%if %{build_miner_rss}
%package -n %{_name}-miner-rss
Summary: Tracker miner to index ATOM and RSS feeds
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
%description -n %{_name}-miner-rss
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains a miner to index ATOM and RSS feeds.
%endif # build_miner_rss
%if %{build_thunderbird}
%package -n %{_name}-miner-thunderbird
Summary: Tracker miner to index Thunderbird mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Requires: MozillaThunderbird
# bnc#840403 - Addon regularly breaks TB - do not install by deps
#Supplements: packageand(%{_name}:MozillaThunderbird}
# A generic provides, since this is also a thunderbird extension
Provides: MozillaThunderbird-extension-tracker = %{version}
%description -n %{_name}-miner-thunderbird
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains a Thunderbird extension that will index
Thunderbird mails.
%endif # build_thunderbird
%if %{build_gui}
%package -n %{_name}-gui
Summary: Graphical User Interface for Tracker
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Recommends: %{_name}-lang
%description -n %{_name}-gui
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite 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 context linking and audit trails for file objects.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%endif # build_gui
%if %{build_nautilus}
%package -n nautilus-extension-tracker-tags
Summary: Tracker Plugin for Nautilus
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
Requires: nautilus
Recommends: %{_name}-lang
Supplements: packageand(%{_name}:nautilus}
# Name changed during development of 11.4
Provides: nautilus-tracker = %{version}
Obsoletes: nautilus-tracker < %{version}
%description -n nautilus-extension-tracker-tags
Tracker is a desktop-neutral object database, tag/metadata database,
search tool and indexer.
This package contains an nautilus plugin to tag files with Tracker.
%endif # build_nautilus
%if !%{build_extras}
%lang_package
%endif
%prep
%setup -q -n %{_name}-%{version}
%setup -q
%patch0 -p1
%if !0%{?is_opensuse}
translation-update-upstream
%endif
cp %{S:2} src/miners/rss/README.SUSE
%build
#Needed for patch0
NOCONFIGURE=1 gnome-autogen.sh
autoreconf -fiv
%configure \
--disable-static \
%if !%{build_extras}
--enable-libvorbis \
--enable-libflac \
%endif
%if %{build_evo}
--enable-miner-evolution \
%else
--disable-miner-evolution \
%endif
%if %{build_firefox}
--enable-miner-firefox \
--with-firefox-plugin-dir="%{_datadir}/mozilla/extensions/%{firefox_appid}" \
%else
--disable-miner-firefox \
%endif
%if %{build_gui}
--enable-tracker-needle \
--enable-tracker-preferences \
%else
--disable-tracker-needle \
--disable-tracker-preferences \
%endif
%if %{build_nautilus}
--enable-nautilus-extension \
%else
--disable-nautilus-extension \
%endif
%if %{build_miner_rss}
--enable-miner-rss \
%else
--disable-miner-rss \
%endif
%if %{build_thunderbird}
--enable-miner-thunderbird \
--with-thunderbird-plugin-dir="%{_datadir}/mozilla/extensions/%{thunderbird_appid}" \
%else
--disable-miner-thunderbird \
%endif
--disable-functional-tests
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
rm -r %{buildroot}%{_datadir}/tracker-tests
%if !%{build_extras}
## Normal build
%suse_update_desktop_file tracker-miner-fs
%suse_update_desktop_file tracker-store
%find_lang %{_name} %{?no_lang_C}
%find_lang %{name} %{?no_lang_C}
# Ensure we have a /usr/share/tracker/icons/ folder, so the
# tracker-extras build can put icons in there without having to worry
@ -493,53 +244,6 @@ mkdir -p %{buildroot}%{_datadir}/tracker/icons/
%fdupes %{buildroot}%{_datadir}/vala/
%else
## Extras build: remove files from main, miner-files, devel, lang and lib subpackages
for file in `rpm -ql tracker tracker-devel tracker-miner-files libtracker-control-%{RPMTrackerAPI}-0 libtracker-miner-%{RPMTrackerAPI}-0 libtracker-sparql-%{RPMTrackerAPI}-0 typelib-1_0-Tracker-%{RPMTrackerAPI} typelib-1_0-TrackerControl-%{RPMTrackerAPI} typelib-1_0-TrackerMiner-%{RPMTrackerAPI} libtracker-common-%{RPMTrackerAPI}`; do
# do not remove directories (might contain files we want); -f to not fail if
# file doesn't exist
test ! -d %{buildroot}${file} && rm -f %{buildroot}${file}
test ${file#%{_mandir}} != ${file} && rm -f %{buildroot}${file%%%{?ext_man}}
done
rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
%endif
%if %{build_miner_rss}
%suse_update_desktop_file tracker-miner-rss
%endif
%if %{build_evo}
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%endif
%if %{build_gui}
%suse_update_desktop_file -r tracker-preferences Settings DesktopSettings X-SuSE-Core-System X-GNOME-PersonalSettings
%suse_update_desktop_file tracker-needle DesktopUtility
%endif
%if %{build_thunderbird}
%suse_update_desktop_file trackerbird-launcher
%endif
%if !%{build_extras}
%post
%glib2_gsettings_schema_post
%postun
%glib2_gsettings_schema_postun
%post -n libtracker-common-%{RPMTrackerAPI}
%glib2_gsettings_schema_post
%postun -n libtracker-common-%{RPMTrackerAPI}
%glib2_gsettings_schema_postun
%post -n %{_name}-miner-files
%glib2_gsettings_schema_post
%postun -n %{_name}-miner-files
%glib2_gsettings_schema_postun
%post -n libtracker-control-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%postun -n libtracker-control-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
@ -551,64 +255,23 @@ rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
%post -n libtracker-sparql-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%endif # !build_extras
%if %{build_gui}
%if 0%{?suse_version} > 1130
%post -n %{_name}-gui
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun -n %{_name}-gui
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%endif
%endif
%if %{build_thunderbird}
%if 0%{?suse_version} > 1130
%post -n %{_name}-miner-thunderbird
%desktop_database_post
%postun -n %{_name}-miner-thunderbird
%desktop_database_postun
%endif
%endif
%if !%{build_extras}
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README NEWS
%{_sysconfdir}/xdg/autostart/tracker-extract.desktop
%{_sysconfdir}/xdg/autostart/tracker-store.desktop
%{_bindir}/tracker
%{_libexecdir}/tracker-extract
%{_userunitdir}/tracker-extract.service
%{_libexecdir}/tracker-store
%{_userunitdir}/tracker-store.service
%{_libexecdir}/tracker-writeback
%{_userunitdir}/tracker-writeback.service
%dir %{_libdir}/tracker-%{TrackerAPI}/
%{_libdir}/tracker-%{TrackerAPI}/extract-modules/
%{_libdir}/tracker-%{TrackerAPI}/writeback-modules/
%{_datadir}/bash-completion/completions/tracker
%{_datadir}/tracker/
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Extract.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Writeback.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.DB.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.FTS.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Store.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Writeback.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.gschema.xml
%{_datadir}/bash-completion/completions/tracker
%{_mandir}/man1/tracker-daemon.1%{ext_man}
%{_mandir}/man1/tracker-extract.1%{ext_man}
%{_mandir}/man1/tracker-index.1%{ext_man}
%{_mandir}/man1/tracker-info.1%{ext_man}
%{_mandir}/man1/tracker-reset.1%{ext_man}
@ -618,42 +281,11 @@ rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
%{_mandir}/man1/tracker-status.1%{ext_man}
%{_mandir}/man1/tracker-store.1%{ext_man}
%{_mandir}/man1/tracker-tag.1%{ext_man}
%{_mandir}/man1/tracker-writeback.1%{ext_man}
# Exclude files which live in other packages
%if %{build_evo}
%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%endif
%if %{build_miner_rss}
%exclude %{_datadir}/tracker/miners/org.freedesktop.Tracker1.Miner.RSS.service
%endif
%if %{build_gui}
%exclude %{_datadir}/tracker/tracker-needle.ui
%exclude %{_datadir}/tracker/tracker-preferences.ui
%endif
%files -n %{_name}-miner-files
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/tracker-miner-apps.desktop
%{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop
%{_sysconfdir}/xdg/autostart/tracker-miner-user-guides.desktop
%{_libexecdir}/tracker-miner-apps
%{_userunitdir}/tracker-miner-apps.service
%{_libexecdir}/tracker-miner-fs
%{_userunitdir}/tracker-miner-fs.service
%{_libexecdir}/tracker-miner-user-guides
%{_userunitdir}/tracker-miner-user-guides.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Applications.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Files.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Userguides.service
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Miner.Files.gschema.xml
%{_mandir}/man1/tracker-miner-fs.1%{ext_man}
%files -n libtracker-common-%{RPMTrackerAPI}
%defattr(-,root,root)
%{_libdir}/tracker-%{TrackerAPI}/libtracker-common.so
%{_libdir}/tracker-%{TrackerAPI}/libtracker-data.so
%{_libdir}/tracker-%{TrackerAPI}/libtracker-extract*.so
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.enums.xml
%files -n libtracker-control-%{RPMTrackerAPI}-0
@ -684,9 +316,9 @@ rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_includedir}/tracker-%{TrackerAPI}/
%{_libdir}/pkgconfig/tracker-control-1.0.pc
%{_libdir}/pkgconfig/tracker-miner-1.0.pc
%{_libdir}/pkgconfig/tracker-sparql-1.0.pc
%{_libdir}/pkgconfig/tracker-control-%{TrackerAPI}.pc
%{_libdir}/pkgconfig/tracker-miner-%{TrackerAPI}.pc
%{_libdir}/pkgconfig/tracker-sparql-%{TrackerAPI}.pc
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/libtracker-miner/
%{_datadir}/gtk-doc/html/libtracker-control/
@ -695,84 +327,7 @@ rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/*.deps
%{_datadir}/vala/vapi/*.vapi
%endif # !build_extras
%if %{build_evo}
%files -n %{_name}-miner-evolution
%defattr(-,root,root)
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.EMails.service
%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%{_libdir}/evolution/*/plugins/liborg-freedesktop-Tracker-evolution-plugin.so
%{_libdir}/evolution/*/plugins/org-freedesktop-Tracker-evolution-plugin.eplug
%endif
%if %{build_firefox}
%files -n %{_name}-miner-firefox
%defattr(-,root,root)
%{_datadir}/mozilla/extensions/%{firefox_appid}/trackerfox@bustany.org
%dir %{_datadir}/xul-ext
%{_datadir}/xul-ext/trackerfox/
%endif
%if %{build_miner_rss}
%files -n %{_name}-miner-rss
%defattr(-,root,root)
%doc src/miners/rss/README.SUSE examples/rss-reader/initial-data.ttl
%{_sysconfdir}/xdg/autostart/tracker-miner-rss.desktop
%{_libexecdir}/tracker-miner-rss
%{_userunitdir}/tracker-miner-rss.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.RSS.service
%{_datadir}/tracker/miners/org.freedesktop.Tracker1.Miner.RSS.service
%{_mandir}/man1/tracker-miner-rss.1%{ext_man}
%endif
%if %{build_thunderbird}
%files -n %{_name}-miner-thunderbird
%defattr(-,root,root)
%dir %{_datadir}/mozilla
%dir %{_datadir}/mozilla/extensions
%dir %{_datadir}/mozilla/extensions/%{thunderbird_appid}
%{_datadir}/mozilla/extensions/%{thunderbird_appid}/trackerbird@bustany.org
%dir %{_datadir}/xul-ext
%{_datadir}/xul-ext/trackerbird/
%{_datadir}/applications/trackerbird-launcher.desktop
%endif
%if %{build_gui}
%files -n %{_name}-gui
%defattr(-,root,root)
# preferences
%{_bindir}/tracker-preferences
%dir %{_datadir}/appdata
%{_datadir}/appdata/tracker-needle.appdata.xml
%{_datadir}/appdata/tracker-preferences.appdata.xml
%{_datadir}/applications/tracker-preferences.desktop
%{_datadir}/icons/hicolor/*/apps/tracker.*
%{_datadir}/tracker/tracker-preferences.ui
%{_mandir}/man1/tracker-preferences.1*
# Tracker Needle (former search tool)
%{_bindir}/tracker-needle
%{_datadir}/applications/tracker-needle.desktop
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Needle.gschema.xml
%{_datadir}/tracker/tracker-needle.ui
%{_mandir}/man1/tracker-needle.1*
%endif
%if %{build_nautilus}
%files -n nautilus-extension-tracker-tags
%defattr(-,root,root)
%{_libdir}/nautilus/extensions-3.0/libnautilus-tracker-tags*
%endif
%if !%{build_extras}
%files lang -f %{_name}.lang
%endif
%files lang -f %{name}.lang
%changelog