1 Star 0 Fork 3

xingwei-liu/deepin-log-viewer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deepin-log-viewer.spec 2.70 KB
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-07-22 14:02 . rebuild for an8.6
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xingwei-liu/deepin-log-viewer.git
git@gitee.com:xingwei-liu/deepin-log-viewer.git
xingwei-liu
deepin-log-viewer
deepin-log-viewer
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385