branding-alt-virtualization.../branding.spec
Stanislav Ievlev 4c147368cd 5.0.0-alt41
- add CSS styles for dialog
- replace some explicit corner setup with ui-round-corner class
- fix color of page buttons
2009-10-28 16:08:46 +03:00

501 lines
16 KiB
RPMSpec

%define theme school-server
%define Theme School Server
%define codename none
%define brand altlinux
%define Brand ALT Linux
%define status %nil
%define status_en %nil
Name: branding-%brand-%theme
Version: 5.0.0
Release: alt41
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 variants altlinux-office-desktop altlinux-office-server altlinux-desktop altlinux-lite altlinux-workbench school-master altlinux-gnome-desktop
Packager: Vitaly Kuznetsov <vitty@altlinux.ru>
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: design-bootsplash design-bootsplash-%theme branding-alt-%theme-bootsplash
Requires: bootsplash >= 3.3
Obsoletes: branding-alt-%theme-bootsplash
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-bootsplash ";done )
%description bootsplash
This package contains graphics for boot process
(needs console splash screen enabled)
%package alterator
Summary: Design for alterator for %Brand %Theme
License: GPL
Group: System/Configuration/Other
Packager: Anton V. Boyarshinov <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
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-office-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 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-office-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/
#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
%__ln_s -nf %theme %_sysconfdir/bootsplash/themes/current
%preun bootsplash
[ $1 = 0 ] || exit 0
[ "`readlink %_sysconfdir/bootsplash/themes/current`" != %theme ] ||
%__rm -f %_sysconfdir/bootsplash/themes/current
%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
%_sysconfdir/bootsplash/themes/%theme/
%files release
%_sysconfdir/*-*
%_sysconfdir/buildreqs/packages/ignore.d/*
%files notes
%_datadir/alt-notes/*
%files slideshow
/usr/share/install2/slideshow
%define indexhtmldir %_defaultdocdir/indexhtml
%files indexhtml
%ghost %indexhtmldir/index.html
%indexhtmldir/index-*.html
%indexhtmldir/index.css
%indexhtmldir/img
%_desktopdir/indexhtml.desktop
%changelog
* Wed Oct 28 2009 Stanislav Ievlev <inger@altlinux.org> 5.0.0-alt41
- add CSS styles for dialog
- replace some explicit corner setup with ui-round-corner class
- fix color of page buttons
* Mon Oct 26 2009 Andrey Cherepanov <cas@altlinux.org> 5.0.0-alt40
- fix CSS in alterator web interface
- remove CUPS configuration link
* Sat Oct 24 2009 Andrey Cherepanov <cas@altlinux.org> 5.0.0-alt39
- completely fix logo width in CSS
* Fri Oct 23 2009 Andrey Cherepanov <cas@altlinux.org> 5.0.0-alt38
- fix release-notes.ru text
- fix size of logo in web interface
- remove slideshow of Ark Server
* Fri Oct 23 2009 Stanislav Ievlev <inger@altlinux.org> 5.0.0-alt37
- fix buildsystem after indexhtml moving
* Fri Oct 23 2009 Andrey Cherepanov <cas@altlinux.org> 5.0.0-alt36
- fix wallpaper and logotype
* Wed Oct 21 2009 Andrey Cherepanov <cas@altlinux.org> 5.0.0-alt35
- completely remove beta status
- change default install dir for indexhtml packages and path to manual
* Tue Oct 20 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt34
- merge with office-server branding
- no STATUS
* Tue Oct 13 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt33
- colors of inactive buttons fixed
- color of progress bar in bootloader fixed
* Mon Oct 12 2009 Stanislav Ievlev <inger@altlinux.org> 5.0.0-alt32
- add classes for color rows in table.alterator-listbox
* Thu Oct 08 2009 Stanislav Ievlev <inger@altlinux.org> 5.0.0-alt31
- add classes: close-dialog-button, help-button, and resizeable
- add svg image for close-dialog-button
* Fri Oct 02 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt30
- not using indexhtml-ua anymore
- new logo
* Tue Sep 29 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt29
- some colors fixed
- new indexhtml
- english versions of indexhtml and notes
- add svg images and style for page navigation buttons (inger)
* Thu Sep 24 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt28
- new images
- new variant of notes
- some colors fixed
* Fri Sep 18 2009 Stanislav Ievlev <inger@altlinux.org> 5.0.0-alt27
- add style for clock
- improve style for alterator-listbox (closes: #21503)
- redesign indexhtml component
* Tue Sep 08 2009 Stanislav Ievlev <inger@altlinux.org> 5.0.0-alt26
- add style for accordion and #box
* Thu Aug 27 2009 Vitaly Kuznetsov <vitty@altlinux.ru> 5.0.0-alt3
- Fix graphics
* Thu Aug 27 2009 Vitaly Kuznetsov <vitty@altlinux.ru> 5.0.0-alt2
- Fix conflicts
* Thu Aug 27 2009 Vitaly Kuznetsov <vitty@altlinux.ru> 5.0.0-alt1
- Initial school server branding (from office server)
* Mon Aug 24 2009 Stanislav Ievlev <inger@altlinux.org> 5.0.0-alt25
- ahttpd design:
minimize logo picture width (artefact in konqueror)
ahttpd's CSS: replace hardcoded menu width with 'min-width' property
drop unused CSS rules
* Fri Aug 21 2009 Stanislav Ievlev <inger@altlinux.org> 5.0.0-alt24
- update top line design
* Fri Aug 14 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt23
- beep in bootloader disabled
* Thu Aug 13 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt22
- \%status set to beta
- merge with master
* Fri Jul 31 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt21
- \%status in pictures fixed
* Fri Jul 31 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt20
- images and slides from mex3
* Thu Jul 30 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt19
- new design from mex3
* Thu Jun 25 2009 Stanislav Ievlev <inger@altlinux.org> 5.0.0-alt18
- little alterator's CSS improvements.
- resurrect installers' background.
* 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
- nepomukserverrc added into kde4
* 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