代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-dde/deepin-log-viewer 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: deepin-log-viewer
Version: 5.8.22
Release: 2%{?dist}
Summary: Log Viewer is a useful tool for viewing system logs
License: GPLv3+
URL: https://github.com/linuxdeepin/%{name}
Source0: %{name}-%{version}.tar.gz
BuildRequires: qt5-devel
BuildRequires: gcc-c++
BuildRequires: cmake3
BuildRequires: dtkwidget-devel
BuildRequires: dtkgui-devel
BuildRequires: systemd-devel
BuildRequires: libicu-devel
BuildRequires: qt5-rpm-macros
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-devel
BuildRequires: pkgconfig(dframeworkdbus)
BuildRequires: gtest-devel
BuildRequires: gmock-devel
BuildRequires: kf5-kcodecs-devel
BuildRequires: libzip-devel
BuildRequires: xerces-c-devel
BuildRequires: boost-devel
BuildRequires: minizip1.2-devel
BuildRequires: rapidjson-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: fftw-libs
BuildRequires: dtkcommon-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qtsvg-devel
BuildRequires: zlib-devel
Patch0001: 0001-remove-common-collactor.patch
%description
Log Viewer is a useful tool for viewing system logs.
%prep
%autosetup -p1
# %setup -q
####sed -i 's|lrelease|lrelease-qt5|' translations/translate_generation.sh
# %patch0 -p1
%build
export PATH=%{_qt5_bindir}:$PATH
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
mkdir build && pushd build
%cmake -DCMAKE_BUILD_TYPE=Release ../ -DAPP_VERSION=%{version} -DVERSION=%{version}
%make_build
popd
%install
%make_install -C build INSTALL_ROOT="%buildroot"
%post
chcon -t bin_t /usr/share/dbus-1/system-services/com.deepin.logviewer.service
chcon -t bin_t /usr/lib/deepin-daemon/logViewerService
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_bindir}/logViewerAuth
%{_bindir}/logViewerTruncate
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/translations/*.qm
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/polkit-1/actions/*.policy
%{_datadir}/deepin-manual/manual-assets/application/deepin-log-viewer/log-viewer/*
/usr/lib/deepin-daemon/logViewerService
/usr/share/dbus-1/system-services/com.deepin.logviewer.service
/usr/share/dbus-1/system.d/com.deepin.logviewer.conf
%{_datadir}/%{name}/DocxTemplate/*.dfw
%changelog
* Thu Jul 21 2022 liuxingwei liuxingwei@uniontech.com - 5.8.22-2
- rebuild for an8.6
* Tue Dec 07 2021 mahailiang <mahailiang@uniontech.com> - 5.8.22-1
- update 5.8.22
- change minizip to minizip1.2
* Fri Nov 26 2021 mahailiang <mahailiang@uniontech.com> - 5.8.20-1
- update 5.8.20
* Thu Nov 11 2021 zhangtaikun <zhangtaikun@uniontech.com> - 5.8.17-1
- Update to 5.8.17
* Wed Oct 27 2021 mahailiang <mahailiang@uniontech.com> - 5.8.16-1
- init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。