File branding-basedonopensuse.spec of Package branding-basedonopensuse
#
# spec file for package branding-basedonopensuse
#
# Copyright (c) 2013 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-basedonopensuse
BuildRequires: GraphicsMagick
BuildRequires: ImageMagick
BuildRequires: fribidi
BuildRequires: inkscape
BuildRequires: php5
#!BuildIgnore: exo-tools
%ifarch x86_64 %ix86
%define package_gfxboot 1
BuildRequires: gfxboot-branding-openSUSE
BuildRequires: gfxboot-devel
%endif
#BRQ-START
BuildRequires: MozillaFirefox-branding-openSUSE
BuildRequires: PackageKit-branding-openSUSE
BuildRequires: awesome-branding-openSUSE
BuildRequires: compiz-branding-openSUSE
BuildRequires: dynamic-wallpaper-branding-openSUSE
BuildRequires: e17-branding-openSUSE
BuildRequires: epiphany-branding-openSUSE
BuildRequires: fcitx-branding-openSUSE
BuildRequires: gcin-branding-openSUSE
BuildRequires: gconf2-branding-openSUSE
BuildRequires: gdm-branding-openSUSE
BuildRequires: gio-branding-openSUSE
BuildRequires: gnome-menus-branding-openSUSE
BuildRequires: grub2-branding-openSUSE
BuildRequires: gtk2-branding-openSUSE
BuildRequires: gtk3-branding-openSUSE
BuildRequires: hicolor-icon-theme-branding-openSUSE
BuildRequires: install-initrd-branding-openSUSE
BuildRequires: kdebase3-SuSE-branding-openSUSE
BuildRequires: kdebase4-runtime-branding-openSUSE
BuildRequires: kdebase4-workspace-branding-openSUSE
BuildRequires: kdelibs4-branding-openSUSE
BuildRequires: kdm-branding-openSUSE
BuildRequires: ksplash-qml-branding-openSUSE
BuildRequires: ksplashx-branding-openSUSE
BuildRequires: libexo-1-0-branding-openSUSE
BuildRequires: libgarcon-branding-openSUSE
BuildRequires: libpurple-branding-openSUSE
BuildRequires: libreoffice-branding-openSUSE
BuildRequires: libsocialweb-branding-openSUSE
BuildRequires: libxfce4ui-branding-openSUSE
BuildRequires: lightdm-gtk-greeter-branding-openSUSE
BuildRequires: lxde-common-branding-openSUSE
BuildRequires: midori-branding-openSUSE
BuildRequires: plymouth-branding-openSUSE
BuildRequires: splashy-branding-openSUSE
BuildRequires: susegreeter-branding-openSUSE
BuildRequires: systemd-presets-branding-openSUSE
BuildRequires: thunar-volman-branding-openSUSE
BuildRequires: wallpaper-branding-openSUSE
BuildRequires: xfce4-notifyd-branding-openSUSE
BuildRequires: xfce4-panel-branding-openSUSE
BuildRequires: xfce4-session-branding-openSUSE
BuildRequires: xfce4-settings-branding-openSUSE
BuildRequires: xfce4-splash-branding-openSUSE
BuildRequires: xfdesktop-branding-openSUSE
BuildRequires: xfwm4-branding-openSUSE
BuildRequires: yast2-branding-openSUSE
BuildRequires: yast2-qt-branding-openSUSE
#BRQ-END
Version: 13.1
Release: 0
Summary: (De)branded openSUSE theme
License: MIT
Group: System/Fhs
Provides: branding
Conflicts: otherproviders(branding)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: branding-openSUSE = %{version}
Source0: openSUSE.tar.gz
Source100: update-list.sh
Source101: extract.pl
Source103: post.gfxboot
Source104: post.dynamic-wallpaper
Source105: postun.grub2
Source106: postun.dynamic-wallpaper
Source107: post.grub2
Source108: postun.wallpaper
Source109: post.wallpaper
Source110: post.plymouth
Source111: postun.plymouth
%description
You can install this if you want to follow the openSUSE trademark guidelines.
%define theme_name basedonopensuse
%prep
%setup -q -c
%build
%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
%install
mkdir -p $RPM_BUILD_ROOT/etc
echo "BasedOnopenSUSE" > $RPM_BUILD_ROOT/etc/SuSE-brand
v=$(rpm -q --queryformat %{VERSION} branding-openSUSE)
echo "VERSION = $v" >> $RPM_BUILD_ROOT/etc/SuSE-brand
cp /usr/share/doc/packages/branding-openSUSE/COPYING .
packages=""
#PSTART
packages="$packages awesome-branding-openSUSE"
packages="$packages compiz-branding-openSUSE"
packages="$packages dynamic-wallpaper-branding-openSUSE"
packages="$packages e17-branding-openSUSE"
packages="$packages epiphany-branding-openSUSE"
packages="$packages fcitx-branding-openSUSE"
packages="$packages gcin-branding-openSUSE"
packages="$packages gconf2-branding-openSUSE"
packages="$packages gdm-branding-openSUSE"
packages="$packages gfxboot-branding-openSUSE"
packages="$packages gio-branding-openSUSE"
packages="$packages gnome-menus-branding-openSUSE"
packages="$packages grub2-branding-openSUSE"
packages="$packages gtk2-branding-openSUSE"
packages="$packages gtk3-branding-openSUSE"
packages="$packages hicolor-icon-theme-branding-openSUSE"
packages="$packages install-initrd-branding-openSUSE"
packages="$packages kdebase3-SuSE-branding-openSUSE"
packages="$packages kdebase4-runtime-branding-openSUSE"
packages="$packages kdebase4-workspace-branding-openSUSE"
packages="$packages kdelibs4-branding-openSUSE"
packages="$packages kdm-branding-openSUSE"
packages="$packages ksplash-qml-branding-openSUSE"
packages="$packages ksplashx-branding-openSUSE"
packages="$packages libexo-1-0-branding-openSUSE"
packages="$packages libgarcon-branding-openSUSE"
packages="$packages libpurple-branding-openSUSE"
packages="$packages libreoffice-branding-openSUSE"
packages="$packages libsocialweb-branding-openSUSE"
packages="$packages libxfce4ui-branding-openSUSE"
packages="$packages lightdm-gtk-greeter-branding-openSUSE"
packages="$packages lxde-common-branding-openSUSE"
packages="$packages midori-branding-openSUSE"
packages="$packages MozillaFirefox-branding-openSUSE"
packages="$packages PackageKit-branding-openSUSE"
packages="$packages plymouth-branding-openSUSE"
packages="$packages splashy-branding-openSUSE"
packages="$packages susegreeter-branding-openSUSE"
packages="$packages systemd-presets-branding-openSUSE"
packages="$packages thunar-volman-branding-openSUSE"
packages="$packages wallpaper-branding-openSUSE"
packages="$packages xfce4-notifyd-branding-openSUSE"
packages="$packages xfce4-panel-branding-openSUSE"
packages="$packages xfce4-session-branding-openSUSE"
packages="$packages xfce4-settings-branding-openSUSE"
packages="$packages xfce4-splash-branding-openSUSE"
packages="$packages xfdesktop-branding-openSUSE"
packages="$packages xfwm4-branding-openSUSE"
packages="$packages yast2-branding-openSUSE"
packages="$packages yast2-qt-branding-openSUSE"
#PEND
for i in $packages; do
echo "%defattr(-,root,root)" > files.$i
rpm -q --qf '[F:%{FILEFLAGS:fflags} %{FILEVERIFYFLAGS:hex} %{FILENAMES}\n]' $i | while read flags verify file; do
case "$file" in
/usr/share/doc/packages*)
nfile=${file/branding-openSUSE/%name}
;;
*)
nfile=$file
;;
esac
if ! test -L "$file" && test -d "$file"; then
mkdir -p "$RPM_BUILD_ROOT$nfile"
echo "%dir $nfile" >> files.$i
else
mkdir -p $RPM_BUILD_ROOT/`dirname "$file"`
#cp -a "$file" "$RPM_BUILD_ROOT/$nfile"
case "$flags" in
*g*)
echo "%ghost $nfile" >> files.$i
;;
*)
cp -a "$file" "$RPM_BUILD_ROOT/$nfile"
chmod u+w "$RPM_BUILD_ROOT/$nfile" || true
echo "$nfile" >> files.$i
;;
esac
fi
done
done
export NO_BRP_STALE_LINK_ERROR=yes
# work arounds
rm -f $RPM_BUILD_ROOT/usr/share/kde4/apps/konsole/Root*
grep -v konsole/Root files.kdebase4-workspace-branding-openSUSE > t && mv t files.kdebase4-workspace-branding-openSUSE
echo "%dir /usr/share/kde4/env" >> files.kdebase4-workspace-branding-openSUSE
echo "%dir /usr/share/YaST2" >> files.yast2-branding-openSUSE
echo "/usr/lib/install-initrd" >> files.install-initrd-branding-openSUSE
# for 11.4 only?
echo "%dir /usr/share/epiphany" >> files.epiphany-branding-openSUSE
echo "%dir /etc/PackageKit" >> files.PackageKit-branding-openSUSE
echo "%dir /etc/gdm" >> files.gdm-branding-openSUSE
echo "%dir /etc/gtk-3.0" >> files.gtk3-branding-openSUSE
# now adapt theming
grep SUSEgreeter files.kdebase4-workspace-branding-openSUSE | grep -v %dir | while read file; do
rm -rf $RPM_BUILD_ROOT/$file
done
grep -v SUSEgreeter files.kdebase4-workspace-branding-openSUSE > t && mv t files.kdebase4-workspace-branding-openSUSE
#mv $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.bootsplash-branding-{openSUSE,basedonopensuse}
%if %{defined package_gfxboot}
rm -r $RPM_BUILD_ROOT/etc/bootsplash/themes/openSUSE
%endif
#grep -v "/etc/bootsplash/themes/openSUSE/config" files.bootsplash-branding-openSUSE > t && mv t files.bootsplash-branding-openSUSE
#echo "/etc/bootsplash/themes/basedonopensuse/config" >> files.bootsplash-branding-openSUSE
#sed -i -e 's,openSUSE,basedonopensuse,' files.bootsplash-branding-openSUSE
sed -i -e 's,openSUSE,basedonopensuse,' files.gfxboot-branding-openSUSE
sed -i -e 's,openSUSE,basedonopensuse,' files.grub2-branding-openSUSE
sed -i -e 's,openSUSE,basedonopensuse,g' files.plymouth-branding-openSUSE
# 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/basedonopensuse/{bootloader,cdrom}
cp gfx/openSUSE/bootlogo %{buildroot}/etc/bootsplash/themes/basedonopensuse/cdrom
/usr/share/gfxboot/bin/unpack_bootlogo %{buildroot}/etc/bootsplash/themes/basedonopensuse/cdrom
install -m 644 gfx/openSUSE/{message,po/*.tr,help-boot/*.hlp} %{buildroot}/etc/bootsplash/themes/basedonopensuse/bootloader
/usr/share/gfxboot/bin/2hl --link --quiet %{buildroot}/etc/bootsplash/themes/basedonopensuse/*
touch %{buildroot}/boot/message
fi
rm -rf %{buildroot}/usr/share/kde4/apps/ksplash/Themes/ksplash-qml-openSUSE
rm -rf %{buildroot}/usr/share/kde4/apps/ksplash/Themes/ksplashx-suse
rm -rf %{buildroot}/usr/share/YaST2/theme/openSUSE/wizard/
rm -rf %{buildroot}/usr/share/kde4/apps/kdm
rm -rf %{buildroot}/usr/share/grub2/themes/openSUSE %{buildroot}/usr/share/grub2/backgrounds/openSUSE
rm -rf %{buildroot}/usr/share/plymouth/themes/openSUSE
make -C openSUSE install DESTDIR=%{buildroot} THEME=%theme_name
#sed -i -e 's,openSUSE,basedonopensuse,' $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.bootsplash-branding-basedonopensuse
mv %{buildroot}/usr/share/plymouth/themes/basedonopensuse/openSUSE.plymouth %{buildroot}/usr/share/plymouth/themes/basedonopensuse/basedonopensuse.plymouth
mv %{buildroot}/usr/share/plymouth/themes/basedonopensuse/openSUSE.script %{buildroot}/usr/share/plymouth/themes/basedonopensuse/basedonopensuse.script
sed -i -e 's,openSUSE,basedonopensuse,g' %{buildroot}/usr/share/plymouth/themes/basedonopensuse/basedonopensuse.plymouth
# 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*
touch %{buildroot}/usr/share/wallpapers/openSUSE-default.xml
pushd %{buildroot}/usr/lib/install-initrd
cp -a /usr/lib/install-initrd/openSUSE basedonopensuse
ln -s basedonopensuse branding
%files
%defattr(-,root,root)
%doc COPYING
/etc/SuSE-brand
# TIL HERE
%package -n awesome-branding-basedonopensuse
Summary: Provides awesome branding
License: GPL-2.0+
Group: System/Fhs
Provides: awesome-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(awesome-branding)
Supplements: packageand(awesome:branding-basedonopensuse)
Requires: awesome-freedesktop
Requires: awesome-vicious
Requires: gnome-icon-theme
Requires: nitrogen
Requires: wallpaper-branding-basedonopensuse
Requires: xscreensaver
%description -n awesome-branding-basedonopensuse
Debranded copy of openSUSE branding for awesome
%files -f files.awesome-branding-openSUSE -n awesome-branding-basedonopensuse
%package -n compiz-branding-basedonopensuse
Summary: Provides compiz branding
License: HPND and GPL-2.0+ and LGPL-2.1+
Group: System/Fhs
Provides: compiz-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(compiz-branding)
Supplements: packageand(branding-basedonopensuse:compiz)
Requires: /bin/ln
Requires: /bin/rm
Requires: compiz
%description -n compiz-branding-basedonopensuse
Debranded copy of openSUSE branding for compiz
%files -f files.compiz-branding-openSUSE -n compiz-branding-basedonopensuse
%package -n dynamic-wallpaper-branding-basedonopensuse
Summary: Provides dynamic-wallpaper branding
License: BSD-3-Clause
Group: System/Fhs
Provides: dynamic-wallpaper-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(dynamic-wallpaper-branding)
Supplements: packageand(wallpaper-branding-basedonopensuse:gnome-settings-daemon)
Requires: update-alternatives
%description -n dynamic-wallpaper-branding-basedonopensuse
Debranded copy of openSUSE branding for dynamic-wallpaper
%files -f files.dynamic-wallpaper-branding-openSUSE -n dynamic-wallpaper-branding-basedonopensuse
%post -n dynamic-wallpaper-branding-basedonopensuse
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-basedonopensuse
# 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
%package -n e17-branding-basedonopensuse
Summary: Provides e17 branding
License: GPL-2.0
Group: System/Fhs
Provides: e17-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(e17-branding)
Supplements: packageand(e17:branding-basedonopensuse)
Requires: e-profiles-openSUSE
Requires: e-theme-default
%description -n e17-branding-basedonopensuse
Debranded copy of openSUSE branding for e17
%files -f files.e17-branding-openSUSE -n e17-branding-basedonopensuse
%package -n epiphany-branding-basedonopensuse
Summary: Provides epiphany branding
License: GPL-2.0+
Group: System/Fhs
Provides: epiphany-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(epiphany-branding)
Supplements: packageand(epiphany:branding-basedonopensuse)
Requires: epiphany
%description -n epiphany-branding-basedonopensuse
Debranded copy of openSUSE branding for epiphany
%files -f files.epiphany-branding-openSUSE -n epiphany-branding-basedonopensuse
%package -n fcitx-branding-basedonopensuse
Summary: Provides fcitx branding
License: GPL-2.0+
Group: System/Fhs
Provides: fcitx-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(fcitx-branding)
Supplements: packageand(fcitx:branding-basedonopensuse)
Requires: fcitx
%description -n fcitx-branding-basedonopensuse
Debranded copy of openSUSE branding for fcitx
%files -f files.fcitx-branding-openSUSE -n fcitx-branding-basedonopensuse
%package -n gcin-branding-basedonopensuse
Summary: Provides gcin branding
License: LGPL-2.1
Group: System/Fhs
Provides: gcin-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(gcin-branding)
Supplements: packageand(gcin:branding-basedonopensuse)
Requires: gcin
%description -n gcin-branding-basedonopensuse
Debranded copy of openSUSE branding for gcin
%files -f files.gcin-branding-openSUSE -n gcin-branding-basedonopensuse
%package -n gconf2-branding-basedonopensuse
Summary: Provides gconf2 branding
License: BSD-3-Clause
Group: System/Fhs
Provides: gconf2-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(gconf2-branding)
Supplements: packageand(gconf2:branding-basedonopensuse)
Requires: gconf2
%description -n gconf2-branding-basedonopensuse
Debranded copy of openSUSE branding for gconf2
%files -f files.gconf2-branding-openSUSE -n gconf2-branding-basedonopensuse
%package -n gdm-branding-basedonopensuse
Summary: Provides gdm branding
License: GPL-2.0+
Group: System/Fhs
Provides: gdm-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(gdm-branding)
Supplements: packageand(gdm:branding-basedonopensuse)
Requires: gdm
%description -n gdm-branding-basedonopensuse
Debranded copy of openSUSE branding for gdm
%files -f files.gdm-branding-openSUSE -n gdm-branding-basedonopensuse
%if %{defined package_gfxboot}
%package -n gfxboot-branding-basedonopensuse
Summary: Provides gfxboot branding
License: BSD-3-Clause
Group: System/Fhs
Provides: gfxboot-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(gfxboot-branding)
Supplements: packageand(gfxboot:branding-basedonopensuse)
Requires: gfxboot
%description -n gfxboot-branding-basedonopensuse
Debranded copy of openSUSE branding for gfxboot
%files -f files.gfxboot-branding-openSUSE -n gfxboot-branding-basedonopensuse
%post -n gfxboot-branding-basedonopensuse
gfxboot --update-theme basedonopensuse
%endif
%package -n gio-branding-basedonopensuse
Summary: Provides gio branding
License: BSD-3-Clause
Group: System/Fhs
Provides: gio-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(gio-branding)
Supplements: packageand(libgio-2_0-0:branding-basedonopensuse)
Requires: glib2-tools
Requires: wallpaper-branding-basedonopensuse
%description -n gio-branding-basedonopensuse
Debranded copy of openSUSE branding for gio
%files -f files.gio-branding-openSUSE -n gio-branding-basedonopensuse
%package -n gnome-menus-branding-basedonopensuse
Summary: Provides gnome-menus branding
License: LGPL-2.1+
Group: System/Fhs
Provides: gnome-menus-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(gnome-menus-branding)
Supplements: packageand(gnome-menus:branding-basedonopensuse)
Requires: gnome-menus
%description -n gnome-menus-branding-basedonopensuse
Debranded copy of openSUSE branding for gnome-menus
%files -f files.gnome-menus-branding-openSUSE -n gnome-menus-branding-basedonopensuse
%package -n grub2-branding-basedonopensuse
Summary: Provides grub2 branding
License: CC-BY-SA-3.0
Group: System/Fhs
Provides: grub2-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(grub2-branding)
Supplements: packageand(grub2:branding-basedonopensuse)
Requires: /usr/bin/perl
Requires: grub2
%description -n grub2-branding-basedonopensuse
Debranded copy of openSUSE branding for grub2
%files -f files.grub2-branding-openSUSE -n grub2-branding-basedonopensuse
%post -n grub2-branding-basedonopensuse
%{_datadir}/grub2/themes/%theme_name/activate-theme
if test -e /boot/grub2/grub.cfg ; then
/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true
elif test -e /boot/grub2-efi/grub.cfg ; then
/usr/sbin/grub2-efi-mkconfig -o /boot/grub2-efi/grub.cfg || true
fi
%postun -n grub2-branding-basedonopensuse
if [ $1 = 0 ] ; then
rm -rf /boot/grub2/themes/%theme_name
fi
%package -n gtk2-branding-basedonopensuse
Summary: Provides gtk2 branding
License: BSD-3-Clause
Group: System/Fhs
Provides: gtk2-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(gtk2-branding)
Supplements: packageand(gtk2:branding-basedonopensuse)
Requires: gnome-icon-theme
Requires: gtk2-metatheme-adwaita
%description -n gtk2-branding-basedonopensuse
Debranded copy of openSUSE branding for gtk2
%files -f files.gtk2-branding-openSUSE -n gtk2-branding-basedonopensuse
%package -n gtk3-branding-basedonopensuse
Summary: Provides gtk3 branding
License: BSD-3-Clause
Group: System/Fhs
Provides: gtk3-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(gtk3-branding)
Supplements: packageand(gtk3:branding-basedonopensuse)
Requires: gnome-icon-theme
Requires: gtk3-metatheme-adwaita
%description -n gtk3-branding-basedonopensuse
Debranded copy of openSUSE branding for gtk3
%files -f files.gtk3-branding-openSUSE -n gtk3-branding-basedonopensuse
%package -n hicolor-icon-theme-branding-basedonopensuse
Summary: Provides hicolor-icon-theme branding
License: GPL-2.0+
Group: System/Fhs
Provides: hicolor-icon-theme-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(hicolor-icon-theme-branding)
Supplements: packageand(hicolor-icon-theme:branding-basedonopensuse)
Requires: hicolor-icon-theme
%description -n hicolor-icon-theme-branding-basedonopensuse
Debranded copy of openSUSE branding for hicolor-icon-theme
%files -f files.hicolor-icon-theme-branding-openSUSE -n hicolor-icon-theme-branding-basedonopensuse
%package -n install-initrd-branding-basedonopensuse
Summary: Provides install-initrd branding
License: GPL-2.0+
Group: System/Fhs
Provides: install-initrd-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(install-initrd-branding)
Supplements: packageand(install-initrd:branding-basedonopensuse)
Requires: /bin/ln
Requires: install-initrd
%description -n install-initrd-branding-basedonopensuse
Debranded copy of openSUSE branding for install-initrd
%files -f files.install-initrd-branding-openSUSE -n install-initrd-branding-basedonopensuse
%package -n kdebase3-SuSE-branding-basedonopensuse
Summary: Provides kdebase3-SuSE branding
License: GPL-2.0+
Group: System/Fhs
Provides: kdebase3-SuSE-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(kdebase3-SuSE-branding)
Supplements: packageand(kdebase3-SuSE:branding-basedonopensuse)
%description -n kdebase3-SuSE-branding-basedonopensuse
Debranded copy of openSUSE branding for kdebase3-SuSE
%files -f files.kdebase3-SuSE-branding-openSUSE -n kdebase3-SuSE-branding-basedonopensuse
%package -n kdebase4-runtime-branding-basedonopensuse
Summary: Provides kdebase4-runtime branding
License: GPL-2.0+
Group: System/Fhs
Provides: kdebase4-runtime-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(kdebase4-runtime-branding)
Supplements: packageand(kdebase4-runtime:branding-basedonopensuse)
Requires: coreutils
Requires: diffutils
Requires: fillup
Requires: grep
Requires: kdebase4-runtime
%description -n kdebase4-runtime-branding-basedonopensuse
Debranded copy of openSUSE branding for kdebase4-runtime
%files -f files.kdebase4-runtime-branding-openSUSE -n kdebase4-runtime-branding-basedonopensuse
%package -n kdebase4-workspace-branding-basedonopensuse
Summary: Provides kdebase4-workspace branding
License: GPL-2.0+
Group: System/Fhs
Provides: kdebase4-workspace-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(kdebase4-workspace-branding)
Supplements: packageand(kdebase4-workspace:branding-basedonopensuse)
Requires: /bin/bash
Requires: coreutils
Requires: diffutils
Requires: fillup
Requires: grep
Requires: kdebase4-runtime
Requires: kdebase4-workspace
Requires: ksplashx-branding-basedonopensuse
Requires: susegreeter-branding-basedonopensuse
Requires: wallpaper-branding-basedonopensuse
%description -n kdebase4-workspace-branding-basedonopensuse
Debranded copy of openSUSE branding for kdebase4-workspace
%files -f files.kdebase4-workspace-branding-openSUSE -n kdebase4-workspace-branding-basedonopensuse
%package -n kdelibs4-branding-basedonopensuse
Summary: Provides kdelibs4 branding
License: BSD-3-Clause
Group: System/Fhs
Provides: kdelibs4-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(kdelibs4-branding)
Supplements: packageand(kdelibs4:branding-basedonopensuse)
Requires: kdelibs4
%description -n kdelibs4-branding-basedonopensuse
Debranded copy of openSUSE branding for kdelibs4
%files -f files.kdelibs4-branding-openSUSE -n kdelibs4-branding-basedonopensuse
%package -n kdm-branding-basedonopensuse
Summary: Provides kdm branding
License: BSD-3-Clause
Group: System/Fhs
Provides: kdm-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(kdm-branding)
Supplements: packageand(kdm:branding-basedonopensuse)
Requires: coreutils
Requires: diffutils
Requires: fillup
Requires: grep
Requires: wallpaper-branding-basedonopensuse
%description -n kdm-branding-basedonopensuse
Debranded copy of openSUSE branding for kdm
%files -f files.kdm-branding-openSUSE -n kdm-branding-basedonopensuse
%package -n ksplash-qml-branding-basedonopensuse
Summary: Provides ksplash-qml branding
License: BSD-3-Clause
Group: System/Fhs
Provides: ksplash-qml-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(ksplash-qml-branding)
Supplements: packageand(kdebase4-workspace:branding-basedonopensuse)
Requires: wallpaper-branding-basedonopensuse
%description -n ksplash-qml-branding-basedonopensuse
Debranded copy of openSUSE branding for ksplash-qml
%files -f files.ksplash-qml-branding-openSUSE -n ksplash-qml-branding-basedonopensuse
%package -n ksplashx-branding-basedonopensuse
Summary: Provides ksplashx branding
License: BSD-3-Clause
Group: System/Fhs
Provides: ksplashx-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(ksplashx-branding)
Supplements: packageand(kdebase4-workspace:branding-basedonopensuse)
Requires: wallpaper-branding-basedonopensuse
%description -n ksplashx-branding-basedonopensuse
Debranded copy of openSUSE branding for ksplashx
%files -f files.ksplashx-branding-openSUSE -n ksplashx-branding-basedonopensuse
%package -n libexo-1-0-branding-basedonopensuse
Summary: Provides libexo-1-0 branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: libexo-1-0-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(libexo-1-0-branding)
Supplements: packageand(libexo-1-0:branding-basedonopensuse)
%description -n libexo-1-0-branding-basedonopensuse
Debranded copy of openSUSE branding for libexo-1-0
%files -f files.libexo-1-0-branding-openSUSE -n libexo-1-0-branding-basedonopensuse
%package -n libgarcon-branding-basedonopensuse
Summary: Provides libgarcon branding
License: CC-BY-SA-3.0 and GPL-2.0
Group: System/Fhs
Provides: libgarcon-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(libgarcon-branding)
Supplements: packageand(libgarcon-data:branding-basedonopensuse)
Requires: desktop-data-openSUSE
Requires: wallpaper-branding
Requires: xfce4-settings-branding-basedonopensuse
%description -n libgarcon-branding-basedonopensuse
Debranded copy of openSUSE branding for libgarcon
%files -f files.libgarcon-branding-openSUSE -n libgarcon-branding-basedonopensuse
%package -n libpurple-branding-basedonopensuse
Summary: Provides libpurple branding
License: BSD-3-Clause
Group: System/Fhs
Provides: libpurple-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(libpurple-branding)
Supplements: packageand(libpurple:branding-basedonopensuse)
Supplements: packageand(pidgin:branding-upstream)
%description -n libpurple-branding-basedonopensuse
Debranded copy of openSUSE branding for libpurple
%files -f files.libpurple-branding-openSUSE -n libpurple-branding-basedonopensuse
%package -n libreoffice-branding-basedonopensuse
Summary: Provides libreoffice branding
License: BSD-3-Clause
Group: System/Fhs
Provides: libreoffice-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(libreoffice-branding)
Supplements: packageand(branding-basedonopensuse:libreoffice)
%description -n libreoffice-branding-basedonopensuse
Debranded copy of openSUSE branding for libreoffice
%files -f files.libreoffice-branding-openSUSE -n libreoffice-branding-basedonopensuse
%package -n libsocialweb-branding-basedonopensuse
Summary: Provides libsocialweb branding
License: SUSE-Public-Domain
Group: System/Fhs
Provides: libsocialweb-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(libsocialweb-branding)
Supplements: packageand(libsocialweb:branding-basedonopensuse)
%description -n libsocialweb-branding-basedonopensuse
Debranded copy of openSUSE branding for libsocialweb
%files -f files.libsocialweb-branding-openSUSE -n libsocialweb-branding-basedonopensuse
%package -n libxfce4ui-branding-basedonopensuse
Summary: Provides libxfce4ui branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: libxfce4ui-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(libxfce4ui-branding)
Supplements: packageand(libxfce4ui-1-0:branding-basedonopensuse)
%description -n libxfce4ui-branding-basedonopensuse
Debranded copy of openSUSE branding for libxfce4ui
%files -f files.libxfce4ui-branding-openSUSE -n libxfce4ui-branding-basedonopensuse
%package -n lightdm-gtk-greeter-branding-basedonopensuse
Summary: Provides lightdm-gtk-greeter branding
License: GPL-3.0+
Group: System/Fhs
Provides: lightdm-gtk-greeter-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(lightdm-gtk-greeter-branding)
Supplements: packageand(lightdm-gtk-greeter:branding-basedonopensuse)
Requires: gtk3-metatheme-adwaita
Requires: lightdm-gtk-greeter
Requires: wallpaper-branding
%description -n lightdm-gtk-greeter-branding-basedonopensuse
Debranded copy of openSUSE branding for lightdm-gtk-greeter
%files -f files.lightdm-gtk-greeter-branding-openSUSE -n lightdm-gtk-greeter-branding-basedonopensuse
%package -n lxde-common-branding-basedonopensuse
Summary: Provides lxde-common branding
License: GPL-2.0
Group: System/Fhs
Provides: lxde-common-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(lxde-common-branding)
Supplements: packageand(lxde-common:branding-basedonopensuse)
Requires: desktop-data-openSUSE
Requires: wallpaper-branding-basedonopensuse
%description -n lxde-common-branding-basedonopensuse
Debranded copy of openSUSE branding for lxde-common
%files -f files.lxde-common-branding-openSUSE -n lxde-common-branding-basedonopensuse
%package -n midori-branding-basedonopensuse
Summary: Provides midori branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: midori-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(midori-branding)
Supplements: packageand(midori:branding-basedonopensuse)
%description -n midori-branding-basedonopensuse
Debranded copy of openSUSE branding for midori
%files -f files.midori-branding-openSUSE -n midori-branding-basedonopensuse
%package -n MozillaFirefox-branding-basedonopensuse
Summary: Provides MozillaFirefox branding
License: BSD-3-Clause and GPL-2.0+
Group: System/Fhs
Provides: MozillaFirefox-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(MozillaFirefox-branding)
Supplements: packageand(MozillaFirefox:branding-basedonopensuse)
Supplements: packageand(firefox-esr:branding-basedonopensuse)
%description -n MozillaFirefox-branding-basedonopensuse
Debranded copy of openSUSE branding for MozillaFirefox
%files -f files.MozillaFirefox-branding-openSUSE -n MozillaFirefox-branding-basedonopensuse
%package -n PackageKit-branding-basedonopensuse
Summary: Provides PackageKit branding
License: GPL-2.0+
Group: System/Fhs
Provides: PackageKit-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(PackageKit-branding)
Supplements: packageand(PackageKit:branding-basedonopensuse)
Requires: PackageKit
%description -n PackageKit-branding-basedonopensuse
Debranded copy of openSUSE branding for PackageKit
%files -f files.PackageKit-branding-openSUSE -n PackageKit-branding-basedonopensuse
%package -n plymouth-branding-basedonopensuse
Summary: Provides plymouth branding
License: GPL-2.0+
Group: System/Fhs
Provides: plymouth-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(plymouth-branding)
Supplements: packageand(plymouth:branding-basedonopensuse)
Requires: plymouth-plugin-label
Requires: plymouth-plugin-script
Requires: plymouth-scripts
%description -n plymouth-branding-basedonopensuse
Debranded copy of openSUSE branding for plymouth
%files -f files.plymouth-branding-openSUSE -n plymouth-branding-basedonopensuse
%post -n plymouth-branding-basedonopensuse
if [ ! -e /.buildenv ]; then
export LIB=%{_libdir}
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" -o "$(%{_sbindir}/plymouth-set-default-theme)" == "openSUSE" -o "$(%{_sbindir}/plymouth-set-default-theme)" == "basedonopensuse" ]; then
%{_sbindir}/plymouth-set-default-theme -R openSUSE
fi
fi
%postun -n plymouth-branding-basedonopensuse
if [ $1 -eq 0 ]; then
export LIB=%{_libdir}
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "basedonopensuse" ]; then
%{_sbindir}/plymouth-set-default-theme -R --reset
fi
fi
%package -n splashy-branding-basedonopensuse
Summary: Provides splashy branding
License: GPL-2.0+
Group: System/Fhs
Provides: splashy-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(splashy-branding)
Supplements: packageand(splashy:branding-basedonopensuse)
Requires: splashy
%description -n splashy-branding-basedonopensuse
Debranded copy of openSUSE branding for splashy
%files -f files.splashy-branding-openSUSE -n splashy-branding-basedonopensuse
%package -n susegreeter-branding-basedonopensuse
Summary: Provides susegreeter branding
License: BSD-3-Clause
Group: System/Fhs
Provides: susegreeter-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(susegreeter-branding)
%description -n susegreeter-branding-basedonopensuse
Debranded copy of openSUSE branding for susegreeter
%files -f files.susegreeter-branding-openSUSE -n susegreeter-branding-basedonopensuse
%package -n systemd-presets-branding-basedonopensuse
Summary: Provides systemd-presets branding
License: GPL-2.0+
Group: System/Fhs
Provides: systemd-presets-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(systemd-presets-branding)
Supplements: packageand(systemd:branding-basedonopensuse)
Requires: systemd
%description -n systemd-presets-branding-basedonopensuse
Debranded copy of openSUSE branding for systemd-presets
%files -f files.systemd-presets-branding-openSUSE -n systemd-presets-branding-basedonopensuse
%package -n thunar-volman-branding-basedonopensuse
Summary: Provides thunar-volman branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: thunar-volman-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(thunar-volman-branding)
Supplements: packageand(thunar-volman:branding-basedonopensuse)
%description -n thunar-volman-branding-basedonopensuse
Debranded copy of openSUSE branding for thunar-volman
%files -f files.thunar-volman-branding-openSUSE -n thunar-volman-branding-basedonopensuse
%package -n wallpaper-branding-basedonopensuse
Summary: Provides wallpaper branding
License: BSD-3-Clause
Group: System/Fhs
Provides: wallpaper-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(wallpaper-branding)
Supplements: packageand(wallpaper-branding-basedonopensuse:gnome-settings-daemon)
Requires: update-alternatives
%description -n wallpaper-branding-basedonopensuse
Debranded copy of openSUSE branding for wallpaper
%files -f files.wallpaper-branding-openSUSE -n wallpaper-branding-basedonopensuse
%post -n wallpaper-branding-basedonopensuse
update-alternatives --install /usr/share/wallpapers/openSUSE-default.xml openSUSE-default.xml /usr/share/wallpapers/openSUSE-default-static.xml 5
%postun -n wallpaper-branding-basedonopensuse
# 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
%package -n xfce4-notifyd-branding-basedonopensuse
Summary: Provides xfce4-notifyd branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: xfce4-notifyd-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(xfce4-notifyd-branding)
Supplements: packageand(xfce4-notifyd:branding-basedonopensuse)
%description -n xfce4-notifyd-branding-basedonopensuse
Debranded copy of openSUSE branding for xfce4-notifyd
%files -f files.xfce4-notifyd-branding-openSUSE -n xfce4-notifyd-branding-basedonopensuse
%package -n xfce4-panel-branding-basedonopensuse
Summary: Provides xfce4-panel branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: xfce4-panel-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(xfce4-panel-branding)
Supplements: packageand(xfce4-panel:branding-basedonopensuse)
%description -n xfce4-panel-branding-basedonopensuse
Debranded copy of openSUSE branding for xfce4-panel
%files -f files.xfce4-panel-branding-openSUSE -n xfce4-panel-branding-basedonopensuse
%package -n xfce4-session-branding-basedonopensuse
Summary: Provides xfce4-session branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: xfce4-session-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(xfce4-session-branding)
Supplements: packageand(xfce4-session:branding-basedonopensuse)
Requires: desktop-file-utils
%description -n xfce4-session-branding-basedonopensuse
Debranded copy of openSUSE branding for xfce4-session
%files -f files.xfce4-session-branding-openSUSE -n xfce4-session-branding-basedonopensuse
%package -n xfce4-settings-branding-basedonopensuse
Summary: Provides xfce4-settings branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: xfce4-settings-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(xfce4-settings-branding)
Supplements: packageand(xfce4-settings:branding-basedonopensuse)
Requires: desktop-data-openSUSE
Requires: gtk2-metatheme-adwaita
Requires: gtk3-metatheme-adwaita
Requires: openSUSE-xfce-icon-theme
Requires: xfce4-splash-branding-basedonopensuse
%description -n xfce4-settings-branding-basedonopensuse
Debranded copy of openSUSE branding for xfce4-settings
%files -f files.xfce4-settings-branding-openSUSE -n xfce4-settings-branding-basedonopensuse
%package -n xfce4-splash-branding-basedonopensuse
Summary: Provides xfce4-splash branding
License: CC-BY-SA-3.0
Group: System/Fhs
Provides: xfce4-splash-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(xfce4-splash-branding)
%description -n xfce4-splash-branding-basedonopensuse
Debranded copy of openSUSE branding for xfce4-splash
%files -f files.xfce4-splash-branding-openSUSE -n xfce4-splash-branding-basedonopensuse
%package -n xfdesktop-branding-basedonopensuse
Summary: Provides xfdesktop branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: xfdesktop-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(xfdesktop-branding)
Supplements: packageand(xfdesktop:branding-basedonopensuse)
Requires: desktop-data-openSUSE
Requires: wallpaper-branding
%description -n xfdesktop-branding-basedonopensuse
Debranded copy of openSUSE branding for xfdesktop
%files -f files.xfdesktop-branding-openSUSE -n xfdesktop-branding-basedonopensuse
%package -n xfwm4-branding-basedonopensuse
Summary: Provides xfwm4 branding
License: CC-BY-SA-3.0 and GPL-2.0+
Group: System/Fhs
Provides: xfwm4-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(xfwm4-branding)
Supplements: packageand(xfwm4:branding-basedonopensuse)
Requires: fifth-leg-font
%description -n xfwm4-branding-basedonopensuse
Debranded copy of openSUSE branding for xfwm4
%files -f files.xfwm4-branding-openSUSE -n xfwm4-branding-basedonopensuse
%package -n yast2-branding-basedonopensuse
Summary: Provides yast2 branding
License: GPL-2.0+
Group: System/Fhs
Provides: yast2-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(yast2-branding)
Supplements: packageand(yast2-qt:branding-basedonopensuse)
Supplements: packageand(yast2-gtk:branding-basedonopensuse)
Supplements: packageand(yast2-qt:branding-upstream)
Supplements: packageand(yast2-gtk:branding-upstream)
Requires: yast2-theme-openSUSE-any
%description -n yast2-branding-basedonopensuse
Debranded copy of openSUSE branding for yast2
%files -f files.yast2-branding-openSUSE -n yast2-branding-basedonopensuse
%package -n yast2-qt-branding-basedonopensuse
Summary: Provides yast2-qt branding
License: BSD-3-Clause
Group: System/Fhs
Provides: yast2-qt-branding
Requires: branding-basedonopensuse
Conflicts: otherproviders(yast2-qt-branding)
Supplements: packageand(yast2-qt:branding-basedonopensuse)
%description -n yast2-qt-branding-basedonopensuse
Debranded copy of openSUSE branding for yast2-qt
%files -f files.yast2-qt-branding-openSUSE -n yast2-qt-branding-basedonopensuse
%changelog