2010-04-26 23:55:29 +02:00
|
|
|
#
|
2011-01-14 15:11:10 +01:00
|
|
|
# spec file for package tracker
|
2010-04-26 23:55:29 +02:00
|
|
|
#
|
2022-03-21 09:36:12 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2010-04-26 23:55:29 +02:00
|
|
|
# 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.
|
|
|
|
|
2018-09-27 09:41:31 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-04-26 23:55:29 +02:00
|
|
|
#
|
|
|
|
|
2011-07-06 12:34:41 +02:00
|
|
|
|
2020-09-22 11:01:33 +02:00
|
|
|
%define TrackerAPI 3.0
|
|
|
|
%define RPMTrackerAPI 3_0
|
2019-03-14 11:24:56 +01:00
|
|
|
|
2010-04-26 23:55:29 +02:00
|
|
|
Name: tracker
|
2022-03-21 09:36:12 +01:00
|
|
|
Version: 3.3.0
|
2012-01-24 12:23:29 +01:00
|
|
|
Release: 0
|
2017-02-08 14:12:32 +01:00
|
|
|
Summary: Object database, tag/metadata database, search tool and indexer
|
2018-03-05 14:52:58 +01:00
|
|
|
License: GPL-2.0-or-later
|
2010-04-26 23:55:29 +02:00
|
|
|
Group: Productivity/Other
|
2018-03-05 14:52:58 +01:00
|
|
|
URL: https://wiki.gnome.org/Projects/Tracker
|
2022-03-21 09:36:12 +01:00
|
|
|
Source0: https://download.gnome.org/sources/tracker/3.3/%{name}-%{version}.tar.xz
|
2020-08-28 09:04:49 +02:00
|
|
|
|
2020-09-22 11:01:33 +02:00
|
|
|
BuildRequires: asciidoc
|
2010-04-26 23:55:29 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2020-09-22 11:01:33 +02:00
|
|
|
BuildRequires: glib2-devel >= 2.52.0
|
2011-05-02 15:45:08 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2010-04-26 23:55:29 +02:00
|
|
|
BuildRequires: intltool
|
2017-11-21 16:38:45 +01:00
|
|
|
BuildRequires: libicu-devel >= 4.8.1.1
|
2021-09-27 08:26:06 +02:00
|
|
|
BuildRequires: meson >= 0.51
|
2017-08-31 09:44:44 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: python3
|
2021-09-27 08:26:06 +02:00
|
|
|
BuildRequires: python3-gobject
|
2021-07-13 09:27:04 +02:00
|
|
|
BuildRequires: sqlite3-devel >= 3.35.2
|
2017-11-21 16:38:45 +01:00
|
|
|
BuildRequires: vala >= 0.18.0
|
2011-10-16 13:05:59 +02:00
|
|
|
BuildRequires: zlib-devel
|
2019-03-14 11:24:56 +01:00
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2017-08-31 09:44:44 +02:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
2017-02-22 21:41:03 +01:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.0
|
|
|
|
BuildRequires: pkgconfig(libseccomp) >= 2.0
|
|
|
|
BuildRequires: pkgconfig(libsoup-2.4) >= 2.40
|
2021-09-27 08:26:06 +02:00
|
|
|
BuildRequires: pkgconfig(libsoup-3.0) >= 2.99.2
|
2017-08-31 09:44:44 +02:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.6
|
2020-09-22 11:01:33 +02:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2017-11-21 16:38:45 +01:00
|
|
|
BuildRequires: pkgconfig(upower-glib) >= 0.9.0
|
2017-08-31 09:44:44 +02:00
|
|
|
BuildRequires: pkgconfig(uuid)
|
2011-10-16 13:05:59 +02:00
|
|
|
# We want to index files by default, if possible
|
2017-08-31 09:44:44 +02:00
|
|
|
Recommends: %{name}-miner-files
|
2013-03-20 19:06:57 +01:00
|
|
|
# gnome-panel-applet-tracker (aka tracker-search-bar) was removed with tracker 0.16.0
|
|
|
|
Obsoletes: gnome-panel-applet-tracker < 0.16.0
|
|
|
|
# flickr miner was removed with tracker 0.16.0
|
|
|
|
Obsoletes: tracker-miner-flickr < 0.16.0
|
2017-08-31 09:44:44 +02:00
|
|
|
# Removed with tracker 2.0
|
|
|
|
Obsoletes: tracker-gui < 1.99.0
|
|
|
|
Obsoletes: tracker-miner-evolution < 1.99.0
|
|
|
|
Obsoletes: tracker-miner-firefox < 1.99.0
|
|
|
|
Obsoletes: tracker-miner-thunderbird < 1.99.0
|
|
|
|
BuildRequires: libgupnp-dlna-devel >= 0.9.4
|
2020-11-26 13:27:13 +01:00
|
|
|
Requires: tracker-data-files = %{version}
|
2010-04-26 23:55:29 +02:00
|
|
|
|
|
|
|
%description
|
2017-02-08 14:12:32 +01:00
|
|
|
Tracker is a desktop-neutral object database, tag/metadata database,
|
|
|
|
search tool and indexer.
|
2010-04-26 23:55:29 +02:00
|
|
|
|
|
|
|
It consists of a common object database that allows entities to
|
2011-09-09 11:56:14 +02:00
|
|
|
have an almost infinite number of properties, metadata (both
|
2010-04-26 23:55:29 +02:00
|
|
|
embedded/harvested as well as user definable), a comprehensive
|
|
|
|
database of keywords/tags and links to other entities.
|
|
|
|
|
2017-02-08 14:12:32 +01:00
|
|
|
It provides context linking and audit trails for file objects.
|
2010-04-26 23:55:29 +02:00
|
|
|
It has the ability to index, store, harvest metadata, retrieve
|
|
|
|
and search all types of files and other first class objects.
|
|
|
|
|
2013-03-13 23:39:15 +01:00
|
|
|
%package -n typelib-1_0-Tracker-%{RPMTrackerAPI}
|
2017-02-08 14:12:32 +01:00
|
|
|
Summary: Introspection bindings for the Tracker Sparql library
|
2012-01-24 12:23:29 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2013-03-13 23:39:15 +01:00
|
|
|
%description -n typelib-1_0-Tracker-%{RPMTrackerAPI}
|
2017-02-08 14:12:32 +01:00
|
|
|
Tracker is a desktop-neutral object database, tag/metadata database,
|
|
|
|
search tool and indexer.
|
2010-08-27 22:12:46 +02:00
|
|
|
|
2012-01-24 12:23:29 +01:00
|
|
|
This package provides the GObject Introspection bindings for the
|
|
|
|
sparql library for Tracker.
|
|
|
|
|
2013-03-13 23:39:15 +01:00
|
|
|
%package -n libtracker-sparql-%{RPMTrackerAPI}-0
|
2010-08-27 22:12:46 +02:00
|
|
|
Summary: Sparql library for Tracker
|
2016-10-15 09:52:48 +02:00
|
|
|
Group: System/Libraries
|
2010-08-27 22:12:46 +02:00
|
|
|
|
2013-03-13 23:39:15 +01:00
|
|
|
%description -n libtracker-sparql-%{RPMTrackerAPI}-0
|
2017-02-08 14:12:32 +01:00
|
|
|
Tracker is a desktop-neutral object database, tag/metadata database,
|
|
|
|
search tool and indexer.
|
2010-04-26 23:55:29 +02:00
|
|
|
|
|
|
|
It consists of a common object database that allows entities to
|
2011-09-09 11:56:14 +02:00
|
|
|
have an almost infinite number of properties, metadata (both
|
2010-04-26 23:55:29 +02:00
|
|
|
embedded/harvested as well as user definable), a comprehensive
|
|
|
|
database of keywords/tags and links to other entities.
|
|
|
|
|
2017-02-08 14:12:32 +01:00
|
|
|
It provides context linking and audit trails for file objects.
|
2010-04-26 23:55:29 +02:00
|
|
|
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
|
2017-02-08 14:12:32 +01:00
|
|
|
Summary: Development files for the Tracker indexer
|
2010-04-26 23:55:29 +02:00
|
|
|
Group: Development/Libraries/GNOME
|
2013-03-13 23:39:15 +01:00
|
|
|
Requires: libtracker-sparql-%{RPMTrackerAPI}-0 = %{version}
|
|
|
|
Requires: typelib-1_0-Tracker-%{RPMTrackerAPI} = %{version}
|
2010-04-26 23:55:29 +02:00
|
|
|
|
|
|
|
%description -n tracker-devel
|
2017-02-08 14:12:32 +01:00
|
|
|
Tracker is a desktop-neutral object database, tag/metadata database,
|
|
|
|
search tool and indexer.
|
2010-04-26 23:55:29 +02:00
|
|
|
|
2017-02-08 14:12:32 +01:00
|
|
|
This subpackage contains the headers to make use of its libraries.
|
2011-10-16 13:05:59 +02:00
|
|
|
|
2020-11-26 13:27:13 +01:00
|
|
|
%package -n tracker-data-files
|
|
|
|
Summary: Data files for the Tracker Miners
|
|
|
|
Group: Productivity/Other
|
|
|
|
|
|
|
|
%description -n tracker-data-files
|
|
|
|
Tracker is a desktop-neutral object database, tag/metadata database,
|
|
|
|
search tool and indexer.
|
|
|
|
|
|
|
|
This subpackage contains the data files for the Tracker miners.
|
|
|
|
|
2010-04-26 23:55:29 +02:00
|
|
|
%lang_package
|
2011-10-16 13:05:59 +02:00
|
|
|
|
2010-04-26 23:55:29 +02:00
|
|
|
%prep
|
2018-02-07 12:47:30 +01:00
|
|
|
%autosetup -p1
|
2010-04-26 23:55:29 +02:00
|
|
|
|
|
|
|
%build
|
2019-03-14 11:24:56 +01:00
|
|
|
%meson \
|
|
|
|
-Ddocs=true \
|
|
|
|
-Dstemmer=disabled \
|
2018-02-07 12:47:30 +01:00
|
|
|
%{nil}
|
2019-03-14 11:24:56 +01:00
|
|
|
%meson_build
|
2010-04-26 23:55:29 +02:00
|
|
|
|
|
|
|
%install
|
2018-06-28 10:17:25 +02:00
|
|
|
%meson_install
|
2020-09-22 11:01:33 +02:00
|
|
|
%find_lang %{name}3 %{?no_lang_C}
|
2011-10-16 13:05:59 +02:00
|
|
|
|
2012-05-16 10:51:53 +02:00
|
|
|
# Ensure we have a /usr/share/tracker/icons/ folder, so the
|
|
|
|
# tracker-extras build can put icons in there without having to worry
|
2012-05-16 10:32:43 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/tracker/icons/
|
2020-09-22 11:01:33 +02:00
|
|
|
# Let's package the template directory where consumers can put their ontology files
|
|
|
|
mkdir %{buildroot}%{_datadir}/tracker3/domain-ontologies
|
2012-05-16 10:32:43 +02:00
|
|
|
|
2011-10-16 13:05:59 +02:00
|
|
|
%fdupes %{buildroot}%{_datadir}/vala/
|
|
|
|
|
2021-11-05 09:45:27 +01:00
|
|
|
#ifnarch %%arm
|
2020-09-22 11:01:33 +02:00
|
|
|
#check
|
|
|
|
#meson_test
|
|
|
|
#endif
|
2019-11-27 15:35:28 +01:00
|
|
|
|
2021-11-05 09:45:27 +01:00
|
|
|
%ldconfig_scriptlets -n libtracker-sparql-%{RPMTrackerAPI}-0
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_user_post tracker-xdg-portal-3.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_user_preun tracker-xdg-portal-3.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_user_postun_with_restart tracker-xdg-portal-3.service
|
2011-09-09 11:56:14 +02:00
|
|
|
|
2010-04-26 23:55:29 +02:00
|
|
|
%files
|
2018-03-05 14:52:58 +01:00
|
|
|
%license COPYING
|
2020-09-22 11:01:33 +02:00
|
|
|
%{_bindir}/tracker3
|
2013-03-13 23:39:15 +01:00
|
|
|
%dir %{_libdir}/tracker-%{TrackerAPI}/
|
2021-09-27 08:26:06 +02:00
|
|
|
%{_libdir}/tracker-%{TrackerAPI}/libtracker-remote-soup2.so
|
|
|
|
%{_libdir}/tracker-%{TrackerAPI}/libtracker-remote-soup3.so
|
2020-09-22 11:01:33 +02:00
|
|
|
%{_datadir}/bash-completion/completions/tracker3
|
2020-11-26 13:27:13 +01:00
|
|
|
%dir %{_datadir}/tracker3/
|
2020-09-22 11:01:33 +02:00
|
|
|
%{_libexecdir}/tracker3/
|
|
|
|
%{_libexecdir}/tracker-xdg-portal-3
|
|
|
|
%{_mandir}/man1/tracker3-endpoint.1.gz
|
|
|
|
%{_mandir}/man1/tracker3-export.1.gz
|
|
|
|
%{_mandir}/man1/tracker3-import.1.gz
|
|
|
|
%{_mandir}/man1/tracker3-sparql.1.gz
|
|
|
|
%{_mandir}/man1/tracker3-sql.1.gz
|
|
|
|
%{_mandir}/man1/tracker-xdg-portal-3.1.gz
|
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.Tracker.service
|
|
|
|
%{_userunitdir}/tracker-xdg-portal-3.service
|
2011-10-16 13:05:59 +02:00
|
|
|
|
2020-11-26 13:27:13 +01:00
|
|
|
%files -n tracker-data-files
|
|
|
|
%dir %{_datadir}/tracker3/domain-ontologies
|
|
|
|
%{_datadir}/tracker3/ontologies/
|
|
|
|
%{_datadir}/tracker3/stop-words/
|
|
|
|
|
2013-03-13 23:39:15 +01:00
|
|
|
%files -n libtracker-sparql-%{RPMTrackerAPI}-0
|
2011-10-16 13:05:59 +02:00
|
|
|
%{_libdir}/libtracker-sparql*.so.*
|
2012-01-24 12:23:29 +01:00
|
|
|
|
2013-03-13 23:39:15 +01:00
|
|
|
%files -n typelib-1_0-Tracker-%{RPMTrackerAPI}
|
|
|
|
%{_libdir}/girepository-1.0/Tracker-%{TrackerAPI}.typelib
|
2012-01-24 12:23:29 +01:00
|
|
|
|
2011-10-16 13:05:59 +02:00
|
|
|
%files -n tracker-devel
|
2019-05-04 09:57:39 +02:00
|
|
|
%doc AUTHORS README.md NEWS
|
2021-09-27 08:26:06 +02:00
|
|
|
%doc %{_datadir}/devhelp/
|
2011-10-16 13:05:59 +02:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2020-09-22 11:01:33 +02:00
|
|
|
%dir %{_datadir}/tracker3
|
|
|
|
%dir %{_datadir}/tracker3/domain-ontologies
|
2011-10-16 13:05:59 +02:00
|
|
|
%dir %{_datadir}/vala
|
|
|
|
%dir %{_datadir}/vala/vapi
|
|
|
|
%{_datadir}/vala/vapi/*.deps
|
|
|
|
%{_datadir}/vala/vapi/*.vapi
|
2020-09-22 11:01:33 +02:00
|
|
|
%{_includedir}/tracker-%{TrackerAPI}/
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/tracker-sparql-%{TrackerAPI}.pc
|
|
|
|
%{_libdir}/pkgconfig/tracker-testutils-%{TrackerAPI}.pc
|
|
|
|
%{_libdir}/tracker-%{TrackerAPI}/trackertestutils
|
2011-10-16 13:05:59 +02:00
|
|
|
|
2020-09-22 11:01:33 +02:00
|
|
|
%files lang -f %{name}3.lang
|
2010-04-26 23:55:29 +02:00
|
|
|
|
|
|
|
%changelog
|