1 Star 0 Fork 2

xingwei-liu/dde-dock

forked from src-anolis-dde/dde-dock 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dde-dock.spec 3.45 KB
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-07-22 11:10 . rebuild for an8.6
%global sname deepin-dock
Name: dde-dock
Version: 5.4.69
Release: 2%{?dist}
Summary: Deepin desktop-environment - Dock module
License: GPLv3
URL: http://shuttle.corp.deepin.com/cache/repos/eagle/release-candidate/RERFNS4wLjAuNjU3NQ/pool/main/d/dde-dock/
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(dbusmenu-qt5)
BuildRequires: pkgconfig(dde-network-utils)
BuildRequires: dtkwidget-devel >= 5.1
BuildRequires: dtkcore-devel >= 5.1
BuildRequires: pkgconfig(dframeworkdbus) >= 2.0
BuildRequires: pkgconfig(gsettings-qt)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-image)
BuildRequires: qt5-linguist
BuildRequires: gtest-devel
BuildRequires: gmock-devel
BuildRequires: dtkcommon-devel
BuildRequires: qt5-qtbase-private-devel
Requires: dbusmenu-qt5
Requires: dde-network-utils
Requires: dde-qt-dbus-factory
Requires: xcb-util-wm
Requires: xcb-util-image
Requires: libxcb
%description
Deepin desktop-environment - Dock module.
%package devel
Summary: Development package for %{sname}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Header files and libraries for %{sname}.
%package onboard-plugin
Summary: deepin desktop-environment - dock plugin
Requires: %{name}%{?_isa} = %{version}-%{release}
%description onboard-plugin
deepin desktop-environment - dock plugin.
%prep
%setup -q -n %{name}-%{version}
sed -i '/TARGETS/s|lib|%{_lib}|' plugins/*/CMakeLists.txt \
plugins/plugin-guide/plugins-developer-guide.md
#sed -i -E '30,39d' CMakeLists.txt
sed -i 's|/lib|/%{_lib}|' frame/controller/dockpluginscontroller.cpp \
frame/window/mainpanelcontrol.cpp \
plugins/tray/system-trays/systemtrayscontroller.cpp
sed -i 's|/lib|/libexec|g' plugins/show-desktop/showdesktopplugin.cpp
sed -i 's|/usr/lib/dde-dock/plugins|%{_libdir}/dde-dock/plugins|' plugins/plugin-guide/plugins-developer-guide.md
sed -i 's|local/lib/dde-dock/plugins|local/%{_lib}/dde-dock/plugins|' plugins/plugin-guide/plugins-developer-guide.md
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
%build
export PATH=%{_qt5_bindir}:$PATH
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCHITECTURE=%{_arch} .
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%ldconfig_scriptlets
%files
%license LICENSE
%{_bindir}/%{name}
%{_libdir}/%{name}/
%{_datarootdir}/glib-2.0/schemas/com.deepin.dde.dock.module.gschema.xml
%{_datarootdir}/polkit-1/actions/com.deepin.dde.dock.overlay.policy
/etc/dde-dock/indicator/keybord_layout.json
%{_datadir}/dde-dock/translations/*.qm
%files devel
%{_includedir}/%{name}/
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/cmake/DdeDock/DdeDockConfig.cmake
%files onboard-plugin
%{_libdir}/dde-dock/plugins/libonboard.so
%changelog
* Thu Jul 21 2022 liuxingwei liuxingwei@uniontech.com - 5.4.69-2
- rebuild for an8.6
* Thu Nov 11 2021 huzhengming <huzhengming@uniontech.com> - 5.4.69-1
- Update to 5.4.69
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xingwei-liu/dde-dock.git
git@gitee.com:xingwei-liu/dde-dock.git
xingwei-liu
dde-dock
dde-dock
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385