update code

This commit is contained in:
zhuchunyi 2019-11-06 19:54:42 +08:00
parent 5a4084a2ca
commit e2357d29b2
2 changed files with 30 additions and 9 deletions

View File

@ -1 +1,12 @@
#Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License version 2 and
#only version 2 as published by the Free Software Foundation.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
/usr/lib64/tracker-miners-2.0

View File

@ -2,7 +2,7 @@
Name: tracker-miners
Version: 2.1.5
Release: 2
Release: 4
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
@ -16,8 +16,8 @@ BuildRequires: pkgconfig(icu-uc) pkgconfig(libexif) pkgconfig(libgsf-1) pkgconfi
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.1.0 pkgconfig(upower-glib) pkgconfig(vorbisfile)
Requires: tracker%{?_isa} >= 2.1.0
Obsoletes: tracker < 1.99.2
Conflicts: tracker < 1.99.2
@ -28,7 +28,7 @@ from many different filetypes.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%autosetup -n %{name}-%{version}
%build
%configure --disable-static --enable-libflac --enable-libvorbis --disable-mp3 \
@ -39,7 +39,7 @@ from many different filetypes.
%make_install
%delete_la
rm -rf %{buildroot}%{_datadir}/tracker-tests
rm -rf %{buildroot}%{_libdir}/tracker-miners-2.0/*.so
rm -rf %{buildroot}%{_libdir}/%{name}-2.0/*.so
%find_lang %{name}
# remove rpath info
@ -48,6 +48,10 @@ find %{buildroot}/ -type f -exec file {} ';' | grep "\<ELF\>" | grep -v 'libwrit
install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%check
%pre
%preun
%systemd_user_preun %{systemd_units}
@ -58,21 +62,27 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_ar
%systemd_user_postun_with_restart %{systemd_units}
%files -f %{name}.lang
%doc AUTHORS NEWS README
%license COPYING
%doc NEWS README
%license COPYING COPYING.LGPL COPYING.GPL AUTHORS
%config(noreplace) %{_sysconfdir}/xdg/autostart/tracker*.desktop
%{_userunitdir}/tracker*.service
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%{_libdir}/tracker-miners-2.0/
%{_libdir}/%{name}-2.0/
%{_libexecdir}/tracker*
%{_datadir}/dbus-1/services/org.freedesktop.Tracker*
%{_datadir}/glib-2.0/schemas/*
%{_datadir}/tracker/
%{_datadir}/tracker-miners/
%{_datadir}/%{name}/
%files help
%{_mandir}/man1/tracker-*.1*
%changelog
* 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.
* Thu Sep 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.5-2
- Package init
- Package init.