File xfce4-icon-theme.spec of Package xfce4-icon-theme

#
# spec file for package xfce4-icon-theme
#
# 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:           xfce4-icon-theme
Version:        4.4.3
Release:        15
License:        GPLv2+
Summary:        Default icon theme for the Xfce desktop environment
Url:            http://www.xfce.org/
Group:          System/GUI/XFCE
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  hicolor-icon-theme
BuildRequires:  intltool
BuildRequires:  fdupes
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains the default icon theme for Xfce desktop environment.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%make_install
# remove /usr/lib/pkgconfig/xfce4-icon-theme-1.0.pc
rm -rf %{buildroot}%{_libdir}
%if 0%{?suse_version} >= 1140
%icon_theme_cache_create_ghost Rodent
%endif
%fdupes %{buildroot}%{_datadir}/icons/Rodent

%clean
rm -rf %{buildroot}

%if 0%{?suse_version} >= 1140

%post
%icon_theme_cache_post Rodent
%endif

%files
%defattr(-,root,root)
%doc README ChangeLog INSTALL COPYING AUTHORS
%if 0%{?suse_version} >= 1140
%ghost %{_datadir}/icons/Rodent/icon-theme.cache
%endif
%{_datadir}/icons/Rodent
%dir %{_datadir}/xfce4
%dir %{_datadir}/xfce4/mime
%{_datadir}/xfce4/mime/Rodent.mime.xml

%changelog
openSUSE Build Service is sponsored by