Package deepin-session-shell: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | %def_without clang %define repo dde-session-shell Name: deepin-session-shell Version: 6.0.18 Release: alt1 Summary: Deepin desktop-environment - Session shell module License: GPL-3.0+ Group: Graphical desktop/Other Url: https://github.com/linuxdeepin/dde-session-shell Source: %url/archive/%version/%repo-%version.tar.gz Patch: %name-%version-%release.patch Requires: chkpwd-pam BuildRequires(pre): rpm-build-ninja rpm-build-kf5 rpm-build-xdg deepin-gettext-tools # Automatically added by buildreq on Wed Oct 25 2023 # optimized out: alt-os-release bash5 bashrc cmake-modules gcc-c++ glibc-kernheaders-generic glibc-kernheaders-x86 libX11-devel libXcursor-devel libXext-devel libXfixes-devel libXi-devel libXrandr-devel libXrender-devel libXtst-devel libcap-ng libdouble-conversion3 libdtkcore-devel libdtkgui-devel libglvnd-devel libgpg-error libgsettings-qt liblightdm-gobject liblightdm-qt5 libp11-kit libqt5-concurrent libqt5-core libqt5-dbus libqt5-gui libqt5-network libqt5-printsupport libqt5-svg libqt5-test libqt5-widgets libqt5-x11extras libqt5-xml libsasl2-3 libssl-devel libstartup-notification libstdc++-devel libxcb-devel libxcbutil-icccm pkg-config python3 python3-base qt5-base-common qt5-base-devel sh5 xorg-proto-devel BuildRequires: cmake dtkcore gsettings-qt-devel libdeepin-pw-check-devel libdtkwidget-devel libgtest-devel libpam-devel libxcbutil-icccm-devel lightdm-devel qt5-svg-devel qt5-tools qt5-x11extras-devel %if_with clang BuildRequires: clang-devel lld-devel %else BuildRequires: gcc-c++ %endif %description %summary. %package devel Summary: %summary Group: Development/Other %description devel %summary. %prep %setup -n %repo-%version %patch -p1 # sed -i '/kwin_wayland/s|/usr/bin/||' \ # files/wayland/kwin_wayland_helper-wayland \ # files/wayland/deepin-greeter-wayland sed -i 's|/usr/lib/x86_64-linux-gnu/|%_libdir/|' \ files/wayland/lightdm-deepin-greeter-wayland \ files/wayland/deepin-greeter-wayland sed -i '/QT_QPA_PLATFORM_PLUGIN_PATH/s|/usr/plugins/platforms|%_libdir/qt5/plugins/platforms|' \ files/wayland/lightdm-deepin-greeter-wayland sed -i 's|/usr/lib/|%_libdir/|' \ src/global_util/modules_loader.cpp \ src/session-widgets/auth_module.h %build %if_with clang export CC="clang" export CXX="clang++" export LDFLAGS="-fuse-ld=lld $LDFLAGS" %endif export PATH=%_qt5_bindir:$PATH %cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_SYSCONFDIR=%_sysconfdir \ # cmake --build "%_cmake__builddir" -j%__nprocs %install %cmake_install chmod +x %buildroot%_bindir/deepin-greeter %files %config(noreplace) %_sysconfdir/deepin/greeters.d/00-xrandr %config(noreplace) %_sysconfdir/deepin/greeters.d/lightdm-deepin-greeter %config(noreplace) %_sysconfdir/deepin/greeters.d/10-cursor-theme %config(noreplace) %_sysconfdir/pam.d/dde-lock %_bindir/deepin-greeter %_bindir/lightdm-deepin-greeter %_bindir/dde-lock %_datadir/%repo/ %_desktopdir/dde-lock.desktop %_datadir/dbus-1/services/*.service %_datadir/xgreeters/lightdm-deepin-greeter.desktop %_datadir/glib-2.0/schemas/com.deepin.dde.session-shell.gschema.xml %dir %_datadir/deepin-authentication/ %dir %_datadir/deepin-authentication/privileges/ %_datadir/deepin-authentication/privileges/lightdm-deepin-greeter.conf %dir %_libdir/dde-session-shell/ %dir %_libdir/dde-session-shell/modules/ %_libdir/dde-session-shell/modules/libvirtualkeyboard.so %dir %_datadir/dsg/ %dir %_datadir/dsg/configs/ %dir %_datadir/dsg/configs/org.deepin.dde.lightdm-deepin-greeter/ %_datadir/dsg/configs/org.deepin.dde.lightdm-deepin-greeter/org.deepin.dde.lightdm-deepin-greeter.json %dir %_datadir/dsg/configs/org.deepin.dde.lock/ %_datadir/dsg/configs/org.deepin.dde.lock/org.deepin.dde.lock.json %_sysconfdir/lightdm/deepin/qt-theme.ini %files devel %dir %_includedir/dde-session-shell/ %_includedir/dde-session-shell/*.h %dir %_libdir/cmake/DdeSessionShell/ %_libdir/cmake/DdeSessionShell/DdeSessionShellConfig.cmake %changelog * Mon Apr 08 2024 Leontiy Volodin <lvol@altlinux.org> 6.0.18-alt1 - New version 6.0.18. * Thu Feb 08 2024 Leontiy Volodin <lvol@altlinux.org> 6.0.17-alt1 - New version 6.0.17. * Fri Dec 29 2023 Leontiy Volodin <lvol@altlinux.org> 6.0.14-alt2 - Updated fixes for session unlock. * Tue Dec 12 2023 Leontiy Volodin <lvol@altlinux.org> 6.0.14-alt1 - New version 6.0.14. - Cleanup spec, patches and BRs. - Fixed session unlock. * Mon Jan 23 2023 Leontiy Volodin <lvol@altlinux.org> 5.5.68-alt3 - Fixed build with dtkwidget 5.6.4. - Updated deepin-screenlocker. * Thu Jan 19 2023 Leontiy Volodin <lvol@altlinux.org> 5.5.68-alt2 - Fixed build with dtkcore 5.6.4. * Thu Aug 25 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.68-alt1 - New version (5.5.68). * Wed Jul 14 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.42-alt1 - New version (5.4.42). * Thu Jul 08 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.13-alt2 - Fixed build with libgmock.so.1.11.0. * Mon Jun 28 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.13-alt1 - New version (5.4.13). * Thu Jun 17 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.5-alt4 - Fixed lockscreen. * Fri Apr 09 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.5-alt3 - Fixed build with dtk 5.4.13. * Thu Mar 11 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.5-alt2 - Fixed backgrounds. * Tue Mar 09 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.5-alt1 - New version (5.4.5) with rpmgs script. * Tue Jan 12 2021 Leontiy Volodin <lvol@altlinux.org> 5.3.0.45-alt1 - New version (5.3.0.45) with rpmgs script. * Fri Dec 25 2020 Leontiy Volodin <lvol@altlinux.org> 5.3.0.41-alt2 - Fixed background. - Fixed qdbus generations. * Fri Dec 04 2020 Leontiy Volodin <lvol@altlinux.org> 5.3.0.41-alt1 - New version (5.3.0.41) with rpmgs script. * Wed Nov 18 2020 Leontiy Volodin <lvol@altlinux.org> 5.3.0.24-alt1 - New version (5.3.0.24) with rpmgs script. * Wed Oct 07 2020 Leontiy Volodin <lvol@altlinux.org> 5.3.0.22-alt1 - New version (5.3.0.22) with rpmgs script. * Mon Aug 17 2020 Leontiy Volodin <lvol@altlinux.org> 5.3.0.5-alt1 - Initial build for ALT Sisyphus. |