Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Podeiko:KDE:Release:49
branding-openSUSE
branding-openSUSE.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File branding-openSUSE.spec of Package branding-openSUSE
# # spec file for package branding-openSUSE # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: branding-openSUSE Version: 12.1 Release: 15.5.3 License: BSD3c Group: System/Fhs Provides: branding Conflicts: otherproviders(branding) # git://gitorious.org/opensuse/art.git # make -C art/%{version} Source0: openSUSE.tar.gz Source20: sysconfig.bootsplash-branding-openSUSE Source21: sysconfig.displaymanager-kdm BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch x86_64 %ix86 %define package_gfxboot 1 BuildRequires: gfxboot-devel %endif Summary: SuSE Brand File BuildRequires: fribidi BuildRequires: kde4-filesystem kdelibs4-branding-upstream kdm-branding-upstream BuildRequires: update-desktop-files %description This package contains the file /etc/SuSE-brand, and its name is used as a trigger for installation of correct vendor brand packages. %if 0%{?package_gfxboot} > 0 %package -n gfxboot-branding-openSUSE Summary: Graphical bootloader openSUSE theme Group: System/Boot PreReq: gfxboot >= 4 Supplements: packageand(gfxboot:branding-openSUSE) Provides: gfxboot-theme = %{version} Provides: gfxboot-branding = %{version} Conflicts: otherproviders(gfxboot-branding) BuildArch: noarch %description -n gfxboot-branding-openSUSE openSUSE theme for gfxboot (bootloader graphics). %endif %package -n bootsplash-branding-openSUSE License: BSD3c Supplements: packageand(bootsplash:branding-openSUSE) Provides: bootsplash-branding = %{version} Summary: openSUSE Bootsplash Theme PreReq: %fillup_prereq perl Group: System/Boot Requires: bootsplash >= 3.3-11 Requires(post): mkinitrd BuildArch: noarch Conflicts: otherproviders(bootsplash-branding) %description -n bootsplash-branding-openSUSE This package contains a theme with openSUSE artwork %package -n kdelibs4-branding-openSUSE Summary: KDE Base Libraries: Build Environment Group: System/GUI/KDE Requires: kdelibs4 Supplements: packageand(kdelibs4:branding-openSUSE) Provides: kdelibs4-branding = %( echo `rpm -q --provides kdelibs4-branding-upstream | grep 'kdelibs4-branding =' | cut -d= -f2` ) Conflicts: otherproviders(kdelibs4-branding) BuildArch: noarch %description -n kdelibs4-branding-openSUSE openSUSE branding for about KDE %package -n wallpaper-branding-openSUSE Summary: openSUSE default wallpapers Requires(post): update-alternatives Requires(postun): update-alternatives Provides: wallpaper-branding = %{version} Conflicts: otherproviders(wallpaper-branding) BuildArch: noarch %description -n wallpaper-branding-openSUSE openSUSE wallpapers %package -n dynamic-wallpaper-branding-openSUSE Summary: Dynamic wallpaper for GNOME, with openSUSE look Group: System/GUI/GNOME Requires(post): update-alternatives Requires(postun): update-alternatives Supplements: packageand(wallpaper-branding-openSUSE:gnome-settings-daemon) Provides: dynamic-wallpaper-branding = %{version} Conflicts: otherproviders(dynamic-wallpaper-branding) # Used to live in gconf2-branding-openSUSE, with a different name, up to version 11.4 (included) Provides: openSUSE-dynamic-wallpaper = %{version} Obsoletes: openSUSE-dynamic-wallpaper <= %{version} # Old name, until openSUSE 11.3 (included) Provides: desktop-data-openSUSE-extra-gnome = %{version} Obsoletes: desktop-data-openSUSE-extra-gnome < %{version} BuildArch: noarch %description -n dynamic-wallpaper-branding-openSUSE This package contains a dynamic wallpaper with openSUSE look. A dynamic wallpaper changes depending on the time of the day: it is generally bright during the day, and dark during the night. %package -n yast2-qt-branding-openSUSE Summary: openSUSE default wallpapers Provides: yast2-qt-branding = %{version} Conflicts: otherproviders(yast2-qt-branding) Supplements: packageand(yast2-qt:branding-openSUSE) BuildArch: noarch %description -n yast2-qt-branding-openSUSE openSUSE branding for yast2-qt %package -n ksplashx-branding-openSUSE Summary: openSUSE branding for KDE splash Provides: ksplashx-branding = %{version} Conflicts: otherproviders(ksplashx-branding) Supplements: packageand(kdebase4-workspace:branding-openSUSE) BuildArch: noarch # links its images Requires: bootsplash-branding-openSUSE %description -n ksplashx-branding-openSUSE openSUSE branding for KDE splash %package -n susegreeter-branding-openSUSE Summary: openSUSE branding Provides: susegreeter-branding = %{version} Conflicts: otherproviders(susegreeter-branding) BuildArch: noarch %description -n susegreeter-branding-openSUSE openSUSE branding for the KDE greeter %package -n kdm-branding-openSUSE Summary: KDE login and display manager Group: System/GUI/KDE PreReq: %fillup_prereq Supplements: packageand(kdm:branding-openSUSE) Provides: kdm-branding = %( echo `rpm -q --provides kdm-branding-upstream | grep 'kdm-branding =' | cut -d= -f2` ) Provides: kde4-kdm-branding-openSUSE = %{version} Obsoletes: kde4-kdm-branding-openSUSE < %{version} Conflicts: otherproviders(kdm-branding) BuildArch: noarch Requires: wallpaper-branding-openSUSE %description -n kdm-branding-openSUSE This package contains openSUSE branding for kdm, the login and session manager for KDE. %package -n xfce4-splash-branding-openSUSE Summary: openSUSE branding for XFCE splash BuildArch: noarch %description -n xfce4-splash-branding-openSUSE openSUSE branding for the XFCE splash %package -n gimp-branding-openSUSE Group: Productivity/Graphics/Bitmap Editors Summary: The GNU Image Manipulation Program -- openSUSE Splash Screen BuildRequires: gimp %if 0 # Disabled since we want to avoid rebuilding this package when gimp changes. If # we really need the strict versioned dependency, then re-enable this. %define gimp_version %(rpm -q --qf '%%{version}-%%{release}' gimp) Requires: gimp = %{gimp_version} Provides: gimp-branding = %{gimp_version} %else Requires: gimp Provides: gimp-branding %endif Conflicts: otherproviders(gimp-branding) Supplements: packageand(gimp:branding-openSUSE) BuildArch: noarch %description -n gimp-branding-openSUSE This package contains the openSUSE splash screen for the GIMP. %prep %setup -q -c cp -a openSUSE/LICENSE COPYING %build cat >SuSE-brand <<EOF openSUSE VERSION = %{version} EOF %if 0%{?package_gfxboot} > 0 mkdir gfx cp -a /usr/share/gfxboot/themes/openSUSE/ gfx list=`cd openSUSE/gfxboot && find -type f` for i in $list; do cp openSUSE/gfxboot/$i gfx/openSUSE/$i done pushd gfx/openSUSE export PATH=/usr/sbin:$PATH make popd %endif cp -r /usr/share/kde4/apps/kdeui/about/ about pushd about # need to have latest kdelibs4 in factory #patch -p0 < ../openSUSE/kdelibs/css.diff popd %install mkdir -p %{buildroot}/var/adm/fillup-templates cp %{SOURCE20} %{SOURCE21} %{buildroot}/var/adm/fillup-templates/ mkdir -p %{buildroot}%{_sysconfdir} cp SuSE-brand %{buildroot}%{_sysconfdir}/ mkdir -p %{buildroot}%{_kde4_appsdir}/kdeui/about cp -a about/* %{buildroot}%{_kde4_appsdir}/kdeui/about # gfxboot themes will soon get a make install - promised by snwint if test -f gfx/openSUSE/bootlogo; then install -d -m 755 %{buildroot}/etc/bootsplash/themes/openSUSE/{bootloader,cdrom} cp gfx/openSUSE/bootlogo %{buildroot}/etc/bootsplash/themes/openSUSE/cdrom /usr/share/gfxboot/bin/unpack_bootlogo %{buildroot}/etc/bootsplash/themes/openSUSE/cdrom install -m 644 gfx/openSUSE/{message,po/*.tr,help-boot/*.hlp} %{buildroot}/etc/bootsplash/themes/openSUSE/bootloader /usr/share/gfxboot/bin/2hl --link --quiet %{buildroot}/etc/bootsplash/themes/openSUSE/* mkdir %{buildroot}/boot touch %{buildroot}/boot/message fi make -C openSUSE install DESTDIR=%{buildroot} for i in %{buildroot}/usr/share/wallpapers/*.desktop; do %suse_update_desktop_file "$i" done %suse_update_desktop_file %{buildroot}/usr/share/kde4/apps/ksplash/Themes/ksplashx-suse/Theme.rc %suse_update_desktop_file %{buildroot}/usr/share/wallpapers/openSUSEdefault/metadata.desktop # Touch the file handled with update-alternatives touch %{buildroot}/usr/share/wallpapers/openSUSE-default.xml # try how far we get without them rm -v %{buildroot}/usr/share/wallpapers/openSUSE*desktop %{buildroot}/usr/share/wallpapers/openSUSE*jpg %{buildroot}/usr/share/wallpapers/default* %check make -C openSUSE check DESTDIR=%{buildroot} %post -n bootsplash-branding-openSUSE %{fillup_only -ns bootsplash branding-openSUSE } perl -pi -e 's/^(THEME=).*/$1"openSUSE"/' /etc/sysconfig/bootsplash if test -s /etc/sysconfig/bootloader ; then /sbin/mkinitrd fi %if 0%{?package_gfxboot} > 0 %post -n gfxboot-branding-openSUSE gfxboot --update-theme openSUSE %endif %post -n wallpaper-branding-openSUSE update-alternatives --install /usr/share/wallpapers/openSUSE-default.xml openSUSE-default.xml /usr/share/wallpapers/openSUSE-default-static.xml 5 %postun -n wallpaper-branding-openSUSE # Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed if [ ! -f /usr/share/wallpapers/openSUSE-default-static.xml ]; then update-alternatives --remove openSUSE-default.xml /usr/share/wallpapers/openSUSE-default-static.xml fi %post -n dynamic-wallpaper-branding-openSUSE update-alternatives --install /usr/share/wallpapers/openSUSE-default.xml openSUSE-default.xml /usr/share/wallpapers/openSUSE-default-dynamic.xml 10 %postun -n dynamic-wallpaper-branding-openSUSE # Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed if [ ! -f /usr/share/wallpapers/openSUSE-default-dynamic.xml ]; then update-alternatives --remove openSUSE-default.xml /usr/share/wallpapers/openSUSE-default-dynamic.xml fi %post -n kdm-branding-openSUSE %{fillup_only -n displaymanager -s kdm} #Fix theme for users upgrading from <= 12.1 (bnc #781687) sed -i 's/DISPLAYMANAGER_KDM_THEME="SUSE"/DISPLAYMANAGER_KDM_THEME="openSUSE"/' /etc/sysconfig/displaymanager %files %defattr(-,root,root) %doc COPYING %{_sysconfdir}/SuSE-brand %files -n bootsplash-branding-openSUSE %defattr(-,root,root) %dir /etc/bootsplash %dir /etc/bootsplash/themes /etc/bootsplash/themes/openSUSE %if 0%{?package_gfxboot} > 0 %exclude %{_sysconfdir}/bootsplash/themes/openSUSE/bootloader %exclude %{_sysconfdir}/bootsplash/themes/openSUSE/cdrom %endif %config /var/adm/fillup-templates/sysconfig.bootsplash-branding-openSUSE %if 0%{?package_gfxboot} > 0 %files -n gfxboot-branding-openSUSE %defattr(-,root,root) %{_sysconfdir}/bootsplash/themes/openSUSE/bootloader %{_sysconfdir}/bootsplash/themes/openSUSE/cdrom %ghost /boot/message %endif %files -n kdelibs4-branding-openSUSE %defattr(-,root,root) %doc COPYING %{_kde4_appsdir}/kdeui %files -n wallpaper-branding-openSUSE %defattr(-,root,root) %doc COPYING %ghost /usr/share/wallpapers/openSUSE-default.xml /usr/share/gnome-background-properties/wallpaper-branding-openSUSE.xml /usr/share/wallpapers/ # File from dynamic-wallpaper-branding-openSUSE: %exclude /usr/share/wallpapers/openSUSE-default-dynamic.xml # FIXME: It should be owned by a different package: %dir /usr/share/gnome-background-properties/ %files -n dynamic-wallpaper-branding-openSUSE %defattr(-,root,root) %doc COPYING ## WARNING WARNING WARNING # If we ever remove the dynamic background, then the # openSUSE-default-dynamic.xml file should still be shipped, as a symlink to # openSUSE-default-static.xml. Else, we break the wallpaper configuration for # some users. ## WARNING WARNING WARNING # Ugly wildcard, but this way we don't have to update anything on name change %{_datadir}/backgrounds/*/ %{_datadir}/gnome-background-properties/dynamic-wallpaper-branding-openSUSE.xml %dir %{_datadir}/wallpapers %ghost %{_datadir}/wallpapers/openSUSE-default.xml %{_datadir}/wallpapers/openSUSE-default-dynamic.xml # FIXME: Should be owned by a different package: %dir %{_datadir}/backgrounds %dir %{_datadir}/gnome-background-properties %files -n yast2-qt-branding-openSUSE %defattr(-,root,root) %dir /usr/share/YaST2 %dir /usr/share/YaST2/theme %dir /usr/share/YaST2/theme/openSUSE /usr/share/YaST2/theme/openSUSE/wizard %files -n ksplashx-branding-openSUSE %defattr(-,root,root) %dir /usr/share/kde4 %dir /usr/share/kde4/apps %dir /usr/share/kde4/apps/ksplash /usr/share/kde4/apps/ksplash/Themes %files -n kdm-branding-openSUSE %defattr(-,root,root) %doc COPYING %{_kde4_appsdir}/kdm %{_localstatedir}/adm/fillup-templates/sysconfig.displaymanager-kdm %files -n susegreeter-branding-openSUSE %defattr(-,root,root) /usr/share/kde4/apps/SUSEgreeter %files -n xfce4-splash-branding-openSUSE %defattr(-,root,root) %doc openSUSE/xfce/COPYING /usr/share/pixmaps/xfce4-splash-openSUSE.png %files -n gimp-branding-openSUSE %defattr (-, root, root) %doc COPYING %{_datadir}/gimp/2.0/images %changelog * Thu Oct 27 2011 coolo@suse.com - fix one colour code for yast * Wed Oct 19 2011 tgoettlicher@suse.com - fixed colors of scollbars in installation * Sun Oct 16 2011 coolo@suse.com - readd gimp as buildreqiures * Thu Oct 13 2011 coolo@suse.com - let kdm-branding provide the same version as branding-upstream * Wed Oct 12 2011 vuntz@opensuse.org - Change gimp-branding-openSUSE packaging to not depend on the gimp version, so we don't have to rebuild the package when gimp changes. * Mon Oct 10 2011 coolo@suse.com - enable kdelibs diff now - add gimp branding * Fri Oct 7 2011 coolo@suse.com - add a COPYING for the xfce splash screen * Fri Oct 7 2011 coolo@suse.com - add branding for xfce4 splash screen * Thu Oct 6 2011 coolo@suse.com - prepare to patch kdelibs4 branding from upstream * Thu Oct 6 2011 vuntz@opensuse.org - Keep the touch required by update-alternatives here, instead of moving it to the Makefile. - Move check logic to the Makefile. * Thu Oct 6 2011 coolo@suse.com - move install logic in the Makefile * Wed Oct 5 2011 vuntz@opensuse.org - Improve GNOME-related checks in %%check so that they cover the dynamic wallpaper and work with the new layout for static wallpaper. * Wed Oct 5 2011 coolo@suse.com - Update openSUSE.tar.gz from git: + More aspect ratios supported + Updated dynamic GNOME wallpapers * Tue Oct 4 2011 vuntz@opensuse.org - Update openSUSE.tar.gz from git: + Artwork has been updated. + Progress bar in bootsplash got removed since systemd doesn't support it. + Now includes the files needed for GNOME wallpapers. - Create dynamic-wallpaper-branding-openSUSE subpackage: + This contains the dynamic wallpaper as used in GNOME. + This replaces (with appropriate Provides/Obsoletes) the previous openSUSE-dynamic-wallpaper package we had. + Install the files from the tarball needed for the dynamic wallpaper. + Use update-alternatives in %%post/%%postun of this subpackage to override the default wallpaper in GNOME: we prefer the dynamic version over the static one. - Drop wallpaper-branding-openSUSE.xml.in and wallpaper-openSUSE-default-static.xml sources: they're now shipped openSUSE.tar.gz, so we don't have to create them. - Move various consistency checks from %%install to %%check. * Tue Oct 4 2011 coolo@suse.com - provide susegreeter-branding * Wed Sep 28 2011 coolo@suse.com - use jpg as kdm background * Wed Sep 28 2011 coolo@suse.com - add kdm theme from Marcus * Wed Sep 28 2011 coolo@suse.com - adopt ksplashx to new logo position * Tue Sep 27 2011 coolo@suse.com - move ksplashx and kde wallpaper here too * Tue Sep 27 2011 coolo@suse.com - update bootsplash graphics * Tue Sep 27 2011 coolo@suse.com - fix %%ifarch logic - and update to azul previews * Mon Sep 26 2011 vuntz@opensuse.org - Add missing update-alternatives Requires(post)/Requires(postun) to wallpaper-branding-openSUSE, since this is now using update-alternatives. * Fri Sep 23 2011 meissner@suse.de - gfxboot is only on x86_64 and %%ix86 * Thu Sep 22 2011 vuntz@opensuse.org - Import logic for the XML file used by GNOME to describe the default wallpaper from desktop-data-openSUSE: + Add wallpaper-branding-openSUSE.xml.in and wallpaper-openSUSE-default-static.xml source files. + Check in %%install that wallpaper-openSUSE-default-static.xml lists the right default wallpapers. + Use update-alternatives in %%post/%%postun of wallpaper-branding-openSUSE for the openSUSE-default.xml file. - Remove unneeded GraphicsMagick, fam, inkscape and php5 BuildRequires. - Add update-desktop-files and call %%suse_update_desktop_file on the .desktop files describing the wallpapers. * Thu Sep 22 2011 coolo@suse.com - fix backward compat * Thu Sep 22 2011 coolo@suse.com - move yast2-qt branding here * Thu Sep 22 2011 coolo@suse.com - integrate wallpaper logic here too * Thu Sep 22 2011 coolo@suse.com - move details logic into art's Makefile * Wed Sep 21 2011 coolo@suse.com - add gfxboot branding here * Wed Sep 21 2011 coolo@suse.com - add bootsplash branding here * Sat Sep 10 2011 coolo@suse.com - bump version * Wed Oct 6 2010 aj@suse.de - increase version number. * Wed Jun 23 2010 coolo@novell.com - increase version number * Mon Feb 9 2009 coolo@suse.de - increase version number * Sat Nov 1 2008 coolo@suse.de - increase version number * Mon Oct 6 2008 sbrabec@suse.cz - Conflict with other branding providers (FATE#304881). * Wed Apr 9 2008 sbrabec@suse.cz - Added COPYING file (bnc#373602). * Wed Mar 19 2008 sbrabec@suse.cz - New SuSE package (fate#301464, bnc#372275).
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor