1 Star 0 Fork 3

xingwei-liu/dde-control-center

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dde-control-center.spec 3.49 KB
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-07-22 11:09 . rebuild for an8.6
Name: dde-control-center
Version: 5.4.109
Release: 2%{?dist}
Summary: New control center for Linux Deepin
License: GPLv3
URL: https://github.com/linuxdeepin/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch1000: 0001-Add-incfile-QDBusMetaType-in-connectioneditpage.patch
Patch1001: 0001-modify-uos-logo-in-anolis.patch
Patch1002: 0001-fix-bug-app-crash-when-delete-account.patch
Patch1003: 0001-add-password-reminder.patch
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
BuildRequires: dde-dock-devel
BuildRequires: pkgconfig(dde-network-utils)
BuildRequires: dtkwidget-devel
BuildRequires: dtkcommon-devel
BuildRequires: dtkgui-devel dtkcore-devel
BuildRequires: dde-qt-dbus-factory-devel
BuildRequires: pkgconfig(gsettings-qt)
BuildRequires: pkgconfig(geoip)
BuildRequires: pkgconfig(libnm)
BuildRequires: libpwquality-devel
BuildRequires: qt5-devel
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: kf5-networkmanager-qt-devel
BuildRequires: udisks2-qt5-devel
BuildRequires: qt5-linguist
BuildRequires: cmake
BuildRequires: libXext-devel
BuildRequires: gtest-devel
BuildRequires: polkit-qt5-1-devel
BuildRequires: deepin-pw-check
BuildRequires: deepin-pw-check-devel
BuildRequires: qt5-qtbase-private-devel
Requires: dde-account-faces
Requires: dde-api
Requires: dde-daemon
Requires: dde-qt5integration
Requires: dde-network-utils
Requires: startdde
Requires: dde-server-industry-config
Requires: deepin-pw-check
Requires: dde-qt5xcb-plugin
%description
New control center for Linux Deepin.
%package devel
Summary: %{summary}
%description devel
%{summary}.
%prep
%setup -q -n %{name}-%{version}
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
sed -i -E '/add_compile_definitions/d' CMakeLists.txt
%patch1000 -p1
%patch1001 -p1
%patch1003 -p1
%patch1002 -p1
%build
%cmake . -DDCC_DISABLE_GRUB=YES \
-DDISABLE_SYS_UPDATE=YES
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
# place holder plugins dir
mkdir -p %{buildroot}%{_libdir}/%{name}/plugins
# https://github.com/linuxdeepin/dde-control-center/issues/115
# And we disabled SYS_UPDATE, so reboot-reminder-dialog is useless.
#rm %{buildroot}%{_bindir}/reboot-reminder-dialog
mkdir -p %{buildroot}/usr/lib64/cmake/DdeControlCenter
mv %{buildroot}/cmake/DdeControlCenter/DdeControlCenterConfig.cmake %{buildroot}/usr/lib64/cmake/DdeControlCenter
mv %{buildroot}/usr/lib/libdccwidgets.so %{buildroot}%{_libdir}/
install -Dm644 com.deepin.controlcenter.addomain.policy %{buildroot}%{_datadir}/polkit-1/actions/
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
%ldconfig_scriptlets
%files
%doc README.md
%license LICENSE
%{_sysconfdir}/
%{_bindir}/abrecovery
%{_bindir}/dde-control-center
%{_bindir}/dde-control-center-wapper
%{_datadir}/
%{_libdir}/libdccwidgets.so
/etc/xdg/autostart/deepin-ab-recovery.desktop
%files devel
%{_includedir}/dde-control-center
%{_libdir}/cmake/DdeControlCenter/
%changelog
* Thu Jul 21 2022 liuxingwei liuxingwei@uniontech.com - 5.4.109-2
- rebuild for an8.6
* Wed Dec 29 2021 liuxingwei <liuxingwei@uniontech.com> - 5.4.109-1.01
- remove uos logo in anolis
- fix bug :app crash when delete account
- add passwd reminder
- add patch 0001-fix-bug-app-crash-when-delete-account.patch 0001-modify-uos-logo-in-anolis.patch 0001-add-password-reminder.patch
* Thu Nov 11 2021 huzhengming <huzhengming@uniontech.com> - 5.4.109-1
- Update to 5.4.109
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xingwei-liu/dde-control-center.git
git@gitee.com:xingwei-liu/dde-control-center.git
xingwei-liu
dde-control-center
dde-control-center
a8

搜索帮助