!4 Update to 3.3.0

From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-04-13 08:46:08 +00:00 committed by Gitee
commit bd56039f4d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 30 additions and 14 deletions

Binary file not shown.

BIN
tracker-3.3.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
%global systemd_units tracker-xdg-portal-3 %global systemd_units tracker-xdg-portal-3
Name: tracker3 Name: tracker3
Version: 3.0.4 Version: 3.3.0
Release: 2 Release: 1
Summary: Desktop-neutral metadata database and search tool Summary: Desktop-neutral metadata database and search tool
License: GPLv2+ License: GPLv2+
URL: https://wiki.gnome.org/Projects/Tracker URL: https://gnome.pages.gitlab.gnome.org/tracker/
Source0: https://download.gnome.org/sources/tracker/3.0/tracker-%{version}.tar.xz Source0: https://download.gnome.org/sources/tracker/3.3/tracker-%{version}.tar.xz
BuildRequires: asciidoc gettext gtk-doc libstemmer-devel meson systemd vala BuildRequires: asciidoc gettext gtk-doc libstemmer-devel meson systemd vala
BuildRequires: pkgconfig(dbus-1) dbus-daemon pkgconfig(icu-i18n) BuildRequires: pkgconfig(dbus-1) dbus-daemon pkgconfig(icu-i18n)
@ -15,7 +14,12 @@ BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(icu-uc) pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(icu-uc) pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(sqlite3) chrpath BuildRequires: pkgconfig(sqlite3) chrpath
BuildRequires: python3-gobject
Obsoletes: tracker3 < %{version}
Conflicts: tracker3 < %{version}
Provides: tracker3 = %{version}-%{release}
Provides: tracker3%{?_isa} = %{version}-%{release}
Requires: libtracker-sparql3%{?_isa} = %{version}-%{release} Requires: libtracker-sparql3%{?_isa} = %{version}-%{release}
Recommends: tracker-miners3%{?_isa} Recommends: tracker-miners3%{?_isa}
@ -36,28 +40,38 @@ linking and audit trails for a file object.
Metadata indexers are provided by the tracker-miners3 package. Metadata indexers are provided by the tracker-miners3 package.
%package -n libtracker-sparql3 %package -n libtracker-sparql3
Summary: Tracker SPARQL library Summary: Tracker SPARQL library
License: LGPLv2+ License: LGPLv2+
Recommends: %{name}%{?_isa} = %{version}-%{release} Recommends: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: libtracker-sparql3 < %{version}
Conflicts: libtracker-sparql3 < %{version}
Provides: libtracker-sparql3 = %{version}-%{release}
Provides: libtracker-sparql3%{?_isa} = %{version}-%{release}
Obsoletes: libtracker-control < 2.3.6-10
Obsoletes: libtracker-miner < 2.3.6-10
%description -n libtracker-sparql3 %description -n libtracker-sparql3
This package contains the libtracker-sparql library. This package contains the libtracker-sparql library.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: libtracker-sparql3%{?_isa} = %{version}-%{release} Requires: libtracker-sparql3%{?_isa} = %{version}-%{release}
Obsoletes: tracker3-devel < %{version}
Conflicts: tracker3-devel < %{version}
Provides: tracker3-devel = %{version}-%{release}
Provides: tracker3-devel%{?_isa} = %{version}-%{release}
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%package doc %package doc
Summary: Documentation for %{name} Summary: Documentation for %{name}
BuildArch: noarch BuildArch: noarch
Obsoletes: tracker3-doc < %{version}
Conflicts: tracker3-doc < %{version}
Provides: tracker3-doc = %{version}-%{release}
%description doc %description doc
The %{name}-devel package contains the documentation for %{name}. The %{name}-devel package contains the documentation for %{name}.
@ -78,7 +92,7 @@ The %{name}-devel package contains the documentation for %{name}.
%find_lang tracker3 %find_lang tracker3
chrpath -d %{buildroot}%{_libdir}/libtracker-sparql-3.0.so.0.4.0 chrpath -d %{buildroot}%{_libdir}/libtracker-sparql-3.0.so.0.300.0
chrpath -d %{buildroot}%{_libexecdir}/tracker-xdg-portal-3 chrpath -d %{buildroot}%{_libexecdir}/tracker-xdg-portal-3
chrpath -d %{buildroot}%{_bindir}/tracker3 chrpath -d %{buildroot}%{_bindir}/tracker3
mkdir -p %{buildroot}/etc/ld.so.conf.d mkdir -p %{buildroot}/etc/ld.so.conf.d
@ -114,6 +128,7 @@ echo "%{_libdir}/tracker-3.0" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.c
%dir %{_libdir}/girepository-1.0 %dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Tracker-3.0.typelib %{_libdir}/girepository-1.0/Tracker-3.0.typelib
%{_libdir}/libtracker-sparql-3.0.so.0* %{_libdir}/libtracker-sparql-3.0.so.0*
%{_libdir}/tracker-3.0/
%{_datadir}/tracker3/ %{_datadir}/tracker3/
%config(noreplace) /etc/ld.so.conf.d/* %config(noreplace) /etc/ld.so.conf.d/*
@ -131,13 +146,14 @@ echo "%{_libdir}/tracker-3.0" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.c
%files doc %files doc
%license docs/reference/COPYING %license docs/reference/COPYING
%dir %{_datadir}/gtk-doc %dir %{_datadir}/devhelp
%dir %{_datadir}/gtk-doc/html %dir %{_datadir}/devhelp/books
%{_datadir}/gtk-doc/html/libtracker-sparql-3/ %{_datadir}/devhelp/books/Tracker/
%{_datadir}/gtk-doc/html/ontology-3/
%changelog %changelog
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.3.0-1
- Update to 3.3.0
* Thu Sep 09 2021 wangyue <wangyue92@huawei.com> - 3.0.4-2 * Thu Sep 09 2021 wangyue <wangyue92@huawei.com> - 3.0.4-2
- fix rpath error - fix rpath error