File oxygen-icon-theme.spec of Package kdebase4-runtime

#
# spec file for package oxygen-icon-theme (Version 4.1.3)
#
# Copyright (c) 2009 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:           oxygen-icon-theme
BuildRequires:  libkde4-devel libqimageblitz-devel xine-devel
%if %suse_version > 1020
BuildRequires:  fdupes
%endif
License:        LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        Oxygen Icon Theme
Url:            http://www.kde.org
Version:        4.1.3
Release:        4.<RELEASE2>
Requires:       hicolor-icon-theme
Recommends:     oxygen-icon-theme-scalable
Source0:        kdebase-runtime-%version.tar.bz2
Source1:        22x22-package-manager-icon.png
Source2:        32x32-package-manager-icon.png
Source3:        48x48-package-manager-icon.png
Source4:        22x22-document.png
Source5:        32x32-document.png
Source6:        48x48-document.png
Source7:        64x64-document.png
Source8:        128x128-document.png
Source9:        document.svgz
Source10:       oxygen_msword_icons.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Provides:       kdelibs4-icons = 3.92.0
Obsoletes:      kdelibs4-icons <= 3.92.0

%description
This package contains the non-scalable icons of the Oxygen icon theme.



Authors:
--------
    The KDE Team <kde@kde.org>

%prep
%setup -q -n kdebase-runtime-%version -a 10

%build
  cd pics/oxygen
  %cmake_kde4 -d build
  %make_jobs

%install
  cd pics/oxygen/build
  make install DESTDIR=$RPM_BUILD_ROOT/usr/share/icons
  mkdir -p $RPM_BUILD_ROOT/usr/share/icons/oxygen/scalable/filesystems
  mkdir -p $RPM_BUILD_ROOT/usr/share/icons/oxygen/128x128/actions
  mkdir -p $RPM_BUILD_ROOT/usr/share/icons/oxygen/64x64/actions
  install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/icons/oxygen/22x22/apps/package-manager-icon.png
  install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/icons/oxygen/32x32/apps/package-manager-icon.png
  install -m 0644 %SOURCE3 $RPM_BUILD_ROOT/usr/share/icons/oxygen/48x48/apps/package-manager-icon.png
  install -m 0644 %SOURCE4 $RPM_BUILD_ROOT/usr/share/icons/oxygen/22x22/apps/document.png
  install -m 0644 %SOURCE5 $RPM_BUILD_ROOT/usr/share/icons/oxygen/32x32/apps/document.png
  install -m 0644 %SOURCE6 $RPM_BUILD_ROOT/usr/share/icons/oxygen/48x48/apps/document.png
  install -m 0644 %SOURCE7 $RPM_BUILD_ROOT/usr/share/icons/oxygen/64x64/apps/document.png
  install -m 0644 %SOURCE8 $RPM_BUILD_ROOT/usr/share/icons/oxygen/128x128/apps/document.png
  install -m 0644 %SOURCE9 $RPM_BUILD_ROOT/usr/share/icons/oxygen/scalable/apps/document.svgz
  cp $RPM_BUILD_ROOT/usr/share/icons/oxygen/22x22/places/folder-html.png $RPM_BUILD_ROOT/usr/share/icons/oxygen/22x22/places/folder_html.png
  cp $RPM_BUILD_ROOT/usr/share/icons/oxygen/32x32/places/folder-html.png $RPM_BUILD_ROOT/usr/share/icons/oxygen/32x32/places/folder_html.png
  cp $RPM_BUILD_ROOT/usr/share/icons/oxygen/48x48/places/folder-html.png $RPM_BUILD_ROOT/usr/share/icons/oxygen/48x48/places/folder_html.png
  cp $RPM_BUILD_ROOT/usr/share/icons/oxygen/64x64/places/folder-html.png $RPM_BUILD_ROOT/usr/share/icons/oxygen/64x64/places/folder_html.png
  cp $RPM_BUILD_ROOT/usr/share/icons/oxygen/128x128/places/folder-html.png $RPM_BUILD_ROOT/usr/share/icons/oxygen/128x128/places/folder_html.png
  cp $RPM_BUILD_ROOT/usr/share/icons/oxygen/scalable/places/folder-html.svgz $RPM_BUILD_ROOT/usr/share/icons/oxygen/scalable/places/folder_html.svgz
