!2 Upgrade to 2.3.6
From: @weijin-deng Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
273c367266
Binary file not shown.
BIN
tracker-2.3.6.tar.xz
Normal file
BIN
tracker-2.3.6.tar.xz
Normal file
Binary file not shown.
41
tracker.spec
41
tracker.spec
@ -2,16 +2,16 @@
|
|||||||
%global systemd_units tracker-store.service
|
%global systemd_units tracker-store.service
|
||||||
|
|
||||||
Name: tracker
|
Name: tracker
|
||||||
Version: 2.1.5
|
Version: 2.3.6
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: A filesystem indexer, metadata storage system and search tool
|
Summary: A filesystem indexer, metadata storage system and search tool
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/Tracker
|
URL: https://wiki.gnome.org/Projects/Tracker
|
||||||
Source0: https://download.gnome.org/sources/%{name}/2.1/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.xz
|
||||||
Source1: tracker.conf
|
Source1: tracker.conf
|
||||||
|
|
||||||
BuildRequires: graphviz gtk-doc systemd libxslt
|
BuildRequires: graphviz gtk-doc systemd libxslt gettext meson intltool
|
||||||
BuildRequires: intltool libappstream-glib vala
|
BuildRequires: libappstream-glib vala libstemmer-devel dbus-daemon
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
BuildRequires: pkgconfig(icu-i18n) pkgconfig(icu-uc)
|
BuildRequires: pkgconfig(icu-i18n) pkgconfig(icu-uc)
|
||||||
BuildRequires: pkgconfig(json-glib-1.0) pkgconfig(libnm)
|
BuildRequires: pkgconfig(json-glib-1.0) pkgconfig(libnm)
|
||||||
@ -56,26 +56,20 @@ Man pages and other related documents for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
# unwanted rpaths
|
|
||||||
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Disable the functional tests
|
# Disable the functional tests
|
||||||
%configure --disable-static \
|
%meson \
|
||||||
--enable-gtk-doc \
|
-Ddocs=true \
|
||||||
--with-unicode-support=libicu \
|
-Dfunctional_tests=false \
|
||||||
--disable-functional-tests \
|
-Dunicode_support=icu \
|
||||||
--disable-silent-rules
|
-Dsystemd_user_services=%{_userunitdir}
|
||||||
%make_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete
|
find %{buildroot} -type f -name "*.la" -delete
|
||||||
|
|
||||||
# Remove .so symlinks for private libraries
|
|
||||||
rm -f %{buildroot}%{_libdir}/tracker-2.0/*.so
|
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
# remove rpath info
|
# remove rpath info
|
||||||
@ -97,14 +91,13 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_ar
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license COPYING docs/reference/COPYING
|
%license COPYING
|
||||||
%doc AUTHORS
|
%doc AUTHORS
|
||||||
%dir %{_datadir}/bash-completion
|
%dir %{_datadir}/bash-completion
|
||||||
%dir %{_datadir}/bash-completion/completions
|
%dir %{_datadir}/bash-completion/completions
|
||||||
%dir %{_libdir}/girepository-1.0
|
%dir %{_libdir}/girepository-1.0
|
||||||
%{_datadir}/tracker/
|
%{_datadir}/tracker/
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service
|
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service
|
||||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-store.desktop
|
|
||||||
%{_datadir}/bash-completion/completions/tracker
|
%{_datadir}/bash-completion/completions/tracker
|
||||||
%{_datadir}/glib-2.0/schemas/*
|
%{_datadir}/glib-2.0/schemas/*
|
||||||
%{_userunitdir}/tracker-store.service
|
%{_userunitdir}/tracker-store.service
|
||||||
@ -131,7 +124,7 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_ar
|
|||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/*/tracker*.gz
|
%{_mandir}/*/tracker*.gz
|
||||||
%doc NEWS README
|
%doc NEWS README.md docs/reference/COPYING
|
||||||
%dir %{_datadir}/gtk-doc
|
%dir %{_datadir}/gtk-doc
|
||||||
%dir %{_datadir}/gtk-doc/html
|
%dir %{_datadir}/gtk-doc/html
|
||||||
%{_datadir}/gtk-doc/html/libtracker-control/
|
%{_datadir}/gtk-doc/html/libtracker-control/
|
||||||
@ -140,6 +133,12 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_ar
|
|||||||
%{_datadir}/gtk-doc/html/ontology/
|
%{_datadir}/gtk-doc/html/ontology/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.3.6-1
|
||||||
|
- Upgrade to 2.3.6
|
||||||
|
- Update Version, Release, Source0, BuildRequires
|
||||||
|
- Use meson build tools, delete sed operation of configure script
|
||||||
|
- Update stage 'build', 'install', 'files'
|
||||||
|
|
||||||
* Thu Nov 21 2019 chengquan <chengquan3@huawei.com> - 2.1.5-3
|
* Thu Nov 21 2019 chengquan <chengquan3@huawei.com> - 2.1.5-3
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user