tracker-miners/tracker-miners.spec

120 lines
3.5 KiB
RPMSpec
Raw Normal View History

%global systemd_units tracker-extract.service tracker-miner-fs.service tracker-writeback.service
2019-09-30 11:18:46 -04:00
Name: tracker-miners
Version: 2.3.5
2021-07-22 18:55:40 +08:00
Release: 3
2019-09-30 11:18:46 -04:00
Summary: the indexer daemon (tracker-miner-fs) and tools to extract metadata from many different filetypes.
License: GPLv2+ and LGPLv2+
URL: https://wiki.gnome.org/Projects/Tracker
Source0: https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.xz
2019-09-30 11:18:46 -04:00
Source1: tracker-miners.conf
2021-07-22 18:55:40 +08:00
BuildRequires: giflib-devel intltool libjpeg-devel libtiff-devel systemd vala gcc meson chrpath
2019-09-30 11:18:46 -04:00
BuildRequires: pkgconfig(exempi-2.0) pkgconfig(flac) pkgconfig(gexiv2) pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-pbutils-1.0) pkgconfig(gstreamer-tag-1.0) pkgconfig(icu-i18n)
BuildRequires: pkgconfig(icu-uc) pkgconfig(libexif) pkgconfig(libgsf-1) pkgconfig(libgxps)
BuildRequires: pkgconfig(libiptcdata) pkgconfig(libosinfo-1.0) pkgconfig(libpng) pkgconfig(libseccomp)
BuildRequires: pkgconfig(libxml-2.0) pkgconfig(poppler-glib) pkgconfig(taglib_c) pkgconfig(totem-plparser)
BuildRequires: pkgconfig(tracker-sparql-2.0) >= 2.2.0 pkgconfig(upower-glib) pkgconfig(vorbisfile)
BuildRequires: pkgconfig(dbus-1) pkgconfig(enca) pkgconfig(libjpeg) pkgconfig(libtiff-4)
Requires: tracker%{?_isa} >= 2.2.0
2019-11-06 19:54:42 +08:00
2019-09-30 11:18:46 -04:00
Obsoletes: tracker < 1.99.2
Conflicts: tracker < 1.99.2
%description
tracker-miners containsthe indexer daemon (tracker-miner-fs) and tools to extract metadata
from many different filetypes.
%package_help
%prep
2019-11-06 19:54:42 +08:00
%autosetup -n %{name}-%{version}
2019-09-30 11:18:46 -04:00
%build
%meson \
-Dfunctional_tests=false \
-Dcue=disabled \
-Dminer_rss=false \
-Dsystemd_user_services=%{_userunitdir}
%meson_build
2019-09-30 11:18:46 -04:00
%install
%meson_install
2019-09-30 11:18:46 -04:00
%delete_la
2019-09-30 11:18:46 -04:00
%find_lang %{name}
# remove rpath info
find %{buildroot}/ -type f -exec file {} ';' | grep "\<ELF\>" | grep -v 'libwriteback\|libtracker-extract' | awk -F ':' '{print $1}' | xargs -i chrpath --delete {}
install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
2019-11-06 19:54:42 +08:00
%check
%pre
2019-09-30 11:18:46 -04:00
%preun
%systemd_user_preun %{systemd_units}
%post
%systemd_user_post %{systemd_units}
%postun
%systemd_user_postun_with_restart %{systemd_units}
%files -f %{name}.lang
%doc NEWS README.md
2019-11-06 19:54:42 +08:00
%license COPYING COPYING.LGPL COPYING.GPL AUTHORS
2019-09-30 11:18:46 -04:00
%{_userunitdir}/tracker*.service
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
2019-11-06 19:54:42 +08:00
%{_libdir}/%{name}-2.0/
2019-09-30 11:18:46 -04:00
%{_libexecdir}/tracker*
%{_datadir}/dbus-1/services/org.freedesktop.Tracker*
%{_datadir}/glib-2.0/schemas/*
%{_datadir}/tracker/
2019-11-06 19:54:42 +08:00
%{_datadir}/%{name}/
2019-09-30 11:18:46 -04:00
%files help
%{_mandir}/man1/tracker-*.1*
%changelog
2021-07-22 18:55:40 +08:00
* Thu Jul 22 2021 shixuantong<shixuantong@huawei.com> - 2.3.5-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:remove gdb from BuildRequires
2021-06-24 17:06:41 +08:00
* Thu Jun 23 2021 yuanxin<yuanxin24@huawei.com> - 2.3.5-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add buildrequires chrpath
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.3.5-1
- Upgrade to 2.3.5
- Update Version, Release, Source0, BuildRequires
- Update meson rebuild
2020-03-19 20:05:37 +08:00
* Thu Mar 19 2020 chengquan<chengquan3@huawei.com> - 2.1.5-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add necessary BuildRequires
2019-12-13 16:12:45 +08:00
* Mon Nov 11 2019 chengquan<chengquan3@huawei.com> - 2.1.5-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:remove rss service
2019-11-06 19:54:42 +08:00
* Thu Oct 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.5-4
- add Copyright in tracker-miners.conf.
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.5-3
- Package rebuild.
2019-09-30 11:18:46 -04:00
* Thu Sep 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.5-2
2019-11-06 19:54:42 +08:00
- Package init.