%if %suse_version > 1020
  %fdupes $RPM_BUILD_ROOT
%endif

%clean
  rm -rf $RPM_BUILD_ROOT

%package scalable
License:        LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        Oxygen Icon Theme
Requires:       oxygen-icon-theme
Provides:       kdelibs4-icons-scalable = 3.92.0
Obsoletes:      kdelibs4-icons-scalable <= 3.92.0

%description scalable
This package contains the scalable icons of the Oxygen icon theme.



Authors:
--------
    The KDE Team <kde@kde.org>

%files scalable
%defattr(-,root,root)
/usr/share/icons/oxygen/scalable
%exclude /usr/share/icons/oxygen/scalable/apps/digikam.*

%files
%defattr(-,root,root)
%exclude /usr/share/icons/oxygen/scalable/*/*
%exclude /usr/share/icons/oxygen/*/apps/digikam.png
%dir /usr/share/icons/oxygen/scalable/actions
%dir /usr/share/icons/oxygen/scalable/apps
%dir /usr/share/icons/oxygen/scalable/devices
%dir /usr/share/icons/oxygen/scalable/emblems
%dir /usr/share/icons/oxygen/scalable/filesystems
%dir /usr/share/icons/oxygen/scalable/mimetypes
%dir /usr/share/icons/oxygen/scalable/places
/usr/share/icons/oxygen

