1 Star 0 Fork 1

xingwei-liu/dtkcore

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

搜索帮助

0d507c66 1850385 C8b1a773 1850385