Accepting request 100712 from GNOME:Apps

Pushing some bits of G:A (mostly new upstream releases)

OBS-URL: https://build.opensuse.org/request/show/100712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tracker?expand=0&rev=45
This commit is contained in:
Stephan Kulow
2012-01-24 11:23:29 +00:00
committed by Git OBS Bridge
parent a9f70c7b82
commit 57360cfc7f
7 changed files with 291 additions and 667 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package tracker-extras
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Luis Medinas, Portugal
#
# All modifications and additions to the file contributed by third parties
@@ -47,26 +47,23 @@
%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.8
Release: 1
Version: 0.13.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...
License: GPLv2+
Summary: Powerful object database, tag/metadata database, search tool and indexer
Url: http://projects.gnome.org/tracker/
License: GPL-2.0+
Group: Productivity/Other
Source0: http://download.gnome.org/sources/tracker/0.12/%{_name}-%{version}.tar.xz
Url: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/0.13/%{_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-g_thread.patch dimstar@opensuse.org -- Remobe g_thread_init calls. Patch taken from upstream git.
Patch3: tracker-g_thread.patch
BuildRequires: NetworkManager-devel >= 0.8
BuildRequires: enca-devel
BuildRequires: fdupes
@@ -103,6 +100,7 @@ BuildRequires: libgsf-devel
BuildRequires: libgupnp-dlna-devel >= 0.5
%endif
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libtiff-devel
@@ -169,7 +167,6 @@ 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}
@@ -181,14 +178,13 @@ 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+
%package -n libtracker-extract-0_14-0
Summary: Extract library for Tracker
Group: System/Libraries
Recommends: %{_name}
%glib2_gsettings_schema_requires
%description -n libtracker-extract-0_12-0
%description -n libtracker-extract-0_14-0
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
@@ -203,13 +199,12 @@ 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+
%package -n libtracker-miner-0_14-0
Summary: Miner library for Tracker
Group: System/Libraries
Recommends: %{_name}
%description -n libtracker-miner-0_12-0
%description -n libtracker-miner-0_14-0
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
@@ -224,13 +219,78 @@ 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+
%package -n typelib-1_0-Tracker-0_14
Summary: Sparql library for Tracker -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-Tracker-0_14
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.
This package provides the GObject Introspection bindings for the
sparql library for Tracker.
%package -n typelib-1_0-TrackerExtract-0_14
Summary: Extract library for Tracker -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-TrackerExtract-0_14
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.
This package provides the GObject Introspection bindings for the
extract library for Tracker.
%package -n typelib-1_0-TrackerMiner-0_14
Summary: Miner library for Tracker -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-TrackerMiner-0_14
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.
This package provides the GObject Introspection bindings for the
miner library for Tracker.
%package -n libtracker-sparql-0_14-0
Summary: Sparql library for Tracker
Group: System/Libraries
Recommends: %{_name}
%description -n libtracker-sparql-0_12-0
%description -n libtracker-sparql-0_14-0
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
@@ -246,12 +306,14 @@ 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}
Requires: libtracker-extract-0_14-0 = %{version}
Requires: libtracker-miner-0_14-0 = %{version}
Requires: libtracker-sparql-0_14-0 = %{version}
Requires: typelib-1_0-Tracker-0_14 = %{version}
Requires: typelib-1_0-TrackerExtract-0_14 = %{version}
Requires: typelib-1_0-TrackerMiner-0_14 = %{version}
%description -n tracker-devel
Tracker is a powerful desktop-neutral first class object
@@ -272,7 +334,6 @@ and search all types of files and other first class objects.
%if %{build_evo}
%package -n %{_name}-miner-evolution
License: GPLv2+
Summary: Tracker miner to index Evolution mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@@ -295,7 +356,6 @@ mails.
%if %{build_firefox}
%package -n %{_name}-miner-firefox
License: GPLv2+
Summary: Tracker miner to index Firefox bookmarks
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@@ -315,7 +375,6 @@ Firefox bookmarks.
%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}
@@ -330,7 +389,6 @@ This package contains a miner to index Flickr images.
%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}
@@ -345,7 +403,6 @@ This package contains a miner to index ATOM and RSS feeds.
%if %{build_thunderbird}
%package -n %{_name}-miner-thunderbird
License: GPLv2+
Summary: Tracker miner to index Thunderbird mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@@ -365,7 +422,6 @@ Thunderbird mails.
%if %{build_gui}
%package -n %{_name}-gui
License: GPLv2+
Summary: Graphical User Interface for Tracker
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@@ -390,7 +446,6 @@ and search all types of files and other first class objects.
%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}
@@ -410,7 +465,6 @@ This package contains a panel applet to easily use Tracker.
%if %{build_nautilus}
%package -n nautilus-extension-tracker-tags
License: GPLv2+
Summary: Tracker Plugin for Nautilus
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@@ -439,7 +493,6 @@ 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
@@ -520,7 +573,7 @@ rm %{buildroot}%{_datadir}/icons/hicolor/*/apps/tracker.*
%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
for file in `rpm -ql tracker tracker-devel tracker-miner-files libtracker-extract-0_14-0 libtracker-miner-0_14-0 libtracker-sparql-0_14-0 typelib-1_0-Tracker-0_14 typelib-1_0-TrackerExtract-0_14 typelib-1_0-TrackerMiner-0_14`; 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}
@@ -570,21 +623,21 @@ rm -rf %{buildroot}
%postun -n %{_name}-miner-files
%glib2_gsettings_schema_postun
%post -n libtracker-extract-0_12-0
%post -n libtracker-extract-0_14-0
%glib2_gsettings_schema_post
/sbin/ldconfig
%postun -n libtracker-extract-0_12-0
%postun -n libtracker-extract-0_14-0
%glib2_gsettings_schema_postun
/sbin/ldconfig
%post -n libtracker-miner-0_12-0 -p /sbin/ldconfig
%post -n libtracker-miner-0_14-0 -p /sbin/ldconfig
%postun -n libtracker-miner-0_12-0 -p /sbin/ldconfig
%postun -n libtracker-miner-0_14-0 -p /sbin/ldconfig
%post -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
%post -n libtracker-sparql-0_14-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-0_14-0 -p /sbin/ldconfig
%endif # !build_extras
%if %{build_gui}
@@ -627,7 +680,7 @@ rm -rf %{buildroot}
%{_libexecdir}/tracker-extract
%{_libexecdir}/tracker-store
%{_libexecdir}/tracker-writeback
%{_libdir}/tracker-0.12/
%{_libdir}/tracker-0.14/
%{_datadir}/tracker/
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Writeback.service
@@ -682,29 +735,38 @@ rm -rf %{buildroot}
%{_datadir}/tracker/miners/tracker-miner-files.desktop
%{_mandir}/man1/tracker-miner-fs.1%{ext_man}
%files -n libtracker-extract-0_12-0
%files -n libtracker-extract-0_14-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
%files -n libtracker-miner-0_14-0
%defattr(-,root,root)
%{_libdir}/libtracker-miner*.so.*
%{_libdir}/girepository-1.0/TrackerMiner-0.12.typelib
%files -n libtracker-sparql-0_12-0
%files -n libtracker-sparql-0_14-0
%defattr(-, root, root)
%{_libdir}/libtracker-sparql*.so.*
%{_libdir}/girepository-1.0/Tracker-0.12.typelib
%files -n typelib-1_0-Tracker-0_14
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Tracker-0.14.typelib
%files -n typelib-1_0-TrackerExtract-0_14
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerExtract-0.14.typelib
%files -n typelib-1_0-TrackerMiner-0_14
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerMiner-0.14.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
%{_includedir}/tracker-0.14/
%{_libdir}/pkgconfig/tracker-extract-0.14.pc
%{_libdir}/pkgconfig/tracker-miner-0.14.pc
%{_libdir}/pkgconfig/tracker-sparql-0.14.pc
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/libtracker-miner/
%{_datadir}/gtk-doc/html/libtracker-extract/