Package branding-alt-spworkstation: 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 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 | %define brand alt %define Brand ALT %define theme spworkstation %define Theme SP Workstation %define LKNV 11100-01 %define altbranch %_priority_distbranch %define status %nil %define status_en %nil %define flavour %brand-%theme %define gtk_theme BlueMenta %define kde_theme Breeze %define icon_theme mate %define window_theme BlueMenta %define design_graphics_abi_epoch 0 %define design_graphics_abi_major 12 %define design_graphics_abi_minor 0 %define design_graphics_abi_bugfix 0 %define data_cur_dir %_datadir/branding-data-current %define _unpackaged_files_terminate_build 1 Name: branding-%flavour Version: 10.2 Release: alt2 Epoch: 1 Url: https://altsp.su BuildRequires(pre): rpm-macros-branding BuildRequires: libalternatives-devel BuildRequires: qt5-base-devel BuildRequires: ImageMagick fontconfig bc BuildRequires: distro-licenses >= 1.3.2 Source: branding.tar Group: Graphics Summary: System/Base License: GPL-2.0-or-later %define distro_name ALT SP Workstation %define distro_name_ru Альт СП Рабочая Станция %description Distro-specific packages with design and texts for %distro_name. %description -l ru_RU.UTF-8 Пакеты оформления для дистрибутива %distro_name_ru. %package bootloader Group: System/Configuration/Boot and Init Summary: Graphical boot logo for grub2 Summary(ru_RU.UTF-8): Тема для экрана выбора вариантов загрузки (grub2) BuildArch: noarch License: GPL-2.0-or-later Requires(pre): coreutils Provides: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme branding-alt-%theme-bootloader Obsoletes: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme %branding_add_conflicts %flavour bootloader %define grub_normal white/black %define grub_high black/white %description bootloader Here you find the graphical boot logo for %distro_name. Suitable for both grub2. %description bootloader -l ru_RU.UTF-8 В данном пакете находится тема для экрана выбора вариантов загрузки (grub2) для дистрибутива %distro_name_ru. %package bootsplash Summary: Theme for splash animations during bootup Summary(ru_RU.UTF-8): Тема для экрана загрузки для дистрибутива %distro_name_ru License: Distributable Group: System/Configuration/Boot and Init BuildArch: noarch Provides: plymouth-theme-%theme Requires: plymouth-plugin-script Requires: plymouth-theme-bgrt-alt Requires(pre): plymouth %branding_add_conflicts %flavour bootsplash %description bootsplash This package contains graphics for boot process for %distro_name (needs console splash screen enabled). %description bootsplash -l ru_RU.UTF-8 В данном пакете находится тема для экрана загрузки для дистрибутива %distro_name_ru. %package alterator Summary: Design for alterator for %distro_name Summary(ru_RU.UTF-8): Тема для "Центра управления системой" и QT для дистрибутива %distro_name_ru License: GPL-2.0-or-later Group: System/Configuration/Other BuildArch: noarch Provides: design-alterator-browser-%theme branding-alt-%theme-browser-qt branding-altlinux-%theme-browser-qt Provides: alterator-icons design-alterator design-alterator-%theme Obsoletes: branding-alt-%theme-browser-qt branding-altlinux-%theme-browser-qt %branding_add_conflicts %flavour alterator Obsoletes: design-alterator-server design-alterator-desktop design-altertor-browser-desktop design-altertor-browser-server branding-altlinux-backup-server-alterator Requires(post,preun): alternatives >= 0.2 alterator %description alterator Design for QT and web alterator for %distro_name. %description alterator -l ru_RU.UTF-8 В данном пакете находится тема для "Центра управления системой" (Alterator) и модулей библиотеки QT для дистрибутива %distro_name_ru. %package graphics Summary: Design for %distro_name Summary(ru_RU.UTF-8): Тема для дистрибутива %distro_name_ru License: Different licenses Group: Graphics BuildArch: noarch Provides: design-graphics-%theme branding-alt-%theme-graphics Obsoletes: design-graphics-%theme Provides: design-graphics = %design_graphics_abi_major.%design_graphics_abi_minor.%design_graphics_abi_bugfix Requires(post,preun): alternatives >= 0.2 %branding_add_conflicts %flavour graphics %description graphics This package contains some graphics for %distro_name design. %description graphics -l ru_RU.UTF-8 В данном пакете находится необходимые графические элементы для дистрибутива %distro_name_ru. %define provide_list altlinux fedora redhat system altlinux %define obsolete_list altlinux-release fedora-release redhat-release %package release BuildArch: noarch Summary: %distro_name release file Summary(ru_RU.UTF-8): Описание дистрибутива %distro_name_ru License: GPL-2.0-or-later Group: System/Configuration/Other Provides: %(for n in %provide_list; do echo -n "$n-release = %version-%release "; done) altlinux-release-%theme branding-alt-%theme-release Obsoletes: %obsolete_list %branding_add_conflicts %flavour release Conflicts: altlinux-release-sisyphus altlinux-release-p9 altlinux-release-p10 Requires: alt-os-release %description release %distro_name release file. %description release -l ru_RU.UTF-8 В данном пакете находится описание дистрибутива %distro_name_ru. %package notes BuildArch: noarch Provides: alt-license-theme = %version alt-notes-%theme Obsoletes: alt-license-%theme alt-notes-%theme Summary: Distribution license and release notes Summary(ru_RU.UTF-8): Лицензия и дополнительные сведения для дистрибутива %distro_name_ru License: Distributable Group: Documentation %branding_add_conflicts %flavour notes %description notes Distribution license and release notes %description notes -l ru_RU.UTF-8 В данном пакете находится лицензия и дополнительные сведения для дистрибутива %distro_name_ru. %package mate-settings BuildArch: noarch Summary: MATE settings for %distro_name License: Distributable Group: Graphical desktop/GNOME Requires: dconf Requires: gtk3-theme-clearlooks-phenix Requires: x-cursor-theme-jimmac %branding_add_conflicts %flavour mate-settings PreReq(post): lightdm-gtk-greeter PreReq(post): libgio %description mate-settings MATE settings for %distro_name %package slideshow Summary: Slideshow for %distro_name installer Summary(ru_RU.UTF-8): Изображения для организации "слайдшоу" в установщике дистрибутива %distro_name_ru License: Distributable Group: System/Configuration/Other BuildArch: noarch %branding_add_conflicts %flavour slideshow %description slideshow Slideshow for %distro_name installer. %description slideshow -l ru_RU.UTF-8 В данном пакете находятся изображения для организации "слайдшоу" в установщике дистрибутива %distro_name_ru. %package indexhtml BuildArch: noarch Summary: HTML welcome page for %distro_name Summary(ru_RU.UTF-8): Стартовая страница для дистрибутива %distro_name_ru License: distributable Group: System/Base Provides: indexhtml indexhtml-%theme = %version indexhtml-Desktop = 1:5.0 Obsoletes: indexhtml-desktop indexhtml-Desktop %branding_add_conflicts %flavour indexhtml Requires(post): indexhtml-common #Requires: shared-desktop-icons %description indexhtml %distro_name welcome page. %description indexhtml -l ru_RU.UTF-8 В данном пакете содержится стартовая страница для дистрибутива %distro_name_ru. %prep %setup -n branding cp /usr/share/distro-licenses/ALT_SP_License/license.{all,ru}.html.in notes/ %build autoconf THEME=%theme NAME='%Brand %Theme' BRAND_FNAME='%brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version PRODUCT_NAME_RU='%distro_name_ru' PRODUCT_NAME='%distro_name' LKNV='%LKNV' BRANCH='%altbranch' X86='%x86' GTK_THEME='%gtk_theme' KDE_THEME='%kde_theme' ICON_THEME='%icon_theme' WINDOW_THEME='%window_theme' ./configure make %install %makeinstall find %buildroot -name \*.in -delete #mate-settings pushd mate-settings install -m 644 -D 50_mate-background.gschema.override '%buildroot%_datadir/glib-2.0/schemas/50_mate-background.gschema.override' install -m 644 -D 60_mate-theme.gschema.override '%buildroot%_datadir/glib-2.0/schemas/60_mate-theme.gschema.override' popd #bootloader %post bootloader [ "$1" -eq 1 ] || exit 0 . shell-config shell_config_set /etc/sysconfig/grub2 GRUB_THEME /boot/grub/themes/%theme/theme.txt #shell_config_set /etc/sysconfig/grub2 GRUB_THEME /boot/grub/themes/%theme shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_NORMAL %grub_normal shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high shell_config_set /etc/sysconfig/grub2 GRUB_BACKGROUND '' # deprecated shell_config_set /etc/sysconfig/grub2 GRUB_WALLPAPER '' %post indexhtml %_sbindir/indexhtml-update %files bootloader /boot/grub/themes/%theme #bootsplash %post bootsplash [ "$1" -eq 1 ] || exit 0 subst "s/Theme=.*/Theme=bgrt-alt/" /etc/plymouth/plymouthd.conf #notes %post notes if ! [ -e %_datadir/alt-notes/license.all.html ]; then cp -a %data_cur_dir/alt-notes/license.*.html %_datadir/alt-notes/ fi %post mate-settings /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas %files alterator %config %_altdir/*.rcc /usr/share/alterator-browser-qt/design/*.rcc /usr/share/alterator/design/* %files graphics %config /etc/alternatives/packages.d/%name-graphics %_datadir/design %_iconsdir/hicolor/*/apps/alt-%theme.png %files bootsplash #_datadir/plymouth/themes/%theme/* #_pixmapsdir/system-logo.png %files release %_sysconfdir/buildreqs/packages/ignore.d/* %_sysconfdir/*-release %prefix/lib/os-release %files notes %dir %data_cur_dir %data_cur_dir/alt-notes %exclude %_datadir/alt-notes/livecd-* %_datadir/alt-notes/release-notes.* %ghost %config(noreplace) %_datadir/alt-notes/license.*.html %files mate-settings %_datadir/glib-2.0/schemas/*.gschema.override %_datadir/install3/* #%%files slideshow #/etc/alterator/slideshow.conf #/usr/share/install2/slideshow %define indexhtmldir %_defaultdocdir/indexhtml %files indexhtml %ghost %_defaultdocdir/indexhtml/index.html %_defaultdocdir/indexhtml/* %_desktopdir/* %_datadir/kf5/kio_desktop/DesktopLinks/indexhtml.desktop %attr(0755,root,root) %_datadir/Desktop/indexhtml.desktop #_iconsdir/hicolor/*/apps/alt-%theme-desktop.png %changelog * Thu Apr 04 2024 Anton Midyukov <antohami@altlinux.org> 1:10.2-alt2 - bump version to 10.2 - convert License fields to SPDX format * Wed Jan 03 2024 Anton Midyukov <antohami@altlinux.org> 1:10-alt9 - index-en.html: fix unclosed quote * Fri Dec 29 2023 Anton Midyukov <antohami@altlinux.org> 1:10-alt8 - indexhtml: update links * Tue Nov 07 2023 Anton Midyukov <antohami@altlinux.org> 1:10-alt7 - add system-logo.png for plymouth-theme-bgrt-alt - bootsplash: use plymouth-theme-bgrt-alt * Fri Oct 27 2023 Anton Midyukov <antohami@altlinux.org> 1:10-alt6 - mate-settings: add settings for lightdm-gtk-greeter: + add keyboard layout indicator + enable screen keyboard (onboard) * Tue Oct 17 2023 Anton Midyukov <antohami@altlinux.org> 1:10-alt5 - indexhtml: update link to official telegram chat - indexhtml: add link to Mailing Lists * Fri Sep 22 2023 Anton Midyukov <antohami@altlinux.org> 1:10-alt4 - copy licenses from distro-licenses * Wed Apr 26 2023 Anton Midyukov <antohami@altlinux.org> 1:10-alt3 - indexhtml/index-en.html.in: fix html tag for "Report a bug" - os-release: add BUG_REPORT_URL * Mon Apr 17 2023 Anton Midyukov <antohami@altlinux.org> 1:10-alt2 - indexhtml: add link "Report a Bug" - notes: use word 'release' instead 'version' * Sun Apr 09 2023 Anton Midyukov <antohami@altlinux.org> 1:10-alt1 - set version 10, Epoch 1 - remove codename, add LKNV in altlinux-release - notes: change product name to english name in release-notes.all.html - notes: add word 'version' in release-notes - notes: exclude alt-notes/livecd-* - os-release: add BUILD_ID - os-release: add ALT_BRANCH_ID * Tue Mar 14 2023 Anton Midyukov <antohami@altlinux.org> 10.2-alt1 - notes: update license * Mon Feb 27 2023 Anton Midyukov <antohami@altlinux.org> 10.1-alt3 - branding.spec: indexhtml: do'nt require shared-desktop-icons - images: update wallpapers - release-notes.all.html.in: update format from russian version - indexhtml: remove link to bugs.altlinux.org - os-release.in: remove link to bugs.altlinux.org * Tue Jan 24 2023 Anton Midyukov <antohami@altlinux.org> 10.1-alt2 - disable gfxboot for syslinux and slideshow for installer - bootloader subpackage noarch again - cleanup unused images - update images - add LKNV to os-release - define BRANCH from %%_priority_distbranch * Fri Nov 11 2022 Anton Midyukov <antohami@altlinux.org> 10.1-alt1 - version bump - replace distro_name 'ALT 8 SP Workstation' with 'ALT SP Workstation' - save BUILD_ID in /etc/os-release with alt-os-release - indexhtml: update for new release - indexhtml: do not require docs-alt-spworkstation - add icons for indexhtml.desktop - do not create symlinks on documentation * Fri Sep 02 2022 Anton Midyukov <antohami@altlinux.org> 9.2-alt2 - set gtk_theme=BlueMenta, icon_theme=mate, window_theme=BlueMenta - update Conflicts for release - set black-white colours for grub - disable GRUB_BACKGROUND, GRUB_WALLPAPER * Fri Oct 22 2021 Anton V. Boyarshinov <boyarsh@altlinux.org> 9.2-alt1 - version bump * Tue Sep 21 2021 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.4-alt1 - version bump - os-release updating * Wed Sep 08 2021 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.3-alt2 - design changed * Thu Jul 15 2021 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.3-alt1 - version bump * Thu Oct 29 2020 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.2-alt6 - 'Next' button size fixed * Fri Sep 25 2020 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.2-alt5 - licenses replaced from c8.1 * Tue Sep 15 2020 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.2-alt4 - conflicts on altlinux-release-{sisyphus,p9} added * Fri Sep 4 2020 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.2-alt3 - mate-settings resurrected - obsoletes fixed * Wed May 20 2020 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.2-alt2 - bootmenu bar color fixed * Wed May 13 2020 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.2-alt1 - spworkstation version based on alt-server * Thu Nov 14 2019 Alexey Shabalin <shaba@altlinux.org> 9.0-alt2 - sync spec with branding-alt-workstation - Package system-logo.png for Plymouth - add black border for focused buttons * Thu Oct 17 2019 Anton V. Boyarshinov <boyarsh@altlinux.org> 9.0-alt1 - version set to 9.0 * Thu Sep 5 2019 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.99-alt1 - dependence on xdg-utils in indexhtml removed * Fri Aug 16 2019 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.98-alt1 - unset "beta" status * Tue Jul 23 2019 Anton V. Boyarshinov <boyarsh@altlinux.org> 8.95-alt1 - set status to beta * Wed Jul 10 2019 Alexey Shabalin <shaba@altlinux.org> 8.91-alt1 - Replace license.all.html.in with English page - Put status banner to NorthEast * Fri Jun 14 2019 Alexey Shabalin <shaba@altlinux.org> 8.90-alt3 - update background4x3 with logo * Thu Jun 13 2019 Alexey Shabalin <shaba@altlinux.org> 8.90-alt2 - Do not requires pam-limits-desktop (fixed ATL#36875) - Drop settings for WM * Wed May 29 2019 Alexey Shabalin <shaba@altlinux.org> 8.90-alt1 - Alpha version of ALT Server 9.0 (based on Education by cas@). * Thu Jan 31 2019 Andrey Cherepanov <cas@altlinux.org> 8.2-alt0.M80P.2 - Add Droid fonts used in XFCE. - Remove overrided desktop file for system-config-printer. - Fix menu on window key. - Add xfce4-clipman.desktop. - Replace standard XFCE menu by Whisker menu, mixer plugin by pulseaudio plugin. - Simplify panel in XFCE. - Remove Simply Linux logo and wallpapers. * Fri May 12 2017 Andrey Cherepanov <cas@altlinux.org> 8.2-alt0.M80P.1 - New release - Use pam-limits-desktop instead of own limits rules - Remove altlinux.ru from files * Fri Oct 21 2016 Andrey Cherepanov <cas@altlinux.org> 8.1-alt0.M80P.1 - Increase release number * Thu Oct 20 2016 Andrey Cherepanov <cas@altlinux.org> 8.0-alt0.5.M80P.1 - Complete Russian localization of menu - Update indexhtml: fix URLs of official site sections URL and books location * Mon Sep 05 2016 Andrey Cherepanov <cas@altlinux.org> 8.0-alt0.4.M80P.1 - Use bright Education icon suitable both for light and dark backgrounds - Rename kde4-settings to kde-settings, package Konsole profile and disable nm-applet.desktop autostart in KDE * Tue Aug 30 2016 Andrey Cherepanov <cas@altlinux.org> 8.0-alt0.3.M80P.1 - Set yellow labels for gfxboot - Use predefined boot.png with logo for grub - Set bright color for menubar in grub * Fri Aug 26 2016 Andrey Cherepanov <cas@altlinux.org> 8.0-alt0.2.M80P.1 - Do not require polkit-gnome - Set SimpleSL icon theme in XFCE settings * Fri Aug 26 2016 Andrey Cherepanov <cas@altlinux.org> 8.0-alt0.1.M80P.2 - Rebuild with conflict with branding-xalt-kworkstation * Fri Jul 22 2016 Andrey Cherepanov <cas@altlinux.org> 8.0-alt0.1.M80P.1 - Initial build |