dde-introduction/dde-introduction.spec

71 lines
1.9 KiB
RPMSpec
Raw Normal View History

2020-07-14 08:40:38 +08:00
Name: dde-introduction
2021-07-08 13:38:36 +08:00
Version: 5.6.0.7
Release: 1
Summary: Introduction for UOS
2020-07-14 08:40:38 +08:00
License: GPLv3+
2021-07-08 13:38:36 +08:00
URL: https://github.com/linuxdeepin/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: qt5-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
2020-07-14 08:40:38 +08:00
%description
2021-07-08 13:38:36 +08:00
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.
2020-07-14 08:40:38 +08:00
%prep
%autosetup
2021-07-08 13:38:36 +08:00
# disable dmr lib
sed -i 's/contains(TARGET_ARCH, x86_64)/contains(TARGET_ARCH, mips)/' introduction.pro
2020-07-14 08:40:38 +08:00
%build
2021-07-08 13:38:36 +08:00
# 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
2020-07-14 08:40:38 +08:00
%install
2021-07-08 13:38:36 +08:00
%make_install -C build INSTALL_ROOT="%buildroot"
# bugfix#50424
pushd %{buildroot}%{_datadir}/dde-introduction
ln -svf server.mp4 demo.mp4
2020-07-14 08:40:38 +08:00
popd
%files
2021-07-08 13:38:36 +08:00
%doc CHANGELOG.md
%{_bindir}/%{name}
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/%{name}/translations/*.qm
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
2020-07-14 08:40:38 +08:00
%changelog
2021-07-08 13:38:36 +08:00
* Fri Oct 23 2020 panchenbo <panchenbo@uniontech.com> - 5.6.0.7-1
- update to 5.6.0.7
2020-10-15 18:39:16 +08:00
* Thu Oct 15 2020 weidong <weidong@openeuler.org> - 5.5.6.1-4
- Fix compilation errors
2020-10-15 18:23:32 +08:00
* Thu Oct 15 2020 weidong <weidong@openeuler.org> - 5.5.6.1-3
- Fix compilation errors
2020-10-15 17:28:42 +08:00
* Thu Oct 15 2020 weidong <weidong@openeuler.org> - 5.5.6.1-2
- add buildrequires
2020-07-30 15:35:45 +08:00
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.5.6.1-1
- Package init