Accepting request 111787 from GNOME:Factory

Pushing G:F

OBS-URL: https://build.opensuse.org/request/show/111787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tracker?expand=0&rev=46
This commit is contained in:
Stephan Kulow
2012-03-29 12:07:15 +00:00
committed by Git OBS Bridge
parent 57360cfc7f
commit 9d41e31327
7 changed files with 531 additions and 19 deletions

View File

@@ -30,7 +30,7 @@
%define build_thunderbird 0
%else
%define build_applet 1
%define build_evo 0
%define build_evo 1
%define build_firefox 1
%define build_gui 1
%define build_miner_flickr 1
@@ -48,21 +48,21 @@
Name: tracker
%define _name tracker
Version: 0.13.0
Version: 0.14.0
Release: 0
# FIXME: Verify if the evolution plugin can be built again (define build_evo 1 in build_extras section)
# FIXME: missing pkgconfig(libcue) BuildRequires: we don't have this packaged...
Summary: Powerful object database, tag/metadata database, search tool and indexer
License: GPL-2.0+
Group: Productivity/Other
Url: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/0.13/%{_name}-%{version}.tar.xz
Source0: http://download.gnome.org/sources/tracker/0.14/%{_name}-%{version}.tar.xz
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
# PATCH-FIX-UPSTREAM tracker-libgrss-0.5.patch bgo#671751 dimstar@opensuse.org -- Support and Require libgrss-0.5
Patch3: tracker-libgrss-0.5.patch
BuildRequires: NetworkManager-devel >= 0.8
BuildRequires: enca-devel
BuildRequires: fdupes
@@ -79,31 +79,33 @@ BuildRequires: gnome-keyring-devel
# media players
BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31
BuildRequires: libicu-devel
# Needed for patch3
BuildRequires: libtool
BuildRequires: libupower-glib-devel
BuildRequires: libuuid-devel
BuildRequires: sqlite3-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.12.0
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
BuildRequires: zlib-devel
BuildRequires: pkgconfig(gee-1.0)
%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.5
%endif
BuildRequires: libexempi-devel
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libtiff-devel
BuildRequires: libexempi-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: taglib-devel
@@ -492,10 +494,13 @@ translation-update-upstream
%patch1 -p1
%patch2
%endif
%patch3 -p1
cp %{S:1} src/miners/flickr/README.SUSE
cp %{S:2} src/miners/rss/README.SUSE
%build
# Needed for patch3
AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
%configure \
%if !%{build_extras}
--enable-libvorbis \