Package deepin-control-center: 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 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | %define sover 6 %def_disable clang %define _cmake__builddir BUILD %define repo dde-control-center Name: deepin-control-center Version: 6.0.44 Release: alt1 Summary: New control center for Linux Deepin License: GPL-3.0-or-later and MIT Group: Graphical desktop/Other Url: https://github.com/linuxdeepin/dde-control-center Source: %url/archive/%version/%repo-%version.tar.gz # Requires: deepin-account-faces deepin-api deepin-daemon deepin-qt5integration deepin-network-utils GeoIP-GeoLite-data GeoIP-GeoLite-data-extra gtk-murrine-engine proxychains-ng redshift startdde # Requires: libdeepin-pw-check BuildRequires(pre): rpm-build-ninja %if_enabled clang BuildRequires: clang-devel %else BuildRequires: gcc-c++ %endif # Automatically added by buildreq on Mon Oct 23 2023 # optimized out: bash5 bashrc cmake-modules gcc-c++ glibc-kernheaders-generic glibc-kernheaders-x86 libcrypt-devel libdouble-conversion3 libdtkcore-devel libdtkgui-devel libglvnd-devel libgpg-error libgsettings-qt libp11-kit libpolkit-qt5-agent libpolkit-qt5-core libpolkit-qt5-gui libqt5-concurrent libqt5-core libqt5-dbus libqt5-gui libqt5-help libqt5-multimedia libqt5-network libqt5-printsupport libqt5-sql libqt5-svg libqt5-test libqt5-widgets libqt5-x11extras libqt5-xml libsasl2-3 libssl-devel libstartup-notification libstdc++-devel perl perl-Config-Tiny perl-Encode perl-XML-LibXML perl-parent pkg-config python3 python3-base qt5-base-common qt5-base-devel qt5-tools sh5 BuildRequires: cmake deepin-gettext-tools doxygen libdeepin-pw-check-devel dtk6-common-devel libdtkwidget-devel libpolkitqt5-qt5-devel qt5-multimedia-devel qt5-svg-devel qt5-wayland-devel libgtest-devel gsettings-qt-devel %description New control center for Linux Deepin. %package -n libdcc-interface%sover Summary: Library for %name Group: System/Libraries %description -n libdcc-interface%sover This package provides library for %name. %package -n libdcc-widgets%sover Summary: Library for %name Group: System/Libraries %description -n libdcc-widgets%sover This package provides library for %name. %package devel Summary: %summary Group: Development/Other %description devel %summary. %prep %setup -n %repo-%version %build export PATH=%_qt5_bindir:$PATH export CPLUS_INCLUDE_PATH=%_qt5_headerdir/QtXkbCommonSupport/%{_qt5_version}:$CPLUS_INCLUDE_PATH export SYSTYPE=Desktop %if_enabled clang export CC="clang" export CXX="clang++" export AR="llvm-ar" export NM="llvm-nm" export READELF="llvm-readelf" %endif %cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_LIBDIR=%_libdir \ -DCVERSION=%version \ -DDISABLE_AUTHENTICATION=ON \ -DDISABLE_UPDATE=ON \ -DDISABLE_SOUND_ADVANCED=ON \ %nil cmake --build "%_cmake__builddir" -j%__nprocs %install %cmake_install %find_lang --with-qt %repo %files -f %repo.lang %doc LICENSE README.md %_bindir/%repo %_desktopdir/%repo.desktop %_datadir/metainfo/org.deepin.dde.controlcenter.metainfo.xml %_datadir/dbus-1/services/org.deepin.dde.ControlCenter1.service %dir %_libdir/%repo/ %dir %_libdir/%repo/modules/ %_libdir/%repo/modules/libdcc*.so %dir %_datadir/dsg/ %dir %_datadir/dsg/configs/ %dir %_datadir/dsg/configs/org.deepin.dde.control-center/ %_datadir/dsg/configs/org.deepin.dde.control-center/org.deepin.dde.control-center*.json %_datadir/dsg/configs/org.deepin.region-format.json %_datadir/qt5/doc/dde-control-center.qch %dir %_datadir/%repo/ %_datadir/%repo/developdocument.html # package translations outside %%find_lang %dir %_datadir/%repo/translations/ %_datadir/%repo/translations/*_es_419.qm %_datadir/%repo/translations/*_ky@Arab.qm %files -n libdcc-interface%sover %_libdir/libdcc-interface.so.%{sover}* %files -n libdcc-widgets%sover %_libdir/libdcc-widgets.so.%{sover}* %files devel %dir %_libdir/cmake/DdeControlCenter/ %_libdir/cmake/DdeControlCenter/DdeControlCenter*.cmake %_includedir/%repo/ %_libdir/libdcc-interface.so %_libdir/libdcc-widgets.so %changelog * Thu Feb 01 2024 Leontiy Volodin <lvol@altlinux.org> 6.0.44-alt1 - New version 6.0.44. * Thu Jan 25 2024 Leontiy Volodin <lvol@altlinux.org> 6.0.43-alt1 - New version 6.0.43. - Fixed license tag. * Sat Dec 02 2023 Leontiy Volodin <lvol@altlinux.org> 6.0.35-alt1 - New version 6.0.35. - Cleanup spec and BRs. - Removed binding to KF5. * Thu Nov 02 2023 Ivan A. Melnikov <iv@altlinux.org> 5.6.3-alt1.1 - NMU: Cleanup usage of %%K5* macros (fixes FTBFS). * Wed Jan 11 2023 Leontiy Volodin <lvol@altlinux.org> 5.6.3-alt1 - New version (5.6.3). - Cleanup spec. * Wed Dec 14 2022 Leontiy Volodin <lvol@altlinux.org> 5.6.1-alt1 - New version (5.6.1). * Mon Oct 17 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.157-alt1 - New version (5.5.157). * Tue Sep 13 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.149-alt1 - New version (5.5.149). * Mon Aug 29 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.144-alt1 - New version (5.5.144). * Fri Jun 03 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.34-alt2 - Fixed build with new dtkcommon. * Wed Jun 01 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.34-alt1 - New version (5.5.34). * Fri Apr 22 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.16.2-alt1 - New version (5.5.16.2). - Built with deepin-pw-check again (without cracklib). * Wed Aug 25 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.70-alt1 - New version (5.4.70). - Remove deepin-pw-check from BuildRequires. * Thu Jul 08 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.47-alt2.git1362dfe - Fixed build with libgmock.so.1.11.0. * Wed Jun 30 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.47-alt1.git1362dfe - Fixed version tag. * Fri Jun 25 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.23-alt3.git1362dfe - Temporarily hidden the widget to set the lockscreen timeout. * Thu Jun 24 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.23-alt2.git1362dfe - Build git snapshot. - Disabled General Settings. * Tue May 18 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.23-alt1 - New version (5.4.23) with rpmgs script. * Fri Apr 09 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.17-alt2 - Fixed build with dtk 5.4.13. * Tue Apr 06 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.17-alt1 - New version (5.4.17) with rpmgs script (thanks archlinux for the patch). * Wed Mar 24 2021 Leontiy Volodin <lvol@altlinux.org> 5.4.9-alt1 - New version (5.4.9) with rpmgs script. * Tue Jan 12 2021 Leontiy Volodin <lvol@altlinux.org> 5.3.0.82-alt1 - New version (5.3.0.82) with rpmgs script. * Mon Nov 30 2020 Leontiy Volodin <lvol@altlinux.org> 5.3.0.68-alt1 - New version (5.3.0.68) with rpmgs script. * Fri Oct 09 2020 Leontiy Volodin <lvol@altlinux.org> 5.3.0.44-alt1 - New version (5.3.0.44) with rpmgs script. * Mon Aug 31 2020 Leontiy Volodin <lvol@altlinux.org> 5.3.0.18-alt1 - Initial build for ALT Sisyphus (thanks fedora and archlinux for this spec). |