Accepting request 87864 from GNOME:Apps
Split build in two (tracker & tracker-extras), to avoid build loop with nautilus OBS-URL: https://build.opensuse.org/request/show/87864 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tracker?expand=0&rev=40
This commit is contained in:
parent
5cdc7b34c4
commit
df27213fb4
8
pre_checkin.sh
Normal file
8
pre_checkin.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/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
|
1588
tracker-extras.changes
Normal file
1588
tracker-extras.changes
Normal file
File diff suppressed because it is too large
Load Diff
806
tracker-extras.spec
Normal file
806
tracker-extras.spec
Normal file
@ -0,0 +1,806 @@
|
|||||||
|
#
|
||||||
|
# spec file for package tracker-extras
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define build_extras 1
|
||||||
|
|
||||||
|
%if !%{build_extras}
|
||||||
|
%define build_applet 0
|
||||||
|
%define build_evo 0
|
||||||
|
%define build_firefox 0
|
||||||
|
%define build_gui 0
|
||||||
|
%define build_miner_flickr 0
|
||||||
|
%define build_miner_rss 0
|
||||||
|
%define build_nautilus 0
|
||||||
|
%define build_thunderbird 0
|
||||||
|
%else
|
||||||
|
%define build_applet 1
|
||||||
|
%define build_evo 1
|
||||||
|
%define build_firefox 1
|
||||||
|
%define build_gui 1
|
||||||
|
%define build_miner_flickr 1
|
||||||
|
%define build_miner_rss 1
|
||||||
|
%define build_nautilus 1
|
||||||
|
%define build_thunderbird 1
|
||||||
|
%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: 0.12.5
|
||||||
|
Release: 1
|
||||||
|
# FIXME: missing pkgconfig(libcue) BuildRequires: we don't have this packaged...
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Powerful object database, tag/metadata database, search tool and indexer
|
||||||
|
Url: http://projects.gnome.org/tracker/
|
||||||
|
Group: Productivity/Other
|
||||||
|
Source0: http://download.gnome.org/sources/tracker/0.12/%{_name}-%{version}.tar.bz2
|
||||||
|
Source1: README.SUSE.flickr
|
||||||
|
Source2: README.SUSE.rss
|
||||||
|
# PATCH-FIX-OPENSUSE tracker-removeable-media-off.patch bgo622288 badshah400@gmail.com -- Disable indexing on removable media by default. This is only needed for 11.4 and earlier, as 12.1 and later have proper default values in GSettings.
|
||||||
|
Patch1: tracker-removeable-media-off.patch
|
||||||
|
# PATCH-FIX-OPENSUSE tracker-fix-include-sched-idle.patch malcolmlewis@opensuse.org -- Add linux/sched.h to includes for 11.4 only for the location of SCHED_IDLE. This is only needed for 11.4 and earlier.
|
||||||
|
Patch2: tracker-fix-include-sched-idle.patch
|
||||||
|
BuildRequires: NetworkManager-devel >= 0.8
|
||||||
|
BuildRequires: enca-devel
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: glib2-devel >= 2.28.0
|
||||||
|
BuildRequires: gobject-introspection-devel
|
||||||
|
BuildRequires: intltool
|
||||||
|
%if 0%{?suse_version} >= 1130
|
||||||
|
BuildRequires: libgnome-keyring-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: gnome-keyring-devel
|
||||||
|
%endif
|
||||||
|
# Not guarded by !%%{build_extras}, else we build files to have external generic
|
||||||
|
# media players
|
||||||
|
BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31
|
||||||
|
BuildRequires: libicu-devel
|
||||||
|
BuildRequires: libupower-glib-devel
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
|
BuildRequires: sqlite3-devel
|
||||||
|
BuildRequires: translation-update-upstream
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: vala >= 0.12.0
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
BuildRequires: pkgconfig(gee-1.0)
|
||||||
|
%if !%{build_extras}
|
||||||
|
# Dependencies for extractors / writeback
|
||||||
|
BuildRequires: flac-devel
|
||||||
|
BuildRequires: giflib-devel
|
||||||
|
BuildRequires: libexif-devel
|
||||||
|
BuildRequires: libgsf-devel
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
|
BuildRequires: libgupnp-dlna-devel >= 0.5
|
||||||
|
%endif
|
||||||
|
BuildRequires: libiptcdata-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libpoppler-glib-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: libexempi-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
|
||||||
|
BuildRequires: tracker-devel
|
||||||
|
BuildRequires: tracker-miner-files
|
||||||
|
%endif # !build_extras
|
||||||
|
%if %{build_applet}
|
||||||
|
BuildRequires: pkgconfig(libpanelapplet-4.0)
|
||||||
|
%endif
|
||||||
|
%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_flickr}
|
||||||
|
BuildRequires: pkgconfig(rest-0.7) >= 0.6
|
||||||
|
%endif
|
||||||
|
%if %{build_miner_rss}
|
||||||
|
BuildRequires: libgrss-devel
|
||||||
|
%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
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%glib2_gsettings_schema_requires
|
||||||
|
|
||||||
|
%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 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 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.
|
||||||
|
|
||||||
|
%if !%{build_extras}
|
||||||
|
|
||||||
|
%package -n %{_name}-miner-files
|
||||||
|
License: GPLv2+
|
||||||
|
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 powerful desktop-neutral first class object
|
||||||
|
database, tag/metadata database, search tool and indexer.
|
||||||
|
|
||||||
|
This package contains a miner to index files and applications.
|
||||||
|
|
||||||
|
%package -n libtracker-extract-0_12-0
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Extract library for Tracker
|
||||||
|
Group: System/Libraries
|
||||||
|
Recommends: %{_name}
|
||||||
|
%glib2_gsettings_schema_requires
|
||||||
|
|
||||||
|
%description -n libtracker-extract-0_12-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 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 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_12-0
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Miner library for Tracker
|
||||||
|
Group: System/Libraries
|
||||||
|
Recommends: %{_name}
|
||||||
|
|
||||||
|
%description -n libtracker-miner-0_12-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 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 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_12-0
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Sparql library for Tracker
|
||||||
|
Group: System/Libraries
|
||||||
|
Recommends: %{_name}
|
||||||
|
|
||||||
|
%description -n libtracker-sparql-0_12-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 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 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: libtracker-extract-0_12-0 = %{version}
|
||||||
|
Requires: libtracker-miner-0_12-0 = %{version}
|
||||||
|
Requires: libtracker-sparql-0_12-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 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 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.
|
||||||
|
%endif # !build_extras
|
||||||
|
|
||||||
|
%if %{build_evo}
|
||||||
|
|
||||||
|
%package -n %{_name}-miner-evolution
|
||||||
|
License: GPLv2+
|
||||||
|
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 powerful desktop-neutral first class 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
|
||||||
|
License: GPLv2+
|
||||||
|
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 powerful desktop-neutral first class 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_flickr}
|
||||||
|
|
||||||
|
%package -n %{_name}-miner-flickr
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Tracker miner to index Flickr images
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{_name} = %{version}
|
||||||
|
|
||||||
|
%description -n %{_name}-miner-flickr
|
||||||
|
Tracker is a powerful desktop-neutral first class object
|
||||||
|
database, tag/metadata database, search tool and indexer.
|
||||||
|
|
||||||
|
This package contains a miner to index Flickr images.
|
||||||
|
%endif # build_miner_flickr
|
||||||
|
|
||||||
|
%if %{build_miner_rss}
|
||||||
|
|
||||||
|
%package -n %{_name}-miner-rss
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Tracker miner to index ATOM and RSS feeds
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{_name} = %{version}
|
||||||
|
|
||||||
|
%description -n %{_name}-miner-rss
|
||||||
|
Tracker is a powerful desktop-neutral first class 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
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Tracker miner to index Thunderbird mails
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{_name} = %{version}
|
||||||
|
Requires: MozillaThunderbird
|
||||||
|
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 powerful desktop-neutral first class 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
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Graphical User Interface for Tracker
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{_name} = %{version}
|
||||||
|
Recommends: %{_name}-lang
|
||||||
|
|
||||||
|
%description -n %{_name}-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 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 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.
|
||||||
|
%endif # build_gui
|
||||||
|
|
||||||
|
%if %{build_applet}
|
||||||
|
|
||||||
|
%package -n gnome-panel-applet-tracker
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: A GNOME panel applet for Tracker
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{_name} = %{version}
|
||||||
|
Recommends: %{_name}-lang
|
||||||
|
Supplements: packageand(%{_name}:gnome-panel}
|
||||||
|
# Name changed during development of 11.4
|
||||||
|
Provides: tracker-applet = %{_name}
|
||||||
|
Obsoletes: tracker-applet < %{_name}
|
||||||
|
|
||||||
|
%description -n gnome-panel-applet-tracker
|
||||||
|
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.
|
||||||
|
%endif # build_applet
|
||||||
|
|
||||||
|
%if %{build_nautilus}
|
||||||
|
|
||||||
|
%package -n nautilus-extension-tracker-tags
|
||||||
|
License: GPLv2+
|
||||||
|
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 powerful desktop-neutral first class 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}
|
||||||
|
translation-update-upstream
|
||||||
|
%if 0%{?suse_version} <= 1140
|
||||||
|
%patch1 -p1
|
||||||
|
%patch2
|
||||||
|
%endif
|
||||||
|
cp %{S:1} src/miners/flickr/README.SUSE
|
||||||
|
cp %{S:2} src/miners/rss/README.SUSE
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
%if !%{build_extras}
|
||||||
|
--enable-libvorbis \
|
||||||
|
--enable-libflac \
|
||||||
|
%endif
|
||||||
|
%if %{build_applet}
|
||||||
|
--enable-tracker-search-bar \
|
||||||
|
%else
|
||||||
|
--disable-tracker-search-bar \
|
||||||
|
%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-explorer \
|
||||||
|
--enable-tracker-needle \
|
||||||
|
--enable-tracker-preferences \
|
||||||
|
%else
|
||||||
|
--disable-tracker-explorer \
|
||||||
|
--disable-tracker-needle \
|
||||||
|
--disable-tracker-preferences \
|
||||||
|
%endif
|
||||||
|
%if %{build_nautilus}
|
||||||
|
--enable-nautilus-extension \
|
||||||
|
%else
|
||||||
|
--disable-nautilus-extension \
|
||||||
|
%endif
|
||||||
|
%if %{build_miner_flickr}
|
||||||
|
--enable-miner-flickr \
|
||||||
|
%else
|
||||||
|
--disable-miner-flickr \
|
||||||
|
%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} V=1
|
||||||
|
|
||||||
|
%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
|
||||||
|
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-applications.desktop
|
||||||
|
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-files.desktop
|
||||||
|
%find_lang %{_name} %{?no_lang_C}
|
||||||
|
# Only needed by gui tools
|
||||||
|
rm %{buildroot}%{_datadir}/icons/hicolor/*/apps/tracker.*
|
||||||
|
|
||||||
|
%fdupes %{buildroot}%{_datadir}/gtk-doc/html/
|
||||||
|
%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-extract-0_12-0 libtracker-miner-0_12-0 libtracker-sparql-0_12-0`; 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_flickr}
|
||||||
|
%suse_update_desktop_file tracker-miner-flickr
|
||||||
|
%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_miner_flickr}
|
||||||
|
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||||
|
%endif
|
||||||
|
%if %{build_miner_rss}
|
||||||
|
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||||
|
%endif
|
||||||
|
%if %{build_gui}
|
||||||
|
%suse_update_desktop_file tracker-preferences X-SuSE-ControlCenter-Personal
|
||||||
|
%suse_update_desktop_file tracker-needle DesktopUtility
|
||||||
|
%endif
|
||||||
|
%if %{build_thunderbird}
|
||||||
|
%suse_update_desktop_file trackerbird-launcher
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%if !%{build_extras}
|
||||||
|
|
||||||
|
%post
|
||||||
|
%glib2_gsettings_schema_post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%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-extract-0_12-0
|
||||||
|
%glib2_gsettings_schema_post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libtracker-extract-0_12-0
|
||||||
|
%glib2_gsettings_schema_postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libtracker-miner-0_12-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libtracker-miner-0_12-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
|
||||||
|
%endif # !build_extras
|
||||||
|
|
||||||
|
%if %{build_gui}
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
|
|
||||||
|
%post -n %{_name}-gui
|
||||||
|
%desktop_database_post
|
||||||
|
%icon_theme_cache_post
|
||||||
|
|
||||||
|
%postun -n %{_name}-gui
|
||||||
|
%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-store.desktop
|
||||||
|
%{_bindir}/tracker-control
|
||||||
|
%{_bindir}/tracker-import
|
||||||
|
%{_bindir}/tracker-info
|
||||||
|
%{_bindir}/tracker-search
|
||||||
|
%{_bindir}/tracker-sparql
|
||||||
|
%{_bindir}/tracker-stats
|
||||||
|
%{_bindir}/tracker-tag
|
||||||
|
%{_libexecdir}/tracker-extract
|
||||||
|
%{_libexecdir}/tracker-store
|
||||||
|
%{_libexecdir}/tracker-writeback
|
||||||
|
%{_libdir}/tracker-0.12/
|
||||||
|
%{_datadir}/tracker/
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.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.enums.xml
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.gschema.xml
|
||||||
|
%{_mandir}/man1/tracker-control.1%{ext_man}
|
||||||
|
%{_mandir}/man1/tracker-extract.1%{ext_man}
|
||||||
|
%{_mandir}/man1/tracker-import.1%{ext_man}
|
||||||
|
%{_mandir}/man1/tracker-info.1%{ext_man}
|
||||||
|
%{_mandir}/man1/tracker-search.1%{ext_man}
|
||||||
|
%{_mandir}/man1/tracker-sparql.1%{ext_man}
|
||||||
|
%{_mandir}/man1/tracker-stats.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
|
||||||
|
%exclude %{_datadir}/tracker/miners/tracker-miner-applications.desktop
|
||||||
|
%if %{build_evo}
|
||||||
|
%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop
|
||||||
|
%endif
|
||||||
|
%exclude %{_datadir}/tracker/miners/tracker-miner-files.desktop
|
||||||
|
%if %{build_miner_flickr}
|
||||||
|
%exclude %{_datadir}/tracker/icons/tracker-miner-flickr.svg
|
||||||
|
%exclude %{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||||
|
%endif
|
||||||
|
%if %{build_miner_rss}
|
||||||
|
%exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||||
|
%endif
|
||||||
|
%if %{build_gui}
|
||||||
|
%exclude %{_datadir}/tracker/tracker-explorer.ui
|
||||||
|
%exclude %{_datadir}/tracker/tracker-needle.ui
|
||||||
|
%exclude %{_datadir}/tracker/tracker-preferences.ui
|
||||||
|
%endif
|
||||||
|
%if %{build_applet}
|
||||||
|
%exclude %{_datadir}/tracker/tracker-search-bar.ui
|
||||||
|
%exclude %{_datadir}/tracker/tracker-search-bar-menu.xml
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n %{_name}-miner-files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop
|
||||||
|
%{_libexecdir}/tracker-miner-fs
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Applications.service
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Files.service
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Miner.Files.gschema.xml
|
||||||
|
%{_datadir}/tracker/miners/tracker-miner-applications.desktop
|
||||||
|
%{_datadir}/tracker/miners/tracker-miner-files.desktop
|
||||||
|
%{_mandir}/man1/tracker-miner-fs.1%{ext_man}
|
||||||
|
|
||||||
|
%files -n libtracker-extract-0_12-0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libtracker-extract*.so.*
|
||||||
|
%{_libdir}/girepository-1.0/TrackerExtract-0.12.typelib
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml
|
||||||
|
|
||||||
|
%files -n libtracker-miner-0_12-0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libtracker-miner*.so.*
|
||||||
|
%{_libdir}/girepository-1.0/TrackerMiner-0.12.typelib
|
||||||
|
|
||||||
|
%files -n libtracker-sparql-0_12-0
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libtracker-sparql*.so.*
|
||||||
|
%{_libdir}/girepository-1.0/Tracker-0.12.typelib
|
||||||
|
|
||||||
|
%files -n tracker-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%{_includedir}/tracker-0.12/
|
||||||
|
%{_libdir}/pkgconfig/tracker-extract-0.12.pc
|
||||||
|
%{_libdir}/pkgconfig/tracker-miner-0.12.pc
|
||||||
|
%{_libdir}/pkgconfig/tracker-sparql-0.12.pc
|
||||||
|
%{_datadir}/gir-1.0/*.gir
|
||||||
|
%{_datadir}/gtk-doc/html/libtracker-miner/
|
||||||
|
%{_datadir}/gtk-doc/html/libtracker-extract/
|
||||||
|
%{_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_flickr}
|
||||||
|
|
||||||
|
%files -n %{_name}-miner-flickr
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc src/miners/flickr/README.SUSE
|
||||||
|
%{_sysconfdir}/xdg/autostart/tracker-miner-flickr.desktop
|
||||||
|
%{_libexecdir}/tracker-miner-flickr
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Flickr.service
|
||||||
|
%{_datadir}/tracker/icons/tracker-miner-flickr.svg
|
||||||
|
%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||||
|
%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
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.RSS.service
|
||||||
|
%{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||||
|
%{_mandir}/man1/tracker-miner-rss.1%{ext_man}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{build_thunderbird}
|
||||||
|
|
||||||
|
%files -n %{_name}-miner-thunderbird
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%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
|
||||||
|
%{_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}/tracker/tracker-needle.ui
|
||||||
|
%{_mandir}/man1/tracker-needle.1*
|
||||||
|
# explorer
|
||||||
|
%{_bindir}/tracker-explorer
|
||||||
|
%{_datadir}/tracker/tracker-explorer.ui
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{build_applet}
|
||||||
|
|
||||||
|
%files -n gnome-panel-applet-tracker
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_datadir}/tracker/tracker-search-bar.ui
|
||||||
|
%{_datadir}/tracker/tracker-search-bar-menu.xml
|
||||||
|
%{_datadir}/dbus-1/services/org.gnome.panel.applet.SearchBarFactory.service
|
||||||
|
%{_datadir}/gnome-panel/4.0/applets/org.gnome.panel.SearchBar.panel-applet
|
||||||
|
%{_libexecdir}/tracker-search-bar
|
||||||
|
%{_mandir}/man1/tracker-search-bar.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
|
10
tracker-fix-include-sched-idle.patch
Normal file
10
tracker-fix-include-sched-idle.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- src/libtracker-common/tracker-sched.c 2011-10-06 08:07:14.000000000 -0500
|
||||||
|
+++ src/libtracker-common/tracker-sched.c.orig 2011-10-13 16:43:03.000000000 -0500
|
||||||
|
@@ -26,6 +26,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
+#include <linux/sched.h>
|
||||||
|
#include <sched.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 14 13:22:34 UTC 2011 - malcolmlewis@opensuse.org
|
||||||
|
|
||||||
|
- Add tracker-fix-include-sched-idle.patch to enable building on
|
||||||
|
11.4, where path of an include is different.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 14 10:19:18 UTC 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Split the build of tracker in two, with a new
|
||||||
|
tracker-extras.spec, in order to break the tracker/nautilus build
|
||||||
|
loop (and avoid future similar loops):
|
||||||
|
+ in tracker.spec, build the basis of tracker: the command-line
|
||||||
|
tools, the libraries, the devel subpackage and the files miner.
|
||||||
|
+ in tracker-extras.spec, build addons that have extra
|
||||||
|
dependencies: the panel applet, the evolution miner, the
|
||||||
|
firefox plugin, the graphical tools, the flickr miner, the rss
|
||||||
|
miner, the nautilus extension and the thunderbird miner.
|
||||||
|
+ re-organize tracker.spec for this since tracker-extras.spec is
|
||||||
|
generated from it.
|
||||||
|
- Remove unneeded graphviz BuildRequires: this was only needed when
|
||||||
|
rebuilding the gtk-doc documentation.
|
||||||
|
- Remove explicit glib2-devel Requires from devel subpackage: this
|
||||||
|
will automatically be added the pkgconfig() way.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 13 15:54:01 UTC 2011 - vuntz@opensuse.org
|
Thu Oct 13 15:54:01 UTC 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
724
tracker.spec
724
tracker.spec
@ -17,12 +17,33 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define build_extras 0
|
||||||
|
|
||||||
|
%if !%{build_extras}
|
||||||
|
%define build_applet 0
|
||||||
|
%define build_evo 0
|
||||||
|
%define build_firefox 0
|
||||||
|
%define build_gui 0
|
||||||
|
%define build_miner_flickr 0
|
||||||
|
%define build_miner_rss 0
|
||||||
|
%define build_nautilus 0
|
||||||
|
%define build_thunderbird 0
|
||||||
|
%else
|
||||||
|
%define build_applet 1
|
||||||
%define build_evo 1
|
%define build_evo 1
|
||||||
|
%define build_firefox 1
|
||||||
|
%define build_gui 1
|
||||||
|
%define build_miner_flickr 1
|
||||||
|
%define build_miner_rss 1
|
||||||
|
%define build_nautilus 1
|
||||||
|
%define build_thunderbird 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
||||||
%define thunderbird_appid \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
|
%define thunderbird_appid \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
|
||||||
|
|
||||||
Name: tracker
|
Name: tracker
|
||||||
|
%define _name tracker
|
||||||
Version: 0.12.5
|
Version: 0.12.5
|
||||||
Release: 1
|
Release: 1
|
||||||
# FIXME: missing pkgconfig(libcue) BuildRequires: we don't have this packaged...
|
# FIXME: missing pkgconfig(libcue) BuildRequires: we don't have this packaged...
|
||||||
@ -30,68 +51,92 @@ License: GPLv2+
|
|||||||
Summary: Powerful object database, tag/metadata database, search tool and indexer
|
Summary: Powerful object database, tag/metadata database, search tool and indexer
|
||||||
Url: http://projects.gnome.org/tracker/
|
Url: http://projects.gnome.org/tracker/
|
||||||
Group: Productivity/Other
|
Group: Productivity/Other
|
||||||
Source0: http://download.gnome.org/sources/tracker/0.12/%{name}-%{version}.tar.bz2
|
Source0: http://download.gnome.org/sources/tracker/0.12/%{_name}-%{version}.tar.bz2
|
||||||
Source1: README.SUSE.flickr
|
Source1: README.SUSE.flickr
|
||||||
Source2: README.SUSE.rss
|
Source2: README.SUSE.rss
|
||||||
# PATCH-FIX-OPENSUSE tracker-removeable-media-off.patch bgo622288 badshah400@gmail.com -- Disable indexing on removable media by default. This is only needed for 11.4 and earlier, as 12.1 and later have proper default values in GSettings.
|
# PATCH-FIX-OPENSUSE tracker-removeable-media-off.patch bgo622288 badshah400@gmail.com -- Disable indexing on removable media by default. This is only needed for 11.4 and earlier, as 12.1 and later have proper default values in GSettings.
|
||||||
Patch1: tracker-removeable-media-off.patch
|
Patch1: tracker-removeable-media-off.patch
|
||||||
# It's a bit annoying to require those for the build, see bgo#655618.
|
# PATCH-FIX-OPENSUSE tracker-fix-include-sched-idle.patch malcolmlewis@opensuse.org -- Add linux/sched.h to includes for 11.4 only for the location of SCHED_IDLE. This is only needed for 11.4 and earlier.
|
||||||
BuildRequires: MozillaFirefox
|
Patch2: tracker-fix-include-sched-idle.patch
|
||||||
BuildRequires: MozillaThunderbird
|
|
||||||
BuildRequires: NetworkManager-devel >= 0.8
|
BuildRequires: NetworkManager-devel >= 0.8
|
||||||
BuildRequires: enca-devel
|
BuildRequires: enca-devel
|
||||||
%if 0%{?build_evo}
|
|
||||||
BuildRequires: evolution-data-server-devel
|
|
||||||
BuildRequires: evolution-devel
|
|
||||||
%endif
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: flac-devel
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: giflib-devel
|
|
||||||
BuildRequires: glib2-devel >= 2.28.0
|
BuildRequires: glib2-devel >= 2.28.0
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: graphviz
|
|
||||||
BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31
|
|
||||||
BuildRequires: gtk3-devel
|
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libexempi-devel
|
|
||||||
BuildRequires: libexif-devel
|
|
||||||
%if 0%{?suse_version} >= 1130
|
%if 0%{?suse_version} >= 1130
|
||||||
BuildRequires: libgnome-keyring-devel
|
BuildRequires: libgnome-keyring-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: gnome-keyring-devel
|
BuildRequires: gnome-keyring-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libgrss-devel
|
# Not guarded by !%%{build_extras}, else we build files to have external generic
|
||||||
BuildRequires: libgsf-devel
|
# media players
|
||||||
%if 0%{?suse_version} >= 1140
|
BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31
|
||||||
BuildRequires: libgupnp-dlna-devel >= 0.5
|
|
||||||
%endif
|
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libiptcdata-devel
|
|
||||||
BuildRequires: libpng-devel
|
|
||||||
BuildRequires: libpoppler-glib-devel
|
|
||||||
BuildRequires: libtiff-devel
|
|
||||||
BuildRequires: libupower-glib-devel
|
BuildRequires: libupower-glib-devel
|
||||||
BuildRequires: libuuid-devel
|
BuildRequires: libuuid-devel
|
||||||
BuildRequires: libvorbis-devel
|
|
||||||
BuildRequires: libxml2-devel
|
|
||||||
BuildRequires: sqlite3-devel
|
BuildRequires: sqlite3-devel
|
||||||
BuildRequires: taglib-devel
|
|
||||||
BuildRequires: totem-pl-parser-devel
|
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: vala >= 0.12.0
|
BuildRequires: vala >= 0.12.0
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: pkgconfig(gee-1.0)
|
BuildRequires: pkgconfig(gee-1.0)
|
||||||
BuildRequires: pkgconfig(libnautilus-extension)
|
%if !%{build_extras}
|
||||||
BuildRequires: pkgconfig(libpanelapplet-4.0)
|
# Dependencies for extractors / writeback
|
||||||
BuildRequires: pkgconfig(rest-0.7) >= 0.6
|
BuildRequires: flac-devel
|
||||||
Recommends: %{name}-lang
|
BuildRequires: giflib-devel
|
||||||
# We want to index files by default, if possible
|
BuildRequires: libexif-devel
|
||||||
Recommends: %{name}-miner-files
|
BuildRequires: libgsf-devel
|
||||||
%if !(0%{?build_evo})
|
%if 0%{?suse_version} >= 1140
|
||||||
Obsoletes: %{name}-miner-evolution < %{version}
|
BuildRequires: libgupnp-dlna-devel >= 0.5
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: libiptcdata-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libpoppler-glib-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: libexempi-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
|
||||||
|
BuildRequires: tracker-devel
|
||||||
|
BuildRequires: tracker-miner-files
|
||||||
|
%endif # !build_extras
|
||||||
|
%if %{build_applet}
|
||||||
|
BuildRequires: pkgconfig(libpanelapplet-4.0)
|
||||||
|
%endif
|
||||||
|
%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_flickr}
|
||||||
|
BuildRequires: pkgconfig(rest-0.7) >= 0.6
|
||||||
|
%endif
|
||||||
|
%if %{build_miner_rss}
|
||||||
|
BuildRequires: libgrss-devel
|
||||||
|
%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
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%glib2_gsettings_schema_requires
|
%glib2_gsettings_schema_requires
|
||||||
|
|
||||||
@ -110,127 +155,26 @@ including context linking and audit trails for a file object.
|
|||||||
It has the ability to index, store, harvest metadata, retrieve
|
It has the ability to index, store, harvest metadata, retrieve
|
||||||
and search all types of files and other first class objects.
|
and search all types of files and other first class objects.
|
||||||
|
|
||||||
%if 0%{?build_evo}
|
%if !%{build_extras}
|
||||||
|
|
||||||
%package miner-evolution
|
%package -n %{_name}-miner-files
|
||||||
License: GPLv2+
|
|
||||||
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 miner-evolution
|
|
||||||
Tracker is a powerful desktop-neutral first class object
|
|
||||||
database, tag/metadata database, search tool and indexer.
|
|
||||||
|
|
||||||
This package contains an Evolution plugin that will index Evolution
|
|
||||||
mails.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%package miner-files
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Tracker miner to index files and applications
|
Summary: Tracker miner to index files and applications
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
Requires: %{name} = %{version}
|
Requires: %{_name} = %{version}
|
||||||
%glib2_gsettings_schema_requires
|
%glib2_gsettings_schema_requires
|
||||||
|
|
||||||
%description miner-files
|
%description -n %{_name}-miner-files
|
||||||
Tracker is a powerful desktop-neutral first class object
|
Tracker is a powerful desktop-neutral first class object
|
||||||
database, tag/metadata database, search tool and indexer.
|
database, tag/metadata database, search tool and indexer.
|
||||||
|
|
||||||
This package contains a miner to index files and applications.
|
This package contains a miner to index files and applications.
|
||||||
|
|
||||||
%package miner-firefox
|
|
||||||
License: GPLv2+
|
|
||||||
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 miner-firefox
|
|
||||||
Tracker is a powerful desktop-neutral first class object
|
|
||||||
database, tag/metadata database, search tool and indexer.
|
|
||||||
|
|
||||||
This package contains a Firefox extension that will index
|
|
||||||
Firefox bookmarks.
|
|
||||||
|
|
||||||
%package miner-flickr
|
|
||||||
License: GPLv2+
|
|
||||||
Summary: Tracker miner to index Flickr images
|
|
||||||
Group: System/GUI/GNOME
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
|
|
||||||
%description miner-flickr
|
|
||||||
Tracker is a powerful desktop-neutral first class object
|
|
||||||
database, tag/metadata database, search tool and indexer.
|
|
||||||
|
|
||||||
This package contains a miner to index Flickr images.
|
|
||||||
|
|
||||||
%package miner-rss
|
|
||||||
License: GPLv2+
|
|
||||||
Summary: Tracker miner to index ATOM and RSS feeds
|
|
||||||
Group: System/GUI/GNOME
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
|
|
||||||
%description miner-rss
|
|
||||||
Tracker is a powerful desktop-neutral first class object
|
|
||||||
database, tag/metadata database, search tool and indexer.
|
|
||||||
|
|
||||||
This package contains a miner to index ATOM and RSS feeds.
|
|
||||||
|
|
||||||
%package miner-thunderbird
|
|
||||||
License: GPLv2+
|
|
||||||
Summary: Tracker miner to index Thunderbird mails
|
|
||||||
Group: System/GUI/GNOME
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Requires: MozillaThunderbird
|
|
||||||
Supplements: packageand(%{name}:MozillaThunderbird}
|
|
||||||
# A generic provides, since this is also a thunderbird extension
|
|
||||||
Provides: MozillaThunderbird-extension-tracker = %{version}
|
|
||||||
|
|
||||||
%description miner-thunderbird
|
|
||||||
Tracker is a powerful desktop-neutral first class object
|
|
||||||
database, tag/metadata database, search tool and indexer.
|
|
||||||
|
|
||||||
This package contains a Thunderbird extension that will index
|
|
||||||
Thunderbird mails.
|
|
||||||
|
|
||||||
%package gui
|
|
||||||
License: GPLv2+
|
|
||||||
Summary: Graphical User Interface for Tracker
|
|
||||||
Group: System/GUI/GNOME
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Recommends: %{name}-lang
|
|
||||||
|
|
||||||
%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 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 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_12-0
|
%package -n libtracker-extract-0_12-0
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Extract library for Tracker
|
Summary: Extract library for Tracker
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Recommends: %{name}
|
Recommends: %{_name}
|
||||||
%glib2_gsettings_schema_requires
|
%glib2_gsettings_schema_requires
|
||||||
|
|
||||||
%description -n libtracker-extract-0_12-0
|
%description -n libtracker-extract-0_12-0
|
||||||
@ -252,7 +196,7 @@ and search all types of files and other first class objects.
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Miner library for Tracker
|
Summary: Miner library for Tracker
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Recommends: %{name}
|
Recommends: %{_name}
|
||||||
|
|
||||||
%description -n libtracker-miner-0_12-0
|
%description -n libtracker-miner-0_12-0
|
||||||
Tracker is a powerful desktop-neutral first class object
|
Tracker is a powerful desktop-neutral first class object
|
||||||
@ -273,7 +217,7 @@ and search all types of files and other first class objects.
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Sparql library for Tracker
|
Summary: Sparql library for Tracker
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Recommends: %{name}
|
Recommends: %{_name}
|
||||||
|
|
||||||
%description -n libtracker-sparql-0_12-0
|
%description -n libtracker-sparql-0_12-0
|
||||||
Tracker is a powerful desktop-neutral first class object
|
Tracker is a powerful desktop-neutral first class object
|
||||||
@ -294,7 +238,6 @@ and search all types of files and other first class objects.
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Tracker -- Development files
|
Summary: Tracker -- Development files
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Requires: glib2-devel
|
|
||||||
Requires: libtracker-extract-0_12-0 = %{version}
|
Requires: libtracker-extract-0_12-0 = %{version}
|
||||||
Requires: libtracker-miner-0_12-0 = %{version}
|
Requires: libtracker-miner-0_12-0 = %{version}
|
||||||
Requires: libtracker-sparql-0_12-0 = %{version}
|
Requires: libtracker-sparql-0_12-0 = %{version}
|
||||||
@ -313,32 +256,156 @@ including context linking and audit trails for a file object.
|
|||||||
|
|
||||||
It has the ability to index, store, harvest metadata, retrieve
|
It has the ability to index, store, harvest metadata, retrieve
|
||||||
and search all types of files and other first class objects.
|
and search all types of files and other first class objects.
|
||||||
|
%endif # !build_extras
|
||||||
|
|
||||||
|
%if %{build_evo}
|
||||||
|
|
||||||
|
%package -n %{_name}-miner-evolution
|
||||||
|
License: GPLv2+
|
||||||
|
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 powerful desktop-neutral first class 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
|
||||||
|
License: GPLv2+
|
||||||
|
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 powerful desktop-neutral first class 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_flickr}
|
||||||
|
|
||||||
|
%package -n %{_name}-miner-flickr
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Tracker miner to index Flickr images
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{_name} = %{version}
|
||||||
|
|
||||||
|
%description -n %{_name}-miner-flickr
|
||||||
|
Tracker is a powerful desktop-neutral first class object
|
||||||
|
database, tag/metadata database, search tool and indexer.
|
||||||
|
|
||||||
|
This package contains a miner to index Flickr images.
|
||||||
|
%endif # build_miner_flickr
|
||||||
|
|
||||||
|
%if %{build_miner_rss}
|
||||||
|
|
||||||
|
%package -n %{_name}-miner-rss
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Tracker miner to index ATOM and RSS feeds
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{_name} = %{version}
|
||||||
|
|
||||||
|
%description -n %{_name}-miner-rss
|
||||||
|
Tracker is a powerful desktop-neutral first class 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
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Tracker miner to index Thunderbird mails
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{_name} = %{version}
|
||||||
|
Requires: MozillaThunderbird
|
||||||
|
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 powerful desktop-neutral first class 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
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Graphical User Interface for Tracker
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{_name} = %{version}
|
||||||
|
Recommends: %{_name}-lang
|
||||||
|
|
||||||
|
%description -n %{_name}-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 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 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.
|
||||||
|
%endif # build_gui
|
||||||
|
|
||||||
|
%if %{build_applet}
|
||||||
|
|
||||||
%package -n gnome-panel-applet-tracker
|
%package -n gnome-panel-applet-tracker
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: A GNOME panel applet for Tracker
|
Summary: A GNOME panel applet for Tracker
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
Requires: %{name} = %{version}
|
Requires: %{_name} = %{version}
|
||||||
Recommends: %{name}-lang
|
Recommends: %{_name}-lang
|
||||||
Supplements: packageand(%{name}:gnome-panel}
|
Supplements: packageand(%{_name}:gnome-panel}
|
||||||
# Name changed during development of 11.4
|
# Name changed during development of 11.4
|
||||||
Provides: tracker-applet = %{name}
|
Provides: tracker-applet = %{_name}
|
||||||
Obsoletes: tracker-applet < %{name}
|
Obsoletes: tracker-applet < %{_name}
|
||||||
|
|
||||||
%description -n gnome-panel-applet-tracker
|
%description -n gnome-panel-applet-tracker
|
||||||
Tracker is a powerful desktop-neutral first class object
|
Tracker is a powerful desktop-neutral first class object
|
||||||
database, tag/metadata database, search tool and indexer.
|
database, tag/metadata database, search tool and indexer.
|
||||||
|
|
||||||
This package contains a panel applet to easily use Tracker.
|
This package contains a panel applet to easily use Tracker.
|
||||||
|
%endif # build_applet
|
||||||
|
|
||||||
|
%if %{build_nautilus}
|
||||||
|
|
||||||
%package -n nautilus-extension-tracker-tags
|
%package -n nautilus-extension-tracker-tags
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Tracker Plugin for Nautilus
|
Summary: Tracker Plugin for Nautilus
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
Requires: %{name} = %{version}
|
Requires: %{_name} = %{version}
|
||||||
Requires: nautilus
|
Requires: nautilus
|
||||||
Recommends: %{name}-lang
|
Recommends: %{_name}-lang
|
||||||
Supplements: packageand(%{name}:nautilus}
|
Supplements: packageand(%{_name}:nautilus}
|
||||||
# Name changed during development of 11.4
|
# Name changed during development of 11.4
|
||||||
Provides: nautilus-tracker = %{version}
|
Provides: nautilus-tracker = %{version}
|
||||||
Obsoletes: nautilus-tracker < %{version}
|
Obsoletes: nautilus-tracker < %{version}
|
||||||
@ -348,63 +415,147 @@ Tracker is a powerful desktop-neutral first class object
|
|||||||
database, tag/metadata database, search tool and indexer.
|
database, tag/metadata database, search tool and indexer.
|
||||||
|
|
||||||
This package contains an nautilus plugin to tag files with Tracker.
|
This package contains an nautilus plugin to tag files with Tracker.
|
||||||
|
%endif # build_nautilus
|
||||||
|
|
||||||
|
%if !%{build_extras}
|
||||||
%lang_package
|
%lang_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{_name}-%{version}
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
%if 0%{?suse_version} <= 1140
|
%if 0%{?suse_version} <= 1140
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2
|
||||||
%endif
|
%endif
|
||||||
cp %{S:1} src/miners/flickr/README.SUSE
|
cp %{S:1} src/miners/flickr/README.SUSE
|
||||||
cp %{S:2} src/miners/rss/README.SUSE
|
cp %{S:2} src/miners/rss/README.SUSE
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
%if !%{build_extras}
|
||||||
--enable-libvorbis \
|
--enable-libvorbis \
|
||||||
--enable-libflac \
|
--enable-libflac \
|
||||||
--enable-tracker-explorer \
|
%endif
|
||||||
--enable-tracker-search-bar \
|
%if %{build_applet}
|
||||||
--enable-tracker-preferences \
|
--enable-tracker-search-bar \
|
||||||
--disable-functional-tests \
|
%else
|
||||||
--with-firefox-plugin-dir="%{_datadir}/mozilla/extensions/%{firefox_appid}" \
|
--disable-tracker-search-bar \
|
||||||
--with-thunderbird-plugin-dir="%{_datadir}/mozilla/extensions/%{thunderbird_appid}"
|
%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-explorer \
|
||||||
|
--enable-tracker-needle \
|
||||||
|
--enable-tracker-preferences \
|
||||||
|
%else
|
||||||
|
--disable-tracker-explorer \
|
||||||
|
--disable-tracker-needle \
|
||||||
|
--disable-tracker-preferences \
|
||||||
|
%endif
|
||||||
|
%if %{build_nautilus}
|
||||||
|
--enable-nautilus-extension \
|
||||||
|
%else
|
||||||
|
--disable-nautilus-extension \
|
||||||
|
%endif
|
||||||
|
%if %{build_miner_flickr}
|
||||||
|
--enable-miner-flickr \
|
||||||
|
%else
|
||||||
|
--disable-miner-flickr \
|
||||||
|
%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} V=1
|
%__make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
rm -r %{buildroot}%{_datadir}/tracker-tests
|
rm -r %{buildroot}%{_datadir}/tracker-tests
|
||||||
%find_lang %{name} %{?no_lang_C}
|
|
||||||
%suse_update_desktop_file tracker-miner-flickr
|
%if !%{build_extras}
|
||||||
|
|
||||||
|
## Normal build
|
||||||
%suse_update_desktop_file tracker-miner-fs
|
%suse_update_desktop_file tracker-miner-fs
|
||||||
%suse_update_desktop_file tracker-miner-rss
|
|
||||||
%suse_update_desktop_file tracker-store
|
%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-applications.desktop
|
||||||
%if 0%{?build_evo}
|
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-files.desktop
|
||||||
|
%find_lang %{_name} %{?no_lang_C}
|
||||||
|
# Only needed by gui tools
|
||||||
|
rm %{buildroot}%{_datadir}/icons/hicolor/*/apps/tracker.*
|
||||||
|
|
||||||
|
%fdupes %{buildroot}%{_datadir}/gtk-doc/html/
|
||||||
|
%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-extract-0_12-0 libtracker-miner-0_12-0 libtracker-sparql-0_12-0`; 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_flickr}
|
||||||
|
%suse_update_desktop_file tracker-miner-flickr
|
||||||
|
%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
|
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
|
||||||
%endif
|
%endif
|
||||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-files.desktop
|
%if %{build_miner_flickr}
|
||||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||||
|
%endif
|
||||||
|
%if %{build_miner_rss}
|
||||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||||
|
%endif
|
||||||
|
%if %{build_gui}
|
||||||
%suse_update_desktop_file tracker-preferences X-SuSE-ControlCenter-Personal
|
%suse_update_desktop_file tracker-preferences X-SuSE-ControlCenter-Personal
|
||||||
%suse_update_desktop_file tracker-needle DesktopUtility
|
%suse_update_desktop_file tracker-needle DesktopUtility
|
||||||
|
%endif
|
||||||
|
%if %{build_thunderbird}
|
||||||
%suse_update_desktop_file trackerbird-launcher
|
%suse_update_desktop_file trackerbird-launcher
|
||||||
%fdupes %{buildroot}
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%if !%{build_extras}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%glib2_gsettings_schema_post
|
%glib2_gsettings_schema_post
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%glib2_gsettings_schema_postun
|
%glib2_gsettings_schema_postun
|
||||||
|
|
||||||
%post miner-files
|
%post -n %{_name}-miner-files
|
||||||
%glib2_gsettings_schema_post
|
%glib2_gsettings_schema_post
|
||||||
|
|
||||||
%postun miner-files
|
%postun -n %{_name}-miner-files
|
||||||
%glib2_gsettings_schema_postun
|
%glib2_gsettings_schema_postun
|
||||||
|
|
||||||
%post -n libtracker-extract-0_12-0
|
%post -n libtracker-extract-0_12-0
|
||||||
@ -422,46 +573,50 @@ rm -rf %{buildroot}
|
|||||||
%post -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
|
%post -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
|
%postun -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
|
||||||
|
%endif # !build_extras
|
||||||
|
|
||||||
|
%if %{build_gui}
|
||||||
%if 0%{?suse_version} > 1130
|
%if 0%{?suse_version} > 1130
|
||||||
|
|
||||||
%post gui
|
%post -n %{_name}-gui
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1130
|
%postun -n %{_name}-gui
|
||||||
|
|
||||||
%postun gui
|
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{build_thunderbird}
|
||||||
%if 0%{?suse_version} > 1130
|
%if 0%{?suse_version} > 1130
|
||||||
|
|
||||||
%post miner-thunderbird
|
%post -n %{_name}-miner-thunderbird
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
|
|
||||||
%postun miner-thunderbird
|
%postun -n %{_name}-miner-thunderbird
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if !%{build_extras}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog COPYING README NEWS
|
%doc AUTHORS ChangeLog COPYING README NEWS
|
||||||
%{_sysconfdir}/xdg/autostart/tracker-store.desktop
|
%{_sysconfdir}/xdg/autostart/tracker-store.desktop
|
||||||
%{_bindir}/%{name}-control
|
%{_bindir}/tracker-control
|
||||||
%{_bindir}/%{name}-import
|
%{_bindir}/tracker-import
|
||||||
%{_bindir}/%{name}-info
|
%{_bindir}/tracker-info
|
||||||
%{_bindir}/%{name}-search
|
%{_bindir}/tracker-search
|
||||||
%{_bindir}/%{name}-sparql
|
%{_bindir}/tracker-sparql
|
||||||
%{_bindir}/%{name}-stats
|
%{_bindir}/tracker-stats
|
||||||
%{_bindir}/%{name}-tag
|
%{_bindir}/tracker-tag
|
||||||
%{_libexecdir}/%{name}-extract
|
%{_libexecdir}/tracker-extract
|
||||||
%{_libexecdir}/%{name}-store
|
%{_libexecdir}/tracker-store
|
||||||
%{_libexecdir}/%{name}-writeback
|
%{_libexecdir}/tracker-writeback
|
||||||
%{_libdir}/%{name}-0.12/
|
%{_libdir}/tracker-0.12/
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/tracker/
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Writeback.service
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Writeback.service
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service
|
||||||
@ -482,88 +637,39 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man1/tracker-tag.1%{ext_man}
|
%{_mandir}/man1/tracker-tag.1%{ext_man}
|
||||||
%{_mandir}/man1/tracker-writeback.1%{ext_man}
|
%{_mandir}/man1/tracker-writeback.1%{ext_man}
|
||||||
# Exclude files which live in other packages
|
# Exclude files which live in other packages
|
||||||
%exclude %{_datadir}/%{name}/miners/tracker-miner-applications.desktop
|
%exclude %{_datadir}/tracker/miners/tracker-miner-applications.desktop
|
||||||
%if 0%{?build_evo}
|
%if %{build_evo}
|
||||||
%exclude %{_datadir}/%{name}/miners/tracker-miner-evolution.desktop
|
%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop
|
||||||
%endif
|
%endif
|
||||||
%exclude %{_datadir}/%{name}/miners/tracker-miner-files.desktop
|
%exclude %{_datadir}/tracker/miners/tracker-miner-files.desktop
|
||||||
%exclude %{_datadir}/%{name}/miners/tracker-miner-flickr.desktop
|
%if %{build_miner_flickr}
|
||||||
%exclude %{_datadir}/%{name}/miners/tracker-miner-rss.desktop
|
%exclude %{_datadir}/tracker/icons/tracker-miner-flickr.svg
|
||||||
%exclude %{_datadir}/%{name}/tracker-explorer.ui
|
%exclude %{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||||
%exclude %{_datadir}/%{name}/tracker-needle.ui
|
%endif
|
||||||
%exclude %{_datadir}/%{name}/tracker-preferences.ui
|
%if %{build_miner_rss}
|
||||||
%exclude %{_datadir}/%{name}/tracker-search-bar.ui
|
%exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||||
%exclude %{_datadir}/%{name}/tracker-search-bar-menu.xml
|
%endif
|
||||||
|
%if %{build_gui}
|
||||||
%if 0%{?build_evo}
|
%exclude %{_datadir}/tracker/tracker-explorer.ui
|
||||||
|
%exclude %{_datadir}/tracker/tracker-needle.ui
|
||||||
%files miner-evolution
|
%exclude %{_datadir}/tracker/tracker-preferences.ui
|
||||||
%defattr(-,root,root)
|
%endif
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.EMails.service
|
%if %{build_applet}
|
||||||
%{_datadir}/%{name}/miners/tracker-miner-evolution.desktop
|
%exclude %{_datadir}/tracker/tracker-search-bar.ui
|
||||||
%{_libdir}/evolution/*/plugins/liborg-freedesktop-Tracker-evolution-plugin.so
|
%exclude %{_datadir}/tracker/tracker-search-bar-menu.xml
|
||||||
%{_libdir}/evolution/*/plugins/org-freedesktop-Tracker-evolution-plugin.eplug
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files miner-files
|
%files -n %{_name}-miner-files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop
|
%{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop
|
||||||
%{_libexecdir}/%{name}-miner-fs
|
%{_libexecdir}/tracker-miner-fs
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Applications.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.Files.service
|
||||||
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Miner.Files.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Miner.Files.gschema.xml
|
||||||
%{_datadir}/%{name}/miners/tracker-miner-applications.desktop
|
%{_datadir}/tracker/miners/tracker-miner-applications.desktop
|
||||||
%{_datadir}/%{name}/miners/tracker-miner-files.desktop
|
%{_datadir}/tracker/miners/tracker-miner-files.desktop
|
||||||
%{_mandir}/man1/tracker-miner-fs.1%{ext_man}
|
%{_mandir}/man1/tracker-miner-fs.1%{ext_man}
|
||||||
|
|
||||||
%files miner-firefox
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_datadir}/mozilla/extensions/%{firefox_appid}/trackerfox@bustany.org/
|
|
||||||
%dir %{_datadir}/xul-ext
|
|
||||||
%{_datadir}/xul-ext/trackerfox/
|
|
||||||
|
|
||||||
%files miner-flickr
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc src/miners/flickr/README.SUSE
|
|
||||||
%{_sysconfdir}/xdg/autostart/tracker-miner-flickr.desktop
|
|
||||||
%{_libexecdir}/%{name}-miner-flickr
|
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Flickr.service
|
|
||||||
%{_datadir}/%{name}/miners/tracker-miner-flickr.desktop
|
|
||||||
|
|
||||||
%files 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}/%{name}-miner-rss
|
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.RSS.service
|
|
||||||
%{_datadir}/%{name}/miners/tracker-miner-rss.desktop
|
|
||||||
%{_mandir}/man1/tracker-miner-rss.1%{ext_man}
|
|
||||||
|
|
||||||
%files miner-thunderbird
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%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
|
|
||||||
|
|
||||||
%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*
|
|
||||||
# Tracker Needle (former search tool)
|
|
||||||
%{_bindir}/tracker-needle
|
|
||||||
%{_datadir}/applications/tracker-needle.desktop
|
|
||||||
%{_datadir}/%{name}/tracker-needle.ui
|
|
||||||
%{_mandir}/man1/tracker-needle.1*
|
|
||||||
# explorer
|
|
||||||
%{_bindir}/%{name}-explorer
|
|
||||||
%{_datadir}/%{name}/tracker-explorer.ui
|
|
||||||
|
|
||||||
%files -n libtracker-extract-0_12-0
|
%files -n libtracker-extract-0_12-0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libtracker-extract*.so.*
|
%{_libdir}/libtracker-extract*.so.*
|
||||||
@ -584,29 +690,115 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_includedir}/tracker-0.12/
|
%{_includedir}/tracker-0.12/
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/tracker-extract-0.12.pc
|
||||||
|
%{_libdir}/pkgconfig/tracker-miner-0.12.pc
|
||||||
|
%{_libdir}/pkgconfig/tracker-sparql-0.12.pc
|
||||||
|
%{_datadir}/gir-1.0/*.gir
|
||||||
%{_datadir}/gtk-doc/html/libtracker-miner/
|
%{_datadir}/gtk-doc/html/libtracker-miner/
|
||||||
%{_datadir}/gtk-doc/html/libtracker-extract/
|
%{_datadir}/gtk-doc/html/libtracker-extract/
|
||||||
%{_datadir}/gtk-doc/html/libtracker-sparql
|
%{_datadir}/gtk-doc/html/libtracker-sparql/
|
||||||
%dir %{_datadir}/vala
|
%dir %{_datadir}/vala
|
||||||
%dir %{_datadir}/vala/vapi
|
%dir %{_datadir}/vala/vapi
|
||||||
%{_datadir}/vala/vapi/*.deps
|
%{_datadir}/vala/vapi/*.deps
|
||||||
%{_datadir}/vala/vapi/*.vapi
|
%{_datadir}/vala/vapi/*.vapi
|
||||||
%{_datadir}/gir-1.0/*.gir
|
%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_flickr}
|
||||||
|
|
||||||
|
%files -n %{_name}-miner-flickr
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc src/miners/flickr/README.SUSE
|
||||||
|
%{_sysconfdir}/xdg/autostart/tracker-miner-flickr.desktop
|
||||||
|
%{_libexecdir}/tracker-miner-flickr
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Flickr.service
|
||||||
|
%{_datadir}/tracker/icons/tracker-miner-flickr.svg
|
||||||
|
%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||||
|
%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
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.RSS.service
|
||||||
|
%{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||||
|
%{_mandir}/man1/tracker-miner-rss.1%{ext_man}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{build_thunderbird}
|
||||||
|
|
||||||
|
%files -n %{_name}-miner-thunderbird
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%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
|
||||||
|
%{_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}/tracker/tracker-needle.ui
|
||||||
|
%{_mandir}/man1/tracker-needle.1*
|
||||||
|
# explorer
|
||||||
|
%{_bindir}/tracker-explorer
|
||||||
|
%{_datadir}/tracker/tracker-explorer.ui
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{build_applet}
|
||||||
|
|
||||||
%files -n gnome-panel-applet-tracker
|
%files -n gnome-panel-applet-tracker
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/%{name}/tracker-search-bar.ui
|
%{_datadir}/tracker/tracker-search-bar.ui
|
||||||
%{_datadir}/%{name}/tracker-search-bar-menu.xml
|
%{_datadir}/tracker/tracker-search-bar-menu.xml
|
||||||
%{_datadir}/dbus-1/services/org.gnome.panel.applet.SearchBarFactory.service
|
%{_datadir}/dbus-1/services/org.gnome.panel.applet.SearchBarFactory.service
|
||||||
%{_datadir}/gnome-panel/4.0/applets/org.gnome.panel.SearchBar.panel-applet
|
%{_datadir}/gnome-panel/4.0/applets/org.gnome.panel.SearchBar.panel-applet
|
||||||
%{_libexecdir}/tracker-search-bar
|
%{_libexecdir}/tracker-search-bar
|
||||||
%{_mandir}/man1/tracker-search-bar.1*
|
%{_mandir}/man1/tracker-search-bar.1*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{build_nautilus}
|
||||||
|
|
||||||
%files -n nautilus-extension-tracker-tags
|
%files -n nautilus-extension-tracker-tags
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/nautilus/extensions-3.0/libnautilus-tracker-tags*
|
%{_libdir}/nautilus/extensions-3.0/libnautilus-tracker-tags*
|
||||||
|
%endif
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%if !%{build_extras}
|
||||||
|
|
||||||
|
%files lang -f %{_name}.lang
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user