|
|
800620 |
%if 0%{?rhel}
|
|
|
800620 |
%global with_enca 0
|
|
|
800620 |
%global with_libcue 0
|
|
|
800620 |
%global with_rss 0
|
|
|
800620 |
%else
|
|
|
800620 |
%global with_enca 1
|
|
|
800620 |
%global with_libcue 1
|
|
|
800620 |
%global with_rss 1
|
|
|
800620 |
%endif
|
|
|
800620 |
|
|
|
800620 |
%global tracker_version 2.1.0
|
|
|
800620 |
|
|
|
800620 |
%global systemd_units tracker-extract.service tracker-miner-apps.service tracker-miner-fs.service tracker-miner-rss.service tracker-writeback.service
|
|
|
800620 |
|
|
|
800620 |
Name: tracker-miners
|
|
|
800620 |
Version: 2.1.5
|
|
|
800620 |
Release: 1%{?dist}
|
|
|
800620 |
Summary: Tracker miners and metadata extractors
|
|
|
800620 |
|
|
|
800620 |
# libtracker-extract is LGPLv2+; the miners are a mix of GPLv2+ and LGPLv2+ code
|
|
|
800620 |
License: GPLv2+ and LGPLv2+
|
|
|
800620 |
URL: https://wiki.gnome.org/Projects/Tracker
|
|
|
800620 |
Source0: https://download.gnome.org/sources/%{name}/2.1/%{name}-%{version}.tar.xz
|
|
|
800620 |
|
|
|
800620 |
BuildRequires: giflib-devel
|
|
|
800620 |
BuildRequires: intltool
|
|
|
800620 |
BuildRequires: libjpeg-devel
|
|
|
800620 |
BuildRequires: libtiff-devel
|
|
|
800620 |
BuildRequires: systemd
|
|
|
800620 |
BuildRequires: vala
|
|
|
800620 |
%if 0%{?with_enca}
|
|
|
800620 |
BuildRequires: pkgconfig(enca)
|
|
|
800620 |
%endif
|
|
|
800620 |
BuildRequires: pkgconfig(exempi-2.0)
|
|
|
800620 |
BuildRequires: pkgconfig(flac)
|
|
|
800620 |
BuildRequires: pkgconfig(gexiv2)
|
|
|
800620 |
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
800620 |
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
|
|
800620 |
BuildRequires: pkgconfig(gstreamer-tag-1.0)
|
|
|
800620 |
BuildRequires: pkgconfig(icu-i18n)
|
|
|
800620 |
BuildRequires: pkgconfig(icu-uc)
|
|
|
800620 |
%if 0%{?with_libcue}
|
|
|
800620 |
BuildRequires: pkgconfig(libcue)
|
|
|
800620 |
%endif
|
|
|
800620 |
BuildRequires: pkgconfig(libexif)
|
|
|
800620 |
%if 0%{?with_rss}
|
|
|
800620 |
BuildRequires: pkgconfig(libgrss)
|
|
|
800620 |
%endif
|
|
|
800620 |
BuildRequires: pkgconfig(libgsf-1)
|
|
|
800620 |
BuildRequires: pkgconfig(libgxps)
|
|
|
800620 |
BuildRequires: pkgconfig(libiptcdata)
|
|
|
800620 |
BuildRequires: pkgconfig(libosinfo-1.0)
|
|
|
800620 |
BuildRequires: pkgconfig(libpng)
|
|
|
800620 |
BuildRequires: pkgconfig(libseccomp)
|
|
|
800620 |
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
800620 |
BuildRequires: pkgconfig(poppler-glib)
|
|
|
800620 |
BuildRequires: pkgconfig(taglib_c)
|
|
|
800620 |
BuildRequires: pkgconfig(totem-plparser)
|
|
|
800620 |
BuildRequires: pkgconfig(tracker-sparql-2.0) >= %{tracker_version}
|
|
|
800620 |
BuildRequires: pkgconfig(upower-glib)
|
|
|
800620 |
BuildRequires: pkgconfig(vorbisfile)
|
|
|
800620 |
|
|
|
800620 |
%{?systemd_requires}
|
|
|
800620 |
Requires: tracker%{?_isa} >= %{tracker_version}
|
|
|
800620 |
|
|
|
800620 |
# tracker-miners was split out from tracker in 1.99.2
|
|
|
800620 |
Obsoletes: tracker < 1.99.2
|
|
|
800620 |
Conflicts: tracker < 1.99.2
|
|
|
800620 |
|
|
|
800620 |
%description
|
|
|
800620 |
Tracker is a powerful desktop-neutral first class object database,
|
|
|
800620 |
tag/metadata database and search tool.
|
|
|
800620 |
|
|
|
800620 |
This package contains various miners and metadata extractors for tracker.
|
|
|
800620 |
|
|
|
800620 |
|
|
|
800620 |
%prep
|
|
|
800620 |
%autosetup -p1
|
|
|
800620 |
|
|
|
800620 |
|
|
|
800620 |
%build
|
|
|
800620 |
# Disable the functional tests for now, they use python bytecodes.
|
|
|
800620 |
%configure --disable-static \
|
|
|
800620 |
--enable-libflac \
|
|
|
800620 |
--enable-libvorbis \
|
|
|
800620 |
--disable-mp3 \
|
|
|
800620 |
--disable-functional-tests \
|
|
|
800620 |
--disable-silent-rules
|
|
|
800620 |
%make_build
|
|
|
800620 |
|
|
|
800620 |
|
|
|
800620 |
%install
|
|
|
800620 |
%make_install
|
|
|
800620 |
|
|
|
800620 |
find %{buildroot} -type f -name "*.la" -delete
|
|
|
800620 |
rm -rf %{buildroot}%{_datadir}/tracker-tests
|
|
|
800620 |
|
|
|
800620 |
# Remove .so symlinks for private libraries -- no external users are supposed
|
|
|
800620 |
# to link with them.
|
|
|
800620 |
rm -f %{buildroot}%{_libdir}/tracker-miners-2.0/*.so
|
|
|
800620 |
|
|
|
800620 |
%find_lang %{name}
|
|
|
800620 |
|
|
|
800620 |
|
|
|
800620 |
%post
|
|
|
800620 |
%systemd_user_post %{systemd_units}
|
|
|
800620 |
|
|
|
800620 |
%preun
|
|
|
800620 |
%systemd_user_preun %{systemd_units}
|
|
|
800620 |
|
|
|
800620 |
%postun
|
|
|
800620 |
%systemd_user_postun_with_restart %{systemd_units}
|
|
|
800620 |
|
|
|
800620 |
|
|
|
800620 |
%files -f %{name}.lang
|
|
|
800620 |
%license COPYING
|
|
|
800620 |
%doc AUTHORS NEWS README
|
|
|
800620 |
%{_libdir}/tracker-miners-2.0/
|
|
|
800620 |
%{_libexecdir}/tracker*
|
|
|
800620 |
%{_datadir}/dbus-1/services/org.freedesktop.Tracker*
|
|
|
800620 |
%{_datadir}/glib-2.0/schemas/*
|
|
|
800620 |
%{_datadir}/tracker/
|
|
|
800620 |
%{_datadir}/tracker-miners/
|
|
|
800620 |
%{_mandir}/man1/tracker-*.1*
|
|
|
800620 |
%config(noreplace) %{_sysconfdir}/xdg/autostart/tracker*.desktop
|
|
|
800620 |
%{_userunitdir}/tracker*.service
|
|
|
800620 |
|
|
|
800620 |
|
|
|
800620 |
%changelog
|
|
|
800620 |
* Fri Sep 28 2018 Kalev Lember <klember@redhat.com> - 2.1.5-1
|
|
|
800620 |
- Update to 2.1.5
|
|
|
800620 |
|
|
|
800620 |
* Wed Jul 25 2018 Kalev Lember <klember@redhat.com> - 2.1.0-1
|
|
|
800620 |
- Update to 2.1.0
|
|
|
800620 |
|
|
|
800620 |
* Tue Jun 26 2018 Kalev Lember <klember@redhat.com> - 2.0.5-1
|
|
|
800620 |
- Update to 2.0.5
|
|
|
800620 |
|
|
|
800620 |
* Sun Feb 11 2018 Sandro Mani <manisandro@gmail.com> - 2.0.4-3
|
|
|
800620 |
- Rebuild (giflib)
|
|
|
800620 |
|
|
|
800620 |
* Thu Feb 08 2018 Kalev Lember <klember@redhat.com> - 2.0.4-2
|
|
|
800620 |
- Rebuild to really enable the RAW extractor
|
|
|
800620 |
|
|
|
800620 |
* Wed Feb 07 2018 Kalev Lember <klember@redhat.com> - 2.0.4-1
|
|
|
800620 |
- Update to 2.0.4
|
|
|
800620 |
- Enable new gexiv2 based RAW extractor
|
|
|
800620 |
|
|
|
800620 |
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 2.0.3-2
|
|
|
800620 |
- Rebuild for ICU 60.1
|
|
|
800620 |
|
|
|
800620 |
* Tue Nov 21 2017 Kalev Lember <klember@redhat.com> - 2.0.3-1
|
|
|
800620 |
- Update to 2.0.3
|
|
|
800620 |
|
|
|
800620 |
* Fri Oct 06 2017 Kalev Lember <klember@redhat.com> - 2.0.2-1
|
|
|
800620 |
- Update to 2.0.2
|
|
|
800620 |
|
|
|
800620 |
* Tue Sep 19 2017 Kalev Lember <klember@redhat.com> - 2.0.0-3
|
|
|
800620 |
- Backport a fix for a crash when processing virtual elements (#1488707)
|
|
|
800620 |
|
|
|
800620 |
* Fri Sep 15 2017 Kalev Lember <klember@redhat.com> - 2.0.0-2
|
|
|
800620 |
- Package review fixes (#1491725):
|
|
|
800620 |
- Pass --disable-mp3 to use the generic gstreamer extractor
|
|
|
800620 |
- Disable libstemmer support to match the previous behaviour
|
|
|
800620 |
- Fix removing .so symlinks for private libraries
|
|
|
800620 |
- Remove ldconfig rpm scripts as we don't install any shared libraries
|
|
|
800620 |
- Correct license tag and add comment explaining mixed source licensing
|
|
|
800620 |
|
|
|
800620 |
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 2.0.0-1
|
|
|
800620 |
- Initial Fedora packaging
|