LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libreoffice-icon-themes.spec of Package libreoffice (Project LibreOffice:Unstable)

#
# spec file for package libreoffice-icon-themes
#
# Copyright (c) 2012 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:           libreoffice-icon-themes
Version:        3.6.3.2.2
Release:        0
%define         ooo_home          libreoffice
BuildRequires:  libreoffice-icon-themes-prebuilt = %version
# compat stuff
Provides:       OpenOffice_org-icon-themes = %version
Obsoletes:      OpenOffice_org-icon-themes <= %version
Provides:       OpenOffice_org:%_libdir/%ooo_home/share/config/images.zip
Summary:        Icon Themes for LibreOffice
License:        LGPL-3.0
Group:          Productivity/Office/Suite
Url:            http://www.documentfoundation.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch:  %ix86 x86_64 ppc
BuildArch:      noarch

%description
This package provides various icon themes for the LibreOffice office
suite.


%if 0%{?suse_version} > 01110

%package -n libreoffice-icon-theme-crystal
Summary:        Crystal LibreOffice Icon Theme (KDE3 default)
License:        LGPL-2.1
Group:          Productivity/Office/Suite
Supplements:    packageand(libreoffice:kdebase3-session)
# compat stuff
Provides:       OpenOffice_org-icon-theme-crystal = %version
Obsoletes:      OpenOffice_org-icon-theme-crystal <= %version
Provides:       OpenOffice_org-icon-themes = %version
Provides:       OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3/share/config/images_crystal.zip
Obsoletes:      OpenOffice_org-icon-themes <= %version
Provides:       libreoffice-icon-themes = %version
Obsoletes:      libreoffice-icon-themes <= %version

%description -n libreoffice-icon-theme-crystal
This package provides Crystal LibreOffice icon theme. It is used in KDE3 by default.


%package -n libreoffice-icon-theme-galaxy
Summary:        Galaxy LibreOffice Icon Theme (OOo-3.x default)
License:        LGPL-3.0
Group:          Productivity/Office/Suite
Supplements:    libreoffice
# compat stuff
Provides:       OpenOffice_org-icon-theme-galaxy = %version
Obsoletes:      OpenOffice_org-icon-theme-galaxy <= %version
Provides:       OpenOffice_org-icon-themes = %version
Provides:       OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3/share/config/images.zip
Obsoletes:      OpenOffice_org-icon-themes <= %version
Provides:       libreoffice-icon-themes = %version
Obsoletes:      libreoffice-icon-themes <= %version
# Andromeda icon theme is not longer available
Provides:       OpenOffice_org-icon-theme-andromeda = %version
Obsoletes:      OpenOffice_org-icon-theme-andromeda <= %version
Provides:       libreoffice-icon-theme-andromeda = %version
Obsoletes:      libreoffice-icon-theme-andromeda <= %version

%description -n libreoffice-icon-theme-galaxy
This package provides Galaxy LibreOffice icon theme. It is used in the original OOo-3.x by default.

%package -n libreoffice-icon-theme-hicontrast
Summary:        Hicontrast LibreOffice Icon Theme
License:        LGPL-3.0
Group:          Productivity/Office/Suite
Supplements:    libreoffice
# compat stuff
Provides:       OpenOffice_org-icon-theme-hicontrast = %version
Obsoletes:      OpenOffice_org-icon-theme-hicontrast <= %version
Provides:       OpenOffice_org-icon-themes = %version
Provides:       OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3/share/config/images_hicontrast.zip
Obsoletes:      OpenOffice_org-icon-themes <= %version
Provides:       libreoffice-icon-themes = %version
Obsoletes:      libreoffice-icon-themes <= %version

%description -n libreoffice-icon-theme-hicontrast
This package provides Hicontrast LibreOffice icon theme.


%package -n libreoffice-icon-theme-oxygen
Summary:        Oxygen LibreOffice Icon Theme (KDE4 default)
License:        LGPL-3.0 or CC-BY-SA-3.0
Group:          Productivity/Office/Suite
Supplements:    packageand(libreoffice:kdebase4-workspace)
# compat stuff
Provides:       OpenOffice_org-icon-theme-oxygen = %version
Obsoletes:      OpenOffice_org-icon-theme-oxygen <= %version
Provides:       OpenOffice_org-icon-themes = %version
Provides:       OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3/share/config/images_oxygen.zip
Obsoletes:      OpenOffice_org-icon-themes <= %version
Provides:       libreoffice-icon-themes = %version
Obsoletes:      libreoffice-icon-themes <= %version

%description -n libreoffice-icon-theme-oxygen
This package provides Oxygen LibreOffice icon theme. It is used in KDE4 by default.


%package -n libreoffice-icon-theme-tango
Summary:        Tango LibreOffice Icon Theme (GNOME default)
License:        LGPL-3.0
Group:          Productivity/Office/Suite
Supplements:    packageand(libreoffice:gnome-session)
# compat stuff
Provides:       OpenOffice_org-icon-theme-tango = %version
Obsoletes:      OpenOffice_org-icon-theme-tango <= %version
Provides:       OpenOffice_org-icon-themes = %version
Provides:       OpenOffice_org-icon-themes:%_datadir/%ooo_home/basis3.3//share/config/images_tango.zip
Obsoletes:      OpenOffice_org-icon-themes <= %version
Provides:       libreoffice-icon-themes = %version
Obsoletes:      libreoffice-icon-themes <= %version
Provides:       OpenOffice_org-icon-theme-industrial = %version
Obsoletes:      OpenOffice_org-icon-theme-industrial <= %version

%description -n libreoffice-icon-theme-tango
This package provides Tango LibreOffice icon theme. It is used in GNOME by default
and obsoleted the old Industrial theme.

%endif

%prep

%build

%install
install -m 755 -d $RPM_BUILD_ROOT%_datadir/%ooo_home/share/config
install -m644 %_libdir/%ooo_home/share/config/images*.zip $RPM_BUILD_ROOT%_datadir/%ooo_home/share/config/

%clean
rm -rf $RPM_BUILD_ROOT

%if 0%{?suse_version} > 01110

%files -n libreoffice-icon-theme-crystal
%defattr(-,root,root)
%dir %_datadir/%ooo_home
%dir %_datadir/%ooo_home/share
%dir %_datadir/%ooo_home/share/config
%_datadir/%ooo_home/share/config/images_crystal.zip

%files -n libreoffice-icon-theme-galaxy
%defattr(-,root,root)
%dir %_datadir/%ooo_home
%dir %_datadir/%ooo_home/share
%dir %_datadir/%ooo_home/share/config
%_datadir/%ooo_home/share/config/images.zip

%files -n libreoffice-icon-theme-hicontrast
%defattr(-,root,root)
%dir %_datadir/%ooo_home
%dir %_datadir/%ooo_home/share
%dir %_datadir/%ooo_home/share/config
%_datadir/%ooo_home/share/config/images_hicontrast.zip

%files -n libreoffice-icon-theme-oxygen
%defattr(-,root,root)
%dir %_datadir/%ooo_home
%dir %_datadir/%ooo_home/share
%dir %_datadir/%ooo_home/share/config
%_datadir/%ooo_home/share/config/images_oxygen.zip

%files -n libreoffice-icon-theme-tango
%defattr(-,root,root)
%dir %_datadir/%ooo_home
%dir %_datadir/%ooo_home/share
%dir %_datadir/%ooo_home/share/config
%_datadir/%ooo_home/share/config/images_tango.zip

%else

# non-split icon themes on older distros

%files
%defattr(-,root,root)
%_datadir/%ooo_home

%endif

%changelog