Package branding-altlinux-lite: 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 | %define theme lite %define Theme Lite %define codename none %define brand altlinux %define Brand ALT Linux %define status beta %define variants altlinux-office-desktop altlinux-office-server altlinux-desktop Name: branding-%brand-%theme Version: 5.9.9 Release: alt1 BuildArch: noarch BuildRequires: cpio gfxboot >= 4 fonts-ttf-dejavu BuildRequires: design-bootloader-source >= 5.0-alt2 BuildRequires(pre): libqt4-core BuildRequires: libalternatives-devel BuildRequires: libqt4-devel BuildRequires: ImageMagick fontconfig bc libGConf-devel %define Theme Desktop %define status ПРОТОТИП %define status_en Prototype %define variants altlinux-office-desktop altlinux-office-server altlinux-lite altlinux-workbench school-master altlinux-gnome-desktop Packager: Anton V. Boyarshinov <boyarsh at altlinux dot org> Source: branding.tar Group: Graphics Summary: System/Base License: GPL %description Distro-specific packages with design and texts %package bootloader Group: System/Configuration/Boot and Init Summary: Graphical boot logo for lilo and syslinux License: GPL PreReq: 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-alt-%theme-bootloader Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-bootloader ";done ) %description bootloader Here you find the graphical boot logo. Suitable for both lilo and syslinux. %package bootsplash Summary: Theme for splash animations during bootup License: Distributable Group: System/Configuration/Boot and Init Provides: plymouth-theme-%theme Requires: plymouth-plugin-script PreReq: plymouth Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-bootsplash ";done ) %description bootsplash This package contains graphics for boot process, displayed via Plymouth %package alterator Summary: Design for alterator for %Brand %Theme License: GPL Group: System/Configuration/Other Packager: Anton V. Boyarshiniv <boyarsh@altlinux.org> 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 Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-browser-qt ";done ) Obsoletes: design-alterator-server design-alterator-desktop design-altertor-browser-desktop design-altertor-browser-server PreReq(post,preun): alternatives >= 0.2 alterator %description alterator Design for QT and web alterator for %Brand %Theme %package graphics Summary: design for ALT License: Different licenses Group: Graphics Provides: design-graphics-%theme branding-alt-%theme-graphics Obsoletes: branding-alt-%theme-graphics design-graphics-%theme PreReq(post,preun): alternatives >= 0.2 Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-graphics ";done ) %description graphics This package contains some graphics for ALT design. %define provide_list altlinux fedora redhat system altlinux %define obsolete_list altlinux-release fedora-release redhat-release %define conflicts_list altlinux-release-sisyphus altlinux-release-4.0 altlinux-release-junior altlinux-release-master altlinux-release-server altlinux-release-terminal altlinux-release-small_business %package release Summary: %distribution %Theme release file Copyright: GPL Group: System/Configuration/Other Packager: Anton V. Boyarshinov <boyarsh@altlinux.org> 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-alt-%theme-release Conflicts: %conflicts_list Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-release ";done ) %description release %distribution %version %Theme release file. %package notes Provides: alt-license-theme = %version alt-notes-%theme Obsoletes: alt-license-%theme alt-notes-%theme Summary: Distribution license and release notes License: Distributable Group: Documentation Conflicts: alt-notes-children alt-notes-hpc alt-notes-junior alt-notes-junior-sj alt-notes-junior-sm alt-notes-school-server alt-notes-server-lite alt-notes-skif alt-notes-terminal Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-notes ";done ) %description notes Distribution license and release notes %package xfce-settings Summary: XFCE settings for %Brand %version %Theme License: Distributable Group: Graphical desktop/XFce Requires: PolicyKit-gnome Obsoletes: xfce-settings-lite xfce-settings-school-lite Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-xfce-settings ";done ) %description xfce-settings XFCE settings for %Brand %version %Theme %package slideshow Summary: Slideshow for %Brand %version %Theme installer License: Distributable Group: System/Configuration/Other Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-slideshow ";done ) %description slideshow Slideshow for %Brand %version %Theme installer %package indexhtml Summary: %name -- ALT Linux html welcome page License: distributable Group: System/Base Provides: indexhtml indexhtml-%theme = %version indexhtml-Desktop = 1:5.0 Obsoletes: indexhtml-desktop indexhtml-Desktop Conflicts: indexhtml-sisyphus Conflicts: indexhtml-school_junior Conflicts: indexhtml-school_lite Conflicts: indexhtml-school_master Conflicts: indexhtml-school_terminal Conflicts: indexhtml-small_business Conflicts: indexhtml-school-server Requires: xdg-utils Requires(post): indexhtml-common %description indexhtml ALT Linux index.html welcome page. %prep %setup -n branding %build autoconf THEME=%theme NAME='%Theme' BRAND_FNAME='%Brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version ./configure make %install %makeinstall #graphics mkdir -p %buildroot/%_datadir/design/{%theme,backgrounds} cp -ar graphics/* %buildroot/%_datadir/design/%theme pushd %buildroot/%_datadir/design/%theme pushd backgrounds ln -sf ../../../wallpapers more popd popd install -d %buildroot//etc/alternatives/packages.d cat >%buildroot/etc/alternatives/packages.d/%name-graphics <<__EOF__ %_datadir/artworks %_datadir/design/%theme 10 %_datadir/design-current %_datadir/design/%theme 10 %_datadir/design/current %_datadir/design/%theme 10 __EOF__ #release install -pD -m644 /dev/null %buildroot%_sysconfdir/buildreqs/packages/ignore.d/%name-release echo "%distribution %version %Theme %status_en (%codename)" >%buildroot%_sysconfdir/altlinux-release for n in fedora redhat system; do ln -s altlinux-release %buildroot%_sysconfdir/$n-release done #notes pushd notes %makeinstall popd #slideshow mkdir -p %buildroot/usr/share/install2/slideshow install slideshow/* %buildroot/usr/share/install2/slideshow/ #indexhtml %define _indexhtmldir %_defaultdocdir/indexhtml pushd indexhtml mkdir -p %buildroot{%_indexhtmldir/,%_desktopdir/} cp -r * %buildroot%_indexhtmldir/ rm -f %buildroot%_indexhtmldir/*.in %buildroot%_indexhtmldir/indexhtml.desktop touch %buildroot%_indexhtmldir/index.html install -m644 indexhtml.desktop %buildroot%_desktopdir/ popd #xfce-settings pushd xfce-settings mkdir -p %buildroot/etc/skel/.config/xfce4/desktop mkdir -p %buildroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml mkdir -p %buildroot/etc/skel/.config/xfce4/panel mkdir -p %buildroot/etc/skel/.config/xfce4-session mkdir -p %buildroot/etc/skel/.config/autostart mkdir -p %buildroot/etc/skel/.local/share/applications mkdir -p %buildroot/etc/skel/Templates install -m 644 etcskel/Templates/* %buildroot/etc/skel/Templates/ install -m 644 etcskel/.config/xfce4/helpers.rc %buildroot/etc/skel/.config/xfce4/ install -m 644 etcskel/.config/xfce4/desktop/* %buildroot/etc/skel/.config/xfce4/desktop install -m 644 etcskel/.config/xfce4/xfconf/xfce-perchannel-xml/* %buildroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml install -m 644 etcskel/.config/xfce4/panel/* %buildroot/etc/skel/.config/xfce4/panel install -m 644 etcskel/.config/xfce4-session/* %buildroot/etc/skel/.config/xfce4-session/ install -m 644 etcskel/.config/autostart/* %buildroot/etc/skel/.config/autostart install -m 644 etcskel/.local/share/applications/* %buildroot/etc/skel/.local/share/applications install -m 644 etcskel/.wm-select %buildroot/etc/skel/ install -m 644 etcskel/.Xdefaults %buildroot/etc/skel/ mkdir -p %buildroot/usr/share/xfce4/backdrops install -m 644 ../graphics/backgrounds/default.png %buildroot/usr/share/xfce4/backdrops install -m 644 ../graphics/backgrounds/xdm.png %buildroot/usr/share/xfce4/backdrops mkdir -p '%buildroot/usr/share/themes/ALTLinux-%Theme/gtk-2.0' install -m 644 themes/ALTLinux/gtk-2.0/* '%buildroot/usr/share/themes/ALTLinux-%Theme/gtk-2.0/' install -m 644 themes/ALTLinux/*.png '%buildroot/usr/share/themes/ALTLinux-%Theme/' mkdir -p %buildroot/%_bindir install -m 755 bin/* %buildroot/%_bindir mkdir -p %buildroot/etc/sysconfig/ install -m 644 xinitrc %buildroot/etc/sysconfig/xinitrc.xfce popd #bootloader %pre bootloader [ -s /boot/splash/%theme ] && rm -fr /boot/splash/%theme ||: %post bootloader %__ln_s -nf %theme/message /boot/splash/message . /etc/sysconfig/i18n lang=$(echo $LANG | cut -d. -f 1) cd boot/splash/%theme/ echo $lang > lang [ "$lang" = "C" ] || echo lang | cpio -o --append -F message %preun bootloader [ $1 = 0 ] || exit 0 [ "`readlink /boot/splash/message`" != "%theme/message" ] || %__rm -f /boot/splash/message %post indexhtml %_sbindir/indexhtml-update %files bootloader %_datadir/gfxboot/%theme /boot/splash/%theme #bootsplash %post bootsplash subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf [ -f /etc/sysconfig/grub2 ] && \ subst "s|GRUB_WALLPAPER=.*|GRUB_WALLPAPER=/usr/share/plymouth/themes/%theme/grub.jpg|" \ /etc/sysconfig/grub2 ||: %post xfce-settings cat /etc/sysconfig/xinitrc.xfce >> /etc/sysconfig/xinitrc %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 %files bootsplash %_datadir/plymouth/themes/%theme/* %files release %_sysconfdir/*-* %_sysconfdir/buildreqs/packages/ignore.d/* %files notes %_datadir/alt-notes/* %files slideshow /usr/share/install2/slideshow %files indexhtml %ghost %_indexhtmldir/index.html %_indexhtmldir/* %_desktopdir/* %files xfce-settings /etc/skel/Templates %exclude /etc/skel/Templates/* /etc/skel/.wm-select /etc/skel/.Xdefaults /etc/skel/.config /etc/skel/.config /etc/skel/.local /usr/share/themes/* /usr/share/xfce4/backdrops /etc/sysconfig/xinitrc.xfce %_bindir/* %changelog * Fri Dec 24 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt1 - bootsplash->plymouth - OO.o->libreoffice * Thu Nov 05 2009 Artem Zolochevskiy <azol@altlinux.ru> 5.0.0-alt21 - indexhtml: + change default indexhtml dir + use unified local documentation link * Thu Sep 03 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt20 - mixer and xkb plugins fixed * Mon Aug 31 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt19 - images and colors from mex3 * Thu Jun 25 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt18 - merge with master * Thu Jun 11 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt17 - merge with desktop * Wed May 13 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt16 - %setup fixed from boyarsh@ - remove package name from .gear-rules from boyarsh@ * Fri Apr 24 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt15 - minor fixes of strange merge - changes in alterator.css.in from inger@ * Fri Apr 17 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt14 - better quality background image for installer * Thu Apr 16 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt13 - alterator.css = alterator.css+menu.css - some strange results of merge fixed * Fri Apr 10 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt12 - gear-rules fixed * Fri Apr 10 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt11 - web logo - white and smaller; labels on buttons - darker; disabled elements - lighter; * Fri Apr 10 2009 Alxandra Panyukova <mex3@altlinux.ru> 5.0.0-alt10 - some misspells fixed * Thu Apr 09 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt9 - darker text and new logo for web * Thu Apr 09 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt8 - gradients and some colors in css fixed by mex3@ * Tue Apr 07 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt7 - fixes for installer design from mex3@ * Fri Apr 03 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt6 - default gray design from mex3@ - \%status_en intorduces for release file * Wed Apr 01 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt5 - logo in www design fixed * Tue Mar 31 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt4 - www design fixed * Tue Mar 31 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt3 - conflicts for -alterator subpackages added - design for web alterator changed * Mon Mar 30 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt2 - -browser-qt subpackage remaned to -alterator as it really is * Fri Mar 27 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt1 - addes \%status to altlinux-release - images for verbose bootsplash mode from one source * Wed Mar 25 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt24 - added versioned provides for indexhtml * Tue Mar 24 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt23 - indexhtml subpackage added * Mon Mar 23 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt22 - Lite version * Wed Mar 18 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt21 - other images for browser-qt added - gtkrcs added into kde4-settings - plasma-applet-networkmanagenemt removed from kde4 by default - conflicts bitween different brandings added * Thu Mar 05 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt20 - steps icons added * Fri Feb 27 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt19 - sample slideshow added * Wed Feb 25 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt18 - 1024x768 removed :D - more transparent menu selection bar * Tue Feb 24 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt17 - 1024x768 added - fonts changed * Thu Feb 19 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt16 - not setup language in bootloader during install (when it is 'C') * Wed Feb 18 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt15 - rebuild with new bootloader-source with support of real language change * Tue Feb 17 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt14 - auto set default language for bootloader from /etc/sysconfig/i18n * Mon Feb 16 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt13 - rebuild for fix oversized /boot/splash/message * Fri Feb 13 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt12 - default language set to ru_RU for system boot * Wed Feb 11 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt11 - fixed conflict of notes subpackage with itself * Tue Feb 10 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt10 - more kde4 settings from zerg@ - alternative and obsoletes for graphics added * Thu Feb 05 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt9 - rebuild with new translations * Thu Feb 05 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt8 - added kde4-settings subpackage * Wed Feb 04 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt7 - added conflicts for notes * Mon Jan 26 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt6 - xdm background fixed * Fri Jan 23 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt5 - added 'notes' subpackage * Thu Jan 15 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt4 - fixed problem with owerwritten alternative * Wed Jan 14 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt3 - release subpackage added * Fri Dec 26 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt2 - colors integration - graphics package added * Thu Dec 18 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt1 - initial sceleton |