diff --git a/tracker3-miners.conf b/tracker3-miners.conf new file mode 100644 index 0000000000000000000000000000000000000000..b2a4bae04ee20a88fc496a93cb6b9fc86c545975 --- /dev/null +++ b/tracker3-miners.conf @@ -0,0 +1 @@ +/usr/lib64/tracker-miners-3.0 diff --git a/tracker3-miners.spec b/tracker3-miners.spec index 5ff3dc7481cac565935d18e9fb44e72713bcd81e..c771b0debd90edadc8a0f03defc4b79db2e53c95 100644 --- a/tracker3-miners.spec +++ b/tracker3-miners.spec @@ -2,12 +2,13 @@ Name: tracker3-miners Version: 3.0.5 -Release: 1 +Release: 3 Summary: One of two parts of tracker mainly contains the indexer daemon and tools. License: GPLv2+ and LGPLv2+ URL: https://wiki.gnome.org/Projects/Tracker Source0: https://download.gnome.org/sources/tracker-miners/3.0/tracker-miners-%{version}.tar.xz +Source1: tracker3-miners.conf BuildRequires: asciidoc libxslt coreutils glib2 glib2-devel gcc giflib-devel meson systemd BuildRequires: pkgconfig(tracker-sparql-3.0) pkgconfig(tracker-testutils-3.0) @@ -20,7 +21,7 @@ BuildRequires: pkgconfig(libexif) pkgconfig(libgsf-1) pkgconfig(libgxps) BuildRequires: pkgconfig(libiptcdata) pkgconfig(libjpeg) pkgconfig(libosinfo-1.0) pkgconfig(libpng) BuildRequires: pkgconfig(libseccomp) pkgconfig(libtiff-4) pkgconfig(libxml-2.0) pkgconfig(poppler-glib) BuildRequires: pkgconfig(totem-plparser) pkgconfig(upower-glib) pkgconfig(libnm) -BuildRequires: pkgconfig(enca) pkgconfig(systemd) +BuildRequires: pkgconfig(enca) pkgconfig(systemd) chrpath %{?systemd_requires} Requires: tracker3%{?_isa} @@ -51,20 +52,29 @@ this is for version 3 series. %meson_install %find_lang tracker3-miners +chrpath -d %{buildroot}%{_libexecdir}/tracker-* +chrpath -d %{buildroot}%{_libexecdir}/tracker3/* +chrpath -d %{buildroot}%{_libdir}/tracker-miners-3.0/libtracker-miner-3.0.so + +install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d +install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf %post %systemd_user_post %{systemd_units} +/sbin/ldconfig %preun %systemd_user_preun %{systemd_units} %postun %systemd_user_postun_with_restart %{systemd_units} +/sbin/ldconfig %files -f tracker3-miners.lang %license COPYING* %doc AUTHORS NEWS README.md %config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-miner-fs-3.desktop +%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf %{_libdir}/tracker-miners-3.0/ %{_libexecdir}/tracker* %{_datadir}/dbus-1/interfaces/org.freedesktop.Tracker3.Miner*.xml @@ -76,5 +86,11 @@ this is for version 3 series. %changelog +* Thu Sep 23 2021 weijin deng - 3.0.5-3 +- Add dynamic library search path with file + +* Thu Sep 09 2021 sunguoshuai - 3.0.5-2 +- del rpath in some binaries + * Thu Jun 17 2021 weijin deng - 3.0.5-1 - Package init with version 3.0.5