## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %bcond check 1 # https://github.com/linuxdeepin/startdde %global goipath github.com/linuxdeepin/startdde Version: 6.0.15 %global tag 6.0.15 %gometa -L %global common_description %{expand: Startdde is used for launching DDE components and invoking user's custom applications which compliant with xdg autostart specification.} %global golicenses LICENSE %global godocs README.md Name: startdde Release: %autorelease Summary: Starter of deepin desktop environment License: GPL-3.0-or-later URL: %{gourl} Source: %{gosource} BuildRequires: systemd-rpm-macros BuildRequires: make BuildRequires: golang BuildRequires: jq BuildRequires: glib2-devel BuildRequires: pkgconfig(x11) BuildRequires: libXcursor-devel BuildRequires: libXfixes-devel BuildRequires: gtk3-devel BuildRequires: pulseaudio-libs-devel BuildRequires: libgnome-keyring-devel BuildRequires: alsa-lib-devel BuildRequires: pkgconfig(gudev-1.0) BuildRequires: libsecret-devel Provides: x-session-manager Requires: deepin-daemon Requires: procps Requires: deepin-desktop-schemas Requires: deepin-kwin # for lspci command Requires: pciutils Recommends: deepin-qt5integration %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 sed -i 's/sbin/bin/' Makefile sed -i 's|startdde fix-xauthority-perm||' Makefile %generate_buildrequires %go_generate_buildrequires %build %gobuild -o startdde for cmd in fix-xauthority-perm greeter-display-daemon; do %gobuild -o $cmd github.com/linuxdeepin/startdde/cmd/$cmd done %make_build %install %make_install %find_lang %{name} %post xsOptsFile=/etc/X11/Xsession.options update-alternatives --install /usr/bin/x-session-manager x-session-manager \ /usr/bin/startdde 90 || true if [ -f $xsOptsFile ];then sed -i '/^use-ssh-agent/d' $xsOptsFile if ! grep '^no-use-ssh-agent' $xsOptsFile >/dev/null; then echo no-use-ssh-agent >> $xsOptsFile fi fi %if %{with check} %check %gocheck %endif %files -f %{name}.lang %doc README.md %license LICENSE %{_bindir}/startdde %{_bindir}/deepin-fix-xauthority-perm %dir %{_datadir}/startdde %{_datadir}/startdde/filter.conf %{_datadir}/lightdm/lightdm.conf.d/60-deepin.conf %{_prefix}/lib/deepin-daemon/greeter-display-daemon %{_datadir}/glib-2.0/schemas/* %{_userunitdir}/dde-display-task-refresh-brightness.service %{_userunitdir}/dde-session-initialized.target.wants/dde-display-task-refresh-brightness.service %changelog ## START: Generated by rpmautospec * Tue Aug 13 2024 Felix Wang - 6.0.15-1 - 6.0.15 * Sat Jul 20 2024 Fedora Release Engineering - 5.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Feb 11 2024 Maxwell G - 5.10.1-3 - Rebuild for golang 1.22.0 * Sat Jan 27 2024 Fedora Release Engineering - 5.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Aug 19 2023 Robin Lee - 5.10.1-1 - New release 5.10.1 * Sat Jul 22 2023 Fedora Release Engineering - 5.9.32-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 5.9.32-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Aug 21 2022 Robin Lee - 5.9.32-1 - New release 5.9.32 * Sat Jul 23 2022 Fedora Release Engineering - 5.8.29-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 5.8.29-5 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 5.8.29-4 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Fri Feb 18 2022 Robin Lee - 5.8.29-3 - Fix go build with package-notes(RHBZ#2047029) * Sat Jan 22 2022 Fedora Release Engineering - 5.8.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 06 2021 Robin Lee - 5.8.29-1 - New release 5.8.29 * Fri Jul 23 2021 Fedora Release Engineering - 5.6.0.35.1-1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Mar 11 2021 Robin Lee - 5.6.0.35.1-1 - fix(session): 社区版不收集应用打开关闭和电脑开关机信息 (chenyunxiong) * Wed Jan 27 2021 Fedora Release Engineering - 5.6.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Sep 30 2020 Robin Lee - 5.6.0.10-1 - new upstream release: 5.6.0.10 * Sat Aug 01 2020 Fedora Release Engineering - 5.0.1-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 5.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 5.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 05 2019 Robin Lee - 5.0.1-1 - Release 5.0.1 * Sat Jul 27 2019 Fedora Release Engineering - 3.12.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 20 2019 Robin Lee - 3.12.1-3 - Add a patch to fix RHBZ#1711001 * Thu May 16 2019 Robin Lee - 3.12.1-2 - Fix fallback session script path (RHBZ#1706281) * Wed Feb 27 2019 Robin Lee - 3.12.1-1 - Update to 3.12.1 * Tue Feb 19 2019 mosquito - 3.11.0-1 - Update to 3.11.0 * Sun Feb 03 2019 Fedora Release Engineering - 3.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Dec 12 2018 mosquito - 3.6.0-1 - Update to 3.6.0 * Thu Nov 29 2018 mosquito - 3.4.0-1 - Update to 3.4.0 * Fri Nov 9 2018 mosquito - 3.3.0-1 - Update to 3.3.0 * Mon Aug 20 2018 mosquito - 3.1.33-1 - Update to 3.1.33 * Tue Jul 31 2018 Florian Weimer - 3.1.24-3 - Rebuild with fixed binutils * Sat Jul 14 2018 Fedora Release Engineering - 3.1.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 16 2018 mosquito - 3.1.24-1 - Update to 3.1.24 * Fri Feb 09 2018 Fedora Release Engineering - 3.1.23-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Dec 21 2017 mosquito - 3.1.23-1 - Update to 3.1.23 * Sat Dec 2 2017 mosquito - 3.1.22-1 - Update to 3.1.22 * Fri Oct 27 2017 mosquito - 3.1.17-1 - Update to 3.1.17 * Fri Oct 13 2017 mosquito - 3.1.16-1 - Update to 3.1.16 * Sat Aug 26 2017 mosquito - 3.1.15-1 - Update to 3.1.15 * Tue Aug 1 2017 mosquito - 3.1.14-1 - Update to 3.1.14 * Fri Jul 14 2017 mosquito - 3.1.13-1.git08de5b9 - Update to 3.1.13 * Fri May 19 2017 mosquito - 3.1.8-1.gita9130d0 - Update to 3.1.8 * Sun Feb 26 2017 mosquito - 3.1.2-1.gitd7c1216 - Update to 3.1.2 * Tue Jan 17 2017 mosquito - 3.0.14.1-1.gitd3ba123 - Update to 3.0.14.1 * Wed Dec 28 2016 Jaroslav Stepanek 3.0.13-2 - Updated GO dependencies - Fixed wrong system path for dde-readahead * Sun Dec 18 2016 Jaroslav Stepanek 3.0.13-1 - Update to package 3.0.13 * Sat Oct 01 2016 Jaroslav Stepanek 3.0.12-1 - Update to package 3.0.12 * Sat Oct 01 2016 Jaroslav Stepanek 3.0.11-1 - Initial package build ## END: Generated by rpmautospec