代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-dde/dtkcore 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global anolis_release .0.1
Name: dtkcore
Version: 5.5.19
Release: 2%{?anolis_release}%{?dist}
Summary: Deepin tool kit core modules
License: LGPLv3+
URL: https://github.com/linuxdeepin/dtkcore
%if 0%{?fedora}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
%else
Source0: %{name}-%{version}.tar.gz
%endif
Patch1000: 0001-fix-undefined-reference-error.patch
Patch1001: 0001-chore-warning-only-in-debug-mode.patch
BuildRequires: gcc-c++
BuildRequires: annobin
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(gsettings-qt)
BuildRequires: gtest-devel
BuildRequires: qt5-qttools-devel
BuildRequires: dtkcommon-devel
BuildRequires: qt5-qtbase-private-devel
# since f30
Obsoletes: deepin-tool-kit <= 0.3.3
Obsoletes: deepin-tool-kit-devel <= 0.3.3
Obsoletes: dtksettings <= 0.1.7
Obsoletes: dtksettings-devel <= 0.1.7
%description
Deepin tool kit core modules.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: dtkcommon-devel
Requires: qt5-qtbase-devel%{?_isa}
%description devel
Header files and libraries for %{name}.
%prep
%autosetup -p1
%build
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
export PATH=%{_qt5_bindir}:$PATH
%qmake_qt5 PREFIX=%{_prefix} \
DTK_VERSION=%{version} \
LIB_INSTALL_DIR=%{_libdir} \
BIN_INSTALL_DIR=%{_libexecdir}/dtk5 \
TOOL_INSTALL_DIR=%{_libexecdir}/dtk5
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%files
%doc README.md
%license LICENSE
%{_libdir}/lib%{name}.so*
%dir %{_libexecdir}/dtk5/
%{_libexecdir}/dtk5/dtk-settings
%{_libexecdir}/dtk5/dtk-license.py
%{_libexecdir}/dtk5/dtk-translate.py
%{_libexecdir}/dtk5/deepin-os-release
%{_bindir}/*
#%{_datadir}/glib-2.0/schemas/*
%files devel
%doc doc/Specification.md
%{_includedir}/libdtk-*/
#%{_qt5_archdatadir}/mkspecs/features/*.prf
%{_qt5_archdatadir}/mkspecs/modules/*.pri
#%{_libdir}/cmake/Dtk/
%{_libdir}/cmake/DtkCore/
%{_libdir}/cmake/DtkCMake/
%{_libdir}/cmake/DtkTools/
%{_libdir}/pkgconfig/dtkcore.pc
%{_libdir}/lib%{name}.so
%changelog
* Mon Sep 19 2022 liuxingwei <liuxingwei@uniontech.com> - 5.5.19-2.0.1
- fix : chore warning only in debug mode
* Thu Jul 21 2022 liuxingwei <liuxingwei@uniontech.com> - 5.5.19-2
- rebuild for an8.6
* Thu Nov 25 2021 Zhang taikun <zhangtaikun@uniontech.com> - 5.5.19-1
- Update to 5.5.19
- Add Requires dtkcommon-devel
* Mon Oct 18 2021 Zhang taikun <zhangtaikun@uniontech.com> - 5.4.17-1
- Update to 5.4.17
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。