%changelog
* Wed Apr 08 2009 wstephenson@suse.de
- Important fixes from 4.1 branch
  - no locale: Fixed locale-specific formatting
  - jp locale: Fix default date formats
  - no locale: Added default DateFormat
  - es locale: catalan default date format
  - jp locale: Set default WeekDayOfPray to None
  - rs locale: fix seconds separator
  - sk locale: fix currency sign
  - Dr Konqi fixes for more useful backtraces
  - Fix kioexec not asking to upload anymore, after making changes
  - fix wrongly added i18n string
  - Fix knotify4 startup warning
  - knetattach: use existing icon
  - khelpcenter: missing icon
  - sftp: fix changing URL in location bar pops up error messages (kde#108812)
  - kio_fish: Make copy reliable (kde#147948)
  - oxygen: draw focus rect for old style listviews, eg kmail
  - oxygen: lineedit panel shouldn't overlap the glow
  - oxygen: try to solve logout crashes and lost memory pt 2
  - oxygen: fix crash on logout (kde#163538)
  - oxygen: fix switching style breaks menus (kde#178321)
  - oxygen: fix combobox popup too narrow
* Fri Jan 16 2009 llunak@suse.cz
- backport workaround for cut login sound (bnc#458963)
* Mon Dec 15 2008 dmueller@suse.de
- remove kdebase3 provide (bnc#458318)
* Tue Dec 02 2008 stbinner@suse.de
- don't show KNetAttach menu entry on KDE3 desktop
* Wed Nov 26 2008 dmueller@suse.de
- automatically install phonon-backend-xine if xine with
  codec support is available
* Thu Nov 20 2008 stbinner@suse.de
- add SLE provides/obsoletes
* Mon Nov 03 2008 stbinner@suse.de
- update to 4.1.3
  * see http://kde.org/announcements/changelogs/changelog4_1_2to4_1_3.php
* Wed Oct 22 2008 stbinner@suse.de
- debug_package_requires depend also on %%release
* Tue Oct 21 2008 stbinner@suse.de
- branch diff update: fixes kde#172197 and kde#160070
* Fri Oct 17 2008 stbinner@suse.de
- fix empty settings menu appearing in menu (bnc#432328)
* Thu Oct 09 2008 wstephenson@suse.de
- Fix wrong icon for application/msword icons (bnc#433839)
* Sun Sep 28 2008 stbinner@suse.de
- fix kdebase4-runtime-debuginfo requirements (bnc#430481)
* Thu Sep 25 2008 dmueller@suse.de
- update to 4.1.2
  * see http://kde.org/announcements/changelogs/changelog4_1_1to4_1_2.php
* Mon Sep 15 2008 dmueller@suse.de
- adjust buildrequires
* Sat Sep 13 2008 stbinner@suse.de
- use simple-ccsm-kde instead of simple-ccsm
* Tue Sep 02 2008 llunak@suse.cz
- update the control module for window manager switching
* Wed Aug 20 2008 llunak@suse.cz
- move WM selection option to a better place in systemsettings
* Sat Aug 16 2008 stbinner@suse.de
- branch diff update
* Wed Aug 13 2008 coolo@suse.de
- exclude digikam icons to avoid file conflicts
* Thu Jul 31 2008 dmueller@suse.de
- branch diff update
* Fri Jul 25 2008 dmueller@suse.de
- update to 4.1.0
- fix phonon-backend version
* Fri Jul 18 2008 dmueller@suse.de
- update to 4.0.99
* Thu Jul 10 2008 dmueller@suse.de
- update to 4.0.98
* Tue Jul 08 2008 dmueller@suse.de
- split-off phonon-backend-xine
* Mon Jul 07 2008 dmueller@suse.de
- update to 4.0.85
* Mon Jun 30 2008 dmueller@suse.de
- revert last change
* Mon Jun 30 2008 stbinner@suse.de
- fix file list
* Thu Jun 26 2008 dmueller@suse.de
- update to 4.0.84
* Mon Jun 23 2008 dmueller@suse.de
- update to 4.0.83
* Sun Jun 22 2008 dmueller@suse.de
- update to 4.0.82
* Thu Jun 05 2008 stbinner@suse.de
- fix huge Documents and public_html icons are blurry (bnc#396176)
* Mon Jun 02 2008 dmueller@suse.de
- oxygen style fixes:
  * render focus on radio buttons
  * don't apply a grey gradient to a blank screensaver (bnc#392792)
* Fri May 23 2008 stbinner@suse.de
- fix entries under "Applications" without kdebase3 (bnc#381855)
* Tue May 20 2008 llunak@suse.cz
- do not always default to kdesu remembering password (bnc#386531)
* Mon May 19 2008 stbinner@suse.de
- fix missing icons for /etc/skel directories (bnc#381701)
* Wed May 14 2008 llunak@suse.cz
- make the kde4 wrapper prefer actually KDE4 applications
* Wed May 14 2008 llunak@suse.cz
- support for KDE3 hotplug actions (bnc#378338)
* Tue May 13 2008 dmueller@suse.de
- update branch diff:
  * fix ksmserver/knotify4 deadlock causing an excessive
  login delay
* Fri May 09 2008 dmueller@suse.de
- branch diff update
  * new translations
* Tue May 06 2008 dmueller@suse.de
- update to 4.0.4
  * http://kde.org/announcements/changelog_4_0_3to4_0_4.php
* Mon Apr 28 2008 dmueller@suse.de
- disable video decoding when not needed (bnc#373181)
* Mon Apr 07 2008 dmueller@suse.de
- add ispell recommends (bnc#204734)
* Tue Apr 01 2008 dmueller@suse.de
- update to 4.0.3
* Tue Mar 11 2008 dmueller@suse.de
- update to the final 4.0.2 tarball
- update 4_0_BRANCH.diff
* Wed Feb 27 2008 dmueller@suse.de
- update to 4.0.2
* Wed Feb 27 2008 dmueller@suse.de
- update 4_0_BRANCH.diff, also apply it for oxygen-icon-theme
* Fri Feb 08 2008 stbinner@suse.de
- provide suse_help_viewer
* Thu Jan 31 2008 dmueller@suse.de
- update to 4.0.1
* Wed Jan 23 2008 stbinner@suse.de
- update 4_0_BRANCH.diff
* Sun Jan 20 2008 stbinner@suse.de
- update 4_0_BRANCH.diff
* Sat Jan 05 2008 stbinner@suse.de
- update to 4.0 release
* Wed Jan 02 2008 stbinner@suse.de
- update to 3.97.2
* Sun Dec 16 2007 dmueller@suse.de
- update to 3.97.1
* Fri Dec 14 2007 ro@suse.de
- added directory to filelist
* Wed Dec 05 2007 dmueller@suse.de
- update to 3.97.0
* Wed Dec 05 2007 dmueller@suse.de
- update to 3.96.3
* Sat Dec 01 2007 dmueller@suse.de
- update to 3.96.2
* Wed Nov 28 2007 dmueller@suse.de
- update to 3.96.1
* Thu Nov 15 2007 wstephenson@suse.de
- update to 3.96.0
* Mon Nov 05 2007 dmueller@suse.de
- fix permissions of kdesud
* Thu Nov 01 2007 dmueller@suse.de
- update to 3.95.1
* Wed Oct 31 2007 dmueller@suse.de
- own konqueror/dirtree related directories
* Wed Oct 31 2007 dmueller@suse.de
- update to 3.95.0
* Thu Oct 18 2007 dmueller@suse.de
- update to 3.94.1
* Thu Oct 18 2007 ro@suse.de
- fix build: add directory to filelist
* Mon Oct 08 2007 dmueller@suse.de
- update to KDE 4.0 Beta3
* Tue Oct 02 2007 stbinner@suse.de
- update to 3.93.0.svn720100
* Wed Sep 26 2007 stbinner@suse.de
- update to 3.93.0.svn717244
* Fri Sep 21 2007 stbinner@suse.de
- don't remove icons anymore after build check got fixed (#307017)
* Thu Sep 13 2007 stbinner@suse.de
- update to 3.93.0.svn712052
* Mon Sep 10 2007 dmueller@suse.de
- don't set $LANGUAGE in konsole (#305210)
* Sat Sep 01 2007 stbinner@suse.de
- update to KDE 4.0 Beta 2
* Thu Aug 23 2007 stbinner@suse.de
- update to 3.92.0.svn703920
* Thu Aug 16 2007 stbinner@suse.de
- update to 3.92.0.svn700775
* Wed Aug 15 2007 stbinner@suse.de
- fix more file conflicts
* Thu Aug 09 2007 stbinner@suse.de
- update to 3.92.0.svn697325
- fix file conflicts
* Sat Jul 28 2007 stbinner@suse.de
- update to KDE 4.0 Beta 1
* Thu Jul 19 2007 stbinner@suse.de
- don't show System Settings on non-KDE/KDE3 desktop
* Mon Jul 16 2007 stbinner@suse.de
- use the non generic lib version for libkonq
* Thu Jul 12 2007 stbinner@suse.de
- update to 3.91.0.svn672298
* Sat Jun 23 2007 stbinner@suse.de
- update to 3.90.1.svn679137
* Fri Jun 08 2007 stbinner@suse.de
- update to 3.90.1.svn670093
* Mon Jun 04 2007 stbinner@suse.de
- fix build
* Fri Jun 01 2007 coolo@suse.de
- simplify spec file by using macros from kde4-filesystem
* Wed May 23 2007 stbinner@suse.de
- run %%fdupes
- fix prefix of two bins
* Wed May 16 2007 olh@suse.de
- Buildrequires libusb -> libusb-devel
* Tue May 15 2007 stbinner@suse.de
- show .desktop files of kdebase4-runtime only in a KDE session
* Sat May 12 2007 stbinner@suse.de
- libkdeinit -> libkdeinit4
* Thu May 10 2007 stbinner@suse.de
- fix package file conflicts
* Mon May 07 2007 stbinner@suse.de
- initial package in abuild