File xfce4-branding-openSUSE.spec of Package xfce4-branding-openSUSE
#
# spec file for package xfce4-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/
#
%define xfce4_panel_version %(rpm -q --queryformat '%{VERSION}' xfce4-panel)
%define xfce4_session_version %(rpm -q --queryformat '%{VERSION}' xfce4-session)
%define xfce4_settings_version %(rpm -q --queryformat '%{VERSION}' xfce4-settings)
%define xfdesktop_version %(rpm -q --queryformat '%{VERSION}' xfdesktop)
%define libgarcon_version %(rpm -q --queryformat '%{VERSION}' libgarcon-1-0)
%define libxfce4ui_version %(rpm -q --queryformat '%{VERSION}' libxfce4ui)
%define xfce4_notifyd_version %(rpm -q --queryformat '%{VERSION}' xfce4-notifyd)
%define exo_version %(rpm -q --queryformat '%{VERSION}' exo)
%define xfwm4_version %(rpm -q --queryformat '%{VERSION}' xfwm4)
Name: xfce4-branding-openSUSE
Version: 4.8.0
Release: 16.<RELEASE3>
License: GPLv2+
Summary: openSUSE branding of the Xfce desktop environment
Url: http://www.xfce.org/
Group: System/GUI/XFCE
Source: %{name}-%{version}.tar.bz2
Source1: COPYING
Source2: COPYING.xfce4-splash-openSUSE
BuildRequires: xfce4-session-branding-upstream
BuildRequires: exo
BuildRequires: xfce4-panel
BuildRequires: xfce4-session
BuildRequires: xfce4-settings
BuildRequires: xfdesktop
BuildRequires: libgarcon-1-0
BuildRequires: libxfce4ui
BuildRequires: xfce4-notifyd
BuildRequires: xfwm4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package provides the openSUSE look and feel for the Xfce desktop environment.
%package -n xfce4-panel-branding-openSUSE
License: GPLv2+
Summary: openSUSE branding of xfce4-panel
Group: System/GUI/XFCE
Requires: exo
Conflicts: otherproviders(xfce4-panel-branding)
Provides: xfce4-panel-branding = %{xfce4_panel_version}
Supplements: packageand(xfce4-panel:branding-openSUSE)
%description -n xfce4-panel-branding-openSUSE
This package provides the openSUSE look and feel for the Xfce Panel.
%package -n xfce4-session-branding-openSUSE
License: GPLv2+
Summary: openSUSE branding of xfce4-session
Group: System/GUI/XFCE
Conflicts: otherproviders(xfce4-session-branding)
Provides: xfce4-session-branding = %{xfce4_session_version}
Supplements: packageand(xfce4-session:branding-openSUSE)
%description -n xfce4-session-branding-openSUSE
This package provides the openSUSE look and feel for the Xfce Session Manager.
%package -n xfce4-settings-branding-openSUSE
License: GPLv2+ and CC-BY-SA
Summary: openSUSE branding of xfce4-settings
Group: System/GUI/XFCE
# should bring in either desktop-data-openSUSE or desktop-data-SLED
Requires: desktop-data
Requires: gtk2-metatheme-sonar
Conflicts: otherproviders(xfce4-settings-branding)
Provides: xfce4-settings-branding = %{xfce4_settings_version}
Supplements: packageand(xfce4-settings:branding-openSUSE)
%description -n xfce4-settings-branding-openSUSE
This package provides the openSUSE look and feel for Xfce.
%package -n xfdesktop-branding-openSUSE
License: GPLv2+
Summary: openSUSE branding of xfce4-settings
Group: System/GUI/XFCE
# should bring in either desktop-data-openSUSE or desktop-data-SLED
Requires: desktop-data
Conflicts: otherproviders(xfdesktop-branding)
Provides: xfdesktop-branding = %{xfdesktop_version}
Provides: xfce4-desktop-branding-openSUSE = %{xfdesktop_version}
Obsoletes: xfce4-desktop-branding-openSUSE < %{xfdesktop_version}
Supplements: packageand(xfdesktop:branding-openSUSE)
%description -n xfdesktop-branding-openSUSE
This package provides the openSUSE look and feel for the Xfce Desktop Manager.
%package -n libgarcon-branding-openSUSE
License: GPLv2+
Summary: openSUSE branding of libgarcon-1-0
Group: System/GUI/XFCE
# should bring in either desktop-data-openSUSE or desktop-data-SLED
Requires: desktop-data
Conflicts: otherproviders(libgarcon-branding)
Provides: libgarcon-branding = %{libgarcon_version}
Supplements: packageand(libgarcon-1-0:branding-openSUSE)
%description -n libgarcon-branding-openSUSE
This package provides the openSUSE look and feel for Garcon.
%package -n libxfce4ui-branding-openSUSE
License: GPLv2+
Summary: openSUSE branding of libxfce4ui
Group: System/GUI/XFCE
Conflicts: otherproviders(libxfce4ui-branding)
Provides: libxfce4ui-branding = %{libxfce4ui_version}
Supplements: packageand(libxfce4ui:branding-openSUSE)
%description -n libxfce4ui-branding-openSUSE
This package provides the openSUSE look and feel for the libxfce4ui library.
%package -n xfce4-notifyd-branding-openSUSE
License: GPLv2+
Summary: openSUSE branding of xfce4-notifyd
Group: System/GUI/XFCE
Conflicts: otherproviders(xfce4-notifyd-branding)
Provides: xfce4-notifyd-branding = %{xfce4_notifyd_version}
Supplements: packageand(xfce4-notifyd:branding-openSUSE)
%description -n xfce4-notifyd-branding-openSUSE
This package provides the openSUSE look and feel for the Xfce Notification Daemon.
%package -n exo-branding-openSUSE
License: GPLv2+
Summary: openSUSE branding of exo
Group: System/GUI/XFCE
Conflicts: otherproviders(exo-branding)
Provides: exo-branding = %{exo_version}
Supplements: packageand(exo:branding-openSUSE)
%description -n exo-branding-openSUSE
This package provides the openSUSE look and feel for the exo library.
%package -n xfwm4-branding-openSUSE
License: GPLv2+
Summary: openSUSE branding of xfwm4
Group: System/GUI/XFCE
Requires: fifth-leg-font
Conflicts: otherproviders(xfwm4-branding)
Provides: xfwm4-branding = %{xfwm4_version}
Supplements: packageand(xfwm4:branding-openSUSE)
%description -n xfwm4-branding-openSUSE
This package provides the openSUSE look and feel for the xfwm4 window manager.
%prep
%setup -q
cp -p %{SOURCE1} .
cp -p %{SOURCE2} .
%build
sed 's|Hidden=false|Hidden=true|' \
%{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop \
>etc/xdg/autostart/xfce4-tips-autostart.desktop
%install
find etc usr -depth -print | cpio -pvd %{buildroot}
%clean
rm -rf %{buildroot}
%files -n xfce4-panel-branding-openSUSE
%defattr(-,root,root)
%doc COPYING
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
%{_datadir}/pixmaps/xfce4-suse.png
%files -n xfce4-session-branding-openSUSE
%defattr(-,root,root)
%doc COPYING
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
%config %{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop
%files -n xfce4-settings-branding-openSUSE
%defattr(-,root,root)
%doc COPYING
%doc COPYING.xfce4-splash-openSUSE
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
%{_datadir}/pixmaps/xfce4-splash-openSUSE.png
%files -n xfdesktop-branding-openSUSE
%defattr(-,root,root)
%doc COPYING
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
%files -n libgarcon-branding-openSUSE
%defattr(-,root,root)
%doc COPYING
%dir %{_sysconfdir}/xdg/menus
%config %{_sysconfdir}/xdg/menus/xfce-applications.menu
%files -n libxfce4ui-branding-openSUSE
%defattr(-,root,root)
%doc COPYING
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
%files -n xfce4-notifyd-branding-openSUSE
%defattr(-,root,root)
%doc COPYING
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
%files -n exo-branding-openSUSE
%defattr(-,root,root)
%doc COPYING
%dir %{_sysconfdir}/xdg/xfce4
%config %{_sysconfdir}/xdg/xfce4/helpers.rc
%files -n xfwm4-branding-openSUSE
%defattr(-,root,root)
%doc COPYING
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
%changelog