加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dde-introduction.spec 2.09 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2022-02-08 11:03 . fix build error
Name: dde-introduction
Version: 5.6.0.7
Release: 2
Summary: Introduction for UOS
License: GPLv3+
URL: https://github.com/linuxdeepin/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: modify-QPainterPath-error.patch
BuildRequires: gcc-c++
BuildRequires: qt5-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: dtkcore-devel dtkwidget-devel
BuildRequires: pkgconfig(dframeworkdbus)
#BuildRequires: pkgconfig(libdmr)
BuildRequires: pkgconfig(gsettings-qt)
#BuildRequires: ffmpegthumbnailer-devel
BuildRequires: deepin-desktop-server
Requires: deepin-desktop-server
%description
When you log into the system for the first time, a welcome program will automatically start.
Watch the introduction video to get new features, customize your desktop, enable the window
effect and know more about UnionTech OS.
%prep
%autosetup -p1
# disable dmr lib
sed -i 's/contains(TARGET_ARCH, x86_64)/contains(TARGET_ARCH, mips)/' introduction.pro
%build
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
export PATH=%{_qt5_bindir}:$PATH
mkdir build && pushd build
%qmake_qt5 ../ VERSION=%{version} DEFINES+="VERSION=%{version}"
%make_build
popd
%install
%make_install -C build INSTALL_ROOT="%buildroot"
# bugfix#50424
pushd %{buildroot}%{_datadir}/dde-introduction
ln -svf server.mp4 demo.mp4
popd
%files
%doc CHANGELOG.md
%{_bindir}/%{name}
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/%{name}/translations/*.qm
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%changelog
* Tue Feb 08 2022 liweigang <liweiganga@uniontech.com> - 5.6.0.7-2
- fix build error
* Fri Oct 23 2020 panchenbo <panchenbo@uniontech.com> - 5.6.0.7-1
- update to 5.6.0.7
* Thu Oct 15 2020 weidong <weidong@openeuler.org> - 5.5.6.1-4
- Fix compilation errors
* Thu Oct 15 2020 weidong <weidong@openeuler.org> - 5.5.6.1-3
- Fix compilation errors
* Thu Oct 15 2020 weidong <weidong@openeuler.org> - 5.5.6.1-2
- add buildrequires
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.5.6.1-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化