代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/deepin-desktop-base 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global debug_package %{nil}
Name: deepin-desktop-base
Version: 2022.01.27
Release: 5
Summary: Base files for Deepin Desktop
License: GPLv3
URL: https://github.com/linuxdeepin/deepin-desktop-base
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-compliance-modification-of-regional-and-textual-titl.patch
Patch1: 0001-fix-logo.patch
Patch2: 0001-add-loongarch64-support-for-deepin-desktop-base.patch
%ifarch riscv64
Patch3: 1000-add-riscv64-support.patch
%endif
%description
%{summary}.
%package -n deepin-desktop-server
Summary: Base files for Deepin Desktop Server
Provides: deepin-desktop-base
Obsoletes: deepin-desktop-base < %{version}
Recommends: deepin-wallpapers
Recommends: deepin-screensaver
%description -n deepin-desktop-server
%{summary}.
%prep
%autosetup -p1
%build
# Remove Deepin lsb-release
sed -i '/lsb-release/d' Makefile
# update usr/lib/ path
sed -i 's|/usr/lib|%{_datadir}|' Makefile
# 社区版
sed -i 's|Type\[zh_CN\]=.*|Type\[zh_CN\]=社区版|' files/{desktop-version-arm-server.in,desktop-version-server.in,desktop-version.in}
sed -i 's|Edition=.*|Edition=Y2020E0001|' files/{desktop-version-arm-server.in,desktop-version-server.in,desktop-version.in}
sed -i 's|Copyright=.*|Copyright=Y2020CR001|' files/{desktop-version-arm-server.in,desktop-version-server.in,desktop-version.in}
%make_build
%install
%make_install
## install distribution.info
install -d -p %{buildroot}/%{_datadir}/deepin/distribution/
install -Dm644 distribution.info %{buildroot}/%{_datadir}/deepin/distribution.info
install -Dm644 distribution/*.svg %{buildroot}/%{_datadir}/deepin/distribution/
install -Dm644 files/logind.conf %{buildroot}/%{_sysconfdir}/systemd/logind.conf.d/logind.conf
install -Dm644 files/systemd.conf %{buildroot}/%{_sysconfdir}/systemd/system.conf.d/systemd.conf
install -Dm644 files/dde-session-ui.conf %{buildroot}/etc/deepin/dde-session-ui.conf
install -Dm644 files/desktop-version-server %{buildroot}%{_datadir}/deepin/desktop-version-server
ln -sfv %{_datadir}/deepin/desktop-version-server %{buildroot}%{_sysconfdir}/deepin-version
#install -Dm644 files/os-license %{buildroot}/%{_sysconfdir}/.uos/os-license
%files -n deepin-desktop-server
%{_sysconfdir}/deepin-version
%{_datadir}/i18n/*.json
%{_datadir}/deepin/distribution.info
%{_datadir}/deepin/distribution/
%{_datadir}/deepin/desktop-version-server
%{_sysconfdir}/appstore.json
%{_datadir}/plymouth/deepin-logo.png
%{_datadir}/deepin/uos_logo.svg
%{_sysconfdir}/systemd/system.conf.d/systemd.conf
%{_sysconfdir}/systemd/logind.conf.d/logind.conf
%{_datadir}/python-apt/templates/Deepin.info
%{_datadir}/python-apt/templates/Deepin.mirrors
%{_datadir}/deepin/dde-desktop-watermask.json
%{_sysconfdir}/deepin/dde-session-ui.conf
%exclude %{_sysconfdir}/systemd/logind.conf.d/deepin-base.conf
%exclude %{_sysconfdir}/systemd/system.conf.d/deepin-base.conf
%exclude %{_sysconfdir}/systemd/user.conf.d/deepin-base.conf
%exclude %{_datadir}/deepin/desktop-version
# conflicts with file from package license-config
%exclude %{_localstatedir}/uos/os-license
%exclude %{_sysconfdir}/os-version
%changelog
* Fri Aug 18 2023 misaka00251 <liuxin@iscas.ac.cn> - 2022.01.27-5
- Add riscv64 support
* Fri Jun 9 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 2022.01.27-4
- fix build error for loongarch64
* Fri Jun 09 2023 lee <liweiganga@uniontech.com> - 2022.01.27-3
- fix logo
* Sat May 06 2023 liweiganga <liweiganga@uniontech.com> - 2022.01.27-2
- feat: compliance modification of regional and textual titles
* Tue Mar 28 2023 liweiganga <liweiganga@uniontech.com> - 2022.01.27-1
- update: update to 2022.01.27
* Fri Aug 05 2022 liweiganga <liweiganga@uniontech.com> - 2021.05.24-3
- fix version type
* Tue Aug 02 2022 liweiganga <liweiganga@uniontech.com> - 2021.05.24-2
- Modified to Community Edition
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 2021.05.24-1
- update to 2021.05.24
* Thu Aug 26 2021 konglidong <konglidong@uniontech.com - 2020.09.11-2
- Fix versions
- Fix logos error
* Tue Jul 20 2021 weidong <weidong@uniontech.com> - 2020.09.11-1
- Update 2020.09.11
* Sat Jun 05 2021 weidong <weidong@uniontech.com> - 2020.03.23-4
- Fix installation dependency errors
* Tue Feb 23 2021 weidong <weidong@uniontech.com> - 2020.03.23-3
- Update deepin-version
* Sat Dec 05 2020 weidong <weidong@uniontech.com> - 2020.03.23-2
- fix logo
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 2020.03.23-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。