branding-alt-virtualization.../branding.spec

473 lines
15 KiB
RPMSpec
Raw Normal View History

%define theme school-server
%define Theme School Server
2009-04-17 17:35:48 +04:00
%define codename none
2009-01-23 14:44:50 +03:00
%define brand altlinux
%define Brand ALT Linux
2009-10-22 13:51:21 +04:00
%define status %nil
%define status_en %nil
2009-03-31 00:40:21 +04:00
2008-12-17 11:49:16 +03:00
Name: branding-%brand-%theme
Version: 5.0.0
2009-10-20 17:32:54 +04:00
Release: alt34
2008-12-17 11:49:16 +03:00
BuildArch: noarch
2008-12-24 16:54:58 +03:00
2008-12-17 11:49:16 +03:00
BuildRequires: cpio gfxboot >= 4 fonts-ttf-dejavu
BuildRequires: design-bootloader-source >= 5.0-alt2
2008-12-24 16:54:58 +03:00
BuildRequires(pre): libqt4-core
BuildRequires: libalternatives-devel
BuildRequires: libqt4-devel
BuildRequires: ImageMagick fontconfig bc libGConf-devel
2008-12-24 16:54:58 +03:00
%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>
2008-12-17 11:49:16 +03:00
2009-05-05 12:04:07 +04:00
Source: branding.tar
2008-12-17 11:49:16 +03:00
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
2008-12-24 16:54:58 +03:00
PreReq: coreutils
2009-01-23 15:57:22 +03:00
Provides: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme branding-alt-%theme-bootloader
2008-12-17 11:49:16 +03:00
2009-01-23 15:57:22 +03:00
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 )
2008-12-17 11:49:16 +03:00
%description bootloader
Here you find the graphical boot logo. Suitable for both lilo and syslinux.
2008-12-18 15:49:13 +03:00
%package bootsplash
Summary: Theme for splash animations during bootup
License: Distributable
Group: System/Configuration/Boot and Init
2009-01-23 15:57:22 +03:00
Provides: design-bootsplash design-bootsplash-%theme branding-alt-%theme-bootsplash
2008-12-18 15:49:13 +03:00
Requires: bootsplash >= 3.3
2009-01-23 15:57:22 +03:00
Obsoletes: branding-alt-%theme-bootsplash
2008-12-18 15:49:13 +03:00
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-bootsplash ";done )
2008-12-18 15:49:13 +03:00
%description bootsplash
This package contains graphics for boot process
(needs console splash screen enabled)
2008-12-17 11:49:16 +03:00
%package alterator
Summary: Design for alterator for %Brand %Theme
2008-12-24 16:54:58 +03:00
License: GPL
Group: System/Configuration/Other
Provides: design-alterator-browser-%theme branding-alt-%theme-browser-qt branding-altlinux-%theme-browser-qt
Provides: alterator-icons design-alterator design-alterator-%theme
2009-03-31 13:04:15 +04:00
Obsoletes: branding-alt-%theme-browser-qt branding-altlinux-%theme-browser-qt
2008-12-24 16:54:58 +03:00
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-browser-qt ";done )
2009-03-31 13:04:15 +04:00
Obsoletes: design-alterator-server design-alterator-desktop design-altertor-browser-desktop design-altertor-browser-server
2009-03-31 08:26:47 +04:00
PreReq(post,preun): alternatives >= 0.2 alterator
2008-12-24 16:54:58 +03:00
%description alterator
Design for QT and web alterator for %Brand %Theme
2008-12-24 16:54:58 +03:00
%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
2009-01-14 14:57:09 +03:00
%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
2009-01-23 15:57:22 +03:00
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
2009-01-14 14:57:09 +03:00
Conflicts: %conflicts_list
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-release ";done )
2009-01-14 14:57:09 +03:00
%description release
%distribution %version %Theme release file.
2009-01-23 15:57:22 +03:00
%package notes
Provides: alt-license-theme = %version alt-notes-%theme
Obsoletes: alt-license-%theme alt-notes-%theme
2009-01-23 15:57:22 +03:00
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 )
2009-01-23 15:57:22 +03:00
%description notes
Distribution license and release notes
2009-02-27 15:58:37 +03:00
%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 )
2009-02-27 15:58:37 +03:00
%description slideshow
Slideshow for %Brand %version %Theme installer
2009-03-24 18:01:28 +03:00
%package indexhtml
Summary: %name -- ALT Linux html welcome page
License: distributable
Group: System/Base
Provides: indexhtml indexhtml-%theme = %version indexhtml-Desktop = 1:5.0
2009-03-24 18:01:28 +03:00
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
2009-03-24 18:01:28 +03:00
2009-03-24 19:10:52 +03:00
Requires: xdg-utils
Requires(post): indexhtml-common
2009-03-24 18:01:28 +03:00
%description indexhtml
ALT Linux index.html welcome page.
2009-02-27 15:58:37 +03:00
2008-12-17 11:49:16 +03:00
%prep
2009-05-05 12:26:40 +04:00
%setup -n branding
2008-12-17 11:49:16 +03:00
2008-12-18 15:49:13 +03:00
2008-12-17 11:49:16 +03:00
%build
2008-12-24 16:54:58 +03:00
autoconf
2009-06-10 19:16:50 +04:00
THEME=%theme NAME='%Theme' BRAND_FNAME='%Brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version ./configure
2008-12-24 16:54:58 +03:00
make
2008-12-17 11:49:16 +03:00
%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__
2009-01-14 14:57:09 +03:00
#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
2009-01-14 14:57:09 +03:00
for n in fedora redhat system; do
ln -s altlinux-release %buildroot%_sysconfdir/$n-release
done
#notes
2009-01-23 15:57:22 +03:00
pushd notes
%makeinstall
popd
2009-02-27 15:58:37 +03:00
#slideshow
mkdir -p %buildroot/usr/share/install2/slideshow
install slideshow/* %buildroot/usr/share/install2/slideshow/
2008-12-17 11:49:16 +03:00
#bootloader
2008-12-18 15:49:13 +03:00
%pre bootloader
2008-12-25 12:55:26 +03:00
[ -s /boot/splash/%theme ] && rm -fr /boot/splash/%theme ||:
2008-12-18 15:49:13 +03:00
%post bootloader
2008-12-17 11:49:16 +03:00
%__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
2008-12-17 11:49:16 +03:00
%preun bootloader
[ $1 = 0 ] || exit 0
[ "`readlink /boot/splash/message`" != "%theme/message" ] ||
%__rm -f /boot/splash/message
2009-03-24 18:01:28 +03:00
%post indexhtml
%_sbindir/indexhtml-update
2008-12-17 11:49:16 +03:00
%files bootloader
%_datadir/gfxboot/%theme
/boot/splash/%theme
2008-12-18 15:49:13 +03:00
#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/*
2008-12-24 16:54:58 +03:00
%files graphics
%config /etc/alternatives/packages.d/%name-graphics
%_datadir/design
2008-12-24 16:54:58 +03:00
2008-12-18 15:49:13 +03:00
%files bootsplash
%_sysconfdir/bootsplash/themes/%theme/
2008-12-17 11:49:16 +03:00
2009-01-14 14:57:09 +03:00
%files release
%_sysconfdir/*-*
%_sysconfdir/buildreqs/packages/ignore.d/*
2009-01-23 15:57:22 +03:00
%files notes
%_datadir/alt-notes/*
2009-02-27 15:58:37 +03:00
%files slideshow
/usr/share/install2/slideshow
%define indexhtmldir %_datadir/doc/alt-docs/indexhtml
2009-03-24 18:01:28 +03:00
%files indexhtml
%ghost %indexhtmldir/index.html
%indexhtmldir/index-*.html
%indexhtmldir/index.css
%indexhtmldir/img
%_desktopdir/indexhtml.desktop
2009-03-24 18:01:28 +03:00
2008-12-17 11:49:16 +03:00
%changelog
2009-10-20 17:32:54 +04:00
* 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
2009-10-13 19:31:05 +04:00
- 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
2009-10-02 16:33:55 +04:00
* Fri Oct 02 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt30
- not using indexhtml-ua anymore
2009-09-24 12:06:54 +04:00
- new logo
2009-09-29 19:31:54 +04:00
* 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
2009-09-24 16:48:34 +04:00
- 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
2009-09-24 12:06:54 +04:00
* 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
2009-08-21 19:06:52 +04:00
* 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
2009-07-30 14:00:44 +04:00
* 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
2009-05-29 19:39:41 +04:00
2009-05-13 19:57:57 +04:00
* 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@
2009-04-24 19:32:00 +04:00
* 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@
2009-04-17 17:26:53 +04:00
* Fri Apr 17 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt14
- better quality background image for installer
2009-04-16 16:41:22 +04:00
* 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
2009-04-14 00:47:57 +04:00
* Fri Apr 10 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt12
- gear-rules fixed
2009-04-10 19:04:48 +04:00
* 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;
2009-04-10 16:45:08 +04:00
* Fri Apr 10 2009 Alxandra Panyukova <mex3@altlinux.ru> 5.0.0-alt10
- some misspells fixed
2009-04-09 17:23:08 +04:00
* 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@
2009-04-08 20:27:48 +04:00
* 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
2009-03-24 18:01:28 +03:00
- 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
2009-03-05 13:34:10 +03:00
- steps icons added
* Fri Feb 27 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt19
2009-02-27 15:58:37 +03:00
- 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
2009-02-04 12:42:55 +03:00
* Mon Jan 26 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt6
- xdm background fixed
2009-01-23 15:57:22 +03:00
* 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
2009-01-14 14:57:09 +03:00
* Wed Jan 14 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt3
- release subpackage added