%global repo dde-launchpad Name: deepin-launchpad Version: 1.0.1 Release: %autorelease Summary: The "launcher" or "start menu" component for DDE License: GPL-3.0-or-later AND CC0-1.0 URL: https://github.com/linuxdeepin/dde-launchpad Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Concurrent) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6QuickControls2) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(Qt6WaylandClient) BuildRequires: qt6-qtbase-private-devel %{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}} BuildRequires: cmake(Dtk6Core) BuildRequires: cmake(Dtk6Gui) BuildRequires: cmake(AppStreamQt) BuildRequires: cmake(DDEShell) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: wayland-devel BuildRequires: libappstream-glib %description The "launcher" or "start menu" component for DDE. This component replaces dde-launcher. %prep %autosetup -p1 -n %{repo}-%{version} %build %cmake -GNinja %cmake_build %install %cmake_install %find_lang dde-launchpad --with-qt rm %{buildroot}%{_datadir}/dde-launchpad/translations/dde-launchpad.qm %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml %files -f dde-launchpad.lang %doc README.md %license LICENSE %{_bindir}/dde-launchpad %{_userunitdir}/org.deepin.dde.Launcher1.service %{_libdir}/dde-shell/org.deepin.ds.launchpad.so %{_datadir}/dbus-1/services/org.deepin.dde.Launcher1.service %dir %{_datadir}/dde-shell/org.deepin.ds.launchpad %dir %{_datadir}/dde-shell/org.deepin.ds.launchpad/icons %{_datadir}/dde-shell/org.deepin.ds.launchpad/icons/*/*.dci %{_datadir}/dde-shell/org.deepin.ds.launchpad/main.qml %{_datadir}/dde-shell/org.deepin.ds.launchpad/metadata.json %{_datadir}/dsg/configs/dde-launchpad/org.deepin.dde.launchpad.appsmodel.json %{_datadir}/dsg/configs/org.deepin.dde.shell/org.deepin.ds.launchpad.json %{_metainfodir}/org.deepin.dde.shell.launchpad.appdata.xml %changelog %autochangelog