File kdeutils4.spec of Package kdeutils4

#
# spec file for package kdeutils4 (Version 4.1.3)
#
# Copyright (c) 2008 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:           kdeutils4
BuildRequires:  gmp-devel kdebase4-workspace-devel libqimageblitz-devel net-snmp-devel pcsc-lite python-devel
BuildRequires:  libkdepimlibs4-devel libzip-devel oxygen-icon-theme
%if %suse_version > 1020
BuildRequires:  libarchive-devel
%endif
BuildRequires:  python-cups python-kde4
License:        GPL v2 or later
Group:          Productivity/Other
Summary:        Base Package of KDE Utility Programs
Url:            http://www.kde.org
Version:        4.1.3
Release:        2
Source0:        kdeutils-%version.tar.bz2
Source1:        _upstream
Patch:          4_1_BRANCH.diff
Patch1:         desktop-files.diff
Patch2:         kgpg-autostart.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
Suggests:       kde4-ark
Suggests:       kde4-kcalc
Suggests:       kde4-kcharselect
Suggests:       kde4-kdessh
Suggests:       kde4-kdf
Suggests:       kde4-kfloppy
Suggests:       kde4-kgpg
Suggests:       kde4-ktimer
Suggests:       kde4-kwalletmanager
Suggests:       kde4-kwikdisk
Suggests:       kde4-sweeper
Suggests:       okteta
Suggests:       kde4-superkaramba
Suggests:       kde4-printer-applet

%description
This package suggest all KDE utility programs which are created from
this module.



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

%prep
%setup -q -n kdeutils-%version
%patch
%patch1
%patch2

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  cp /usr/share/icons/oxygen/128x128/apps/utilities-file-archiver.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/
  cp /usr/share/icons/oxygen/16x16/apps/utilities-file-archiver.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/
  cp /usr/share/icons/oxygen/22x22/apps/utilities-file-archiver.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps/
  cp /usr/share/icons/oxygen/32x32/apps/utilities-file-archiver.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/
  cp /usr/share/icons/oxygen/48x48/apps/utilities-file-archiver.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/
  cp /usr/share/icons/oxygen/64x64/apps/utilities-file-archiver.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/
  %create_subdir_filelist -d ark
  %create_subdir_filelist -d kcalc
  %create_subdir_filelist -d kcharselect
  %create_subdir_filelist -d kdessh
  %create_subdir_filelist -d kdf
  %create_subdir_filelist -d kfloppy
  %create_subdir_filelist -d kgpg
  %create_subdir_filelist -d okteta
  %create_subdir_filelist -d ktimer
  %create_subdir_filelist -d kwallet
  %create_subdir_filelist -d superkaramba
  %create_subdir_filelist -d sweeper
  %create_subdir_filelist -d printer-applet
  cd ..
  %create_exclude_filelist
  %suse_update_desktop_file superkaramba Utility DesktopUtility
  %suse_update_desktop_file KCharSelect Utility Accessibility
  %suse_update_desktop_file ktimer      Utility TimeUtility
  %suse_update_desktop_file kwikdisk    System  Applet
  %suse_update_desktop_file kdf         System  Filesystem
  %suse_update_desktop_file ark         System  Archiving
  %suse_update_desktop_file kcalc       Utility Calculator
  %suse_update_desktop_file kgpg        Utility Security
  %suse_update_desktop_file kwalletmanager Applet
  %suse_update_desktop_file sweeper     Utility Security
  %suse_update_desktop_file okteta      Utility Editor
  %suse_update_desktop_file KFloppy     System  Filesystem
  %kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
  rm -rf $RPM_BUILD_ROOT
  rm -rf filelists

%package -n kde4-ark
License:        GPL v2 or later
Group:          Productivity/Archiving/Compression
Summary:        KDE Archiver Tool
%kde4_runtime_requires
Provides:       kdeutils3 = 3.5.1
Obsoletes:      kdeutils3 <= 3.5.1

%description -n kde4-ark
This is a KDE application to work with compressed archives.



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

%post -n kde4-ark -p /sbin/ldconfig

%postun -n kde4-ark -p /sbin/ldconfig

%files -n kde4-ark -f filelists/ark
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
/usr/share/icons/hicolor/*/apps/utilities-file-archiver.*

%package -n kde4-kcalc
License:        GPL v2 or later
Group:          Productivity/Scientific/Math
Summary:        Scientific Calculator
%kde4_runtime_requires
Provides:       kdeutils3:/opt/kde3/bin/kcalc = 3.5.1

%description -n kde4-kcalc
KCalc is the KDE calculator tool.



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

%post -n kde4-kcalc -p /sbin/ldconfig

%postun -n kde4-kcalc -p /sbin/ldconfig

%files -n kde4-kcalc -f filelists/kcalc
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README

%package -n kde4-kcharselect
License:        GPL v2 or later
Group:          Productivity/Other
Summary:        KDE Character Selector
%kde4_runtime_requires

%description -n kde4-kcharselect
KCharSelect is the KDE character selector tool.



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

%post -n kde4-kcharselect -p /sbin/ldconfig

%postun -n kde4-kcharselect -p /sbin/ldconfig

%files -n kde4-kcharselect -f filelists/kcharselect
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README

%package -n kde4-kdessh
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Remote Application Executor
%kde4_runtime_requires
Provides:       kdeutils3:/opt/kde3/bin/kdessh = 3.5.1

%description -n kde4-kdessh
Runs a program on a remote host



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

%post -n kde4-kdessh -p /sbin/ldconfig

%postun -n kde4-kdessh -p /sbin/ldconfig

%files -n kde4-kdessh -f filelists/kdessh
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README

%package -n kde4-kdf
License:        GPL v2 or later
Group:          System/Monitoring
Summary:        Disk Usage Viewer
%kde4_runtime_requires
Provides:       kdeutils3:/opt/kde3/bin/kdf = 3.5.1

%description -n kde4-kdf
KDE free disk space utility



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

%post -n kde4-kdf -p /sbin/ldconfig

%postun -n kde4-kdf -p /sbin/ldconfig

%files -n kde4-kdf -f filelists/kdf
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
%exclude /usr/bin/kwikdisk
%exclude /usr/share/applications/kde4/kwikdisk.desktop
%exclude /usr/share/icons/hicolor/*/apps/kwikdisk.*

%package -n kde4-kfloppy
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Floppy Formatter
%kde4_runtime_requires
Provides:       kdeutils3:/opt/kde3/bin/kfloppy = 3.5.1

%description -n kde4-kfloppy
KDE Floppy Disk Utility



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

%post -n kde4-kfloppy -p /sbin/ldconfig

%postun -n kde4-kfloppy -p /sbin/ldconfig

%files -n kde4-kfloppy -f filelists/kfloppy
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README

%package -n kde4-kgpg
License:        GPL v2 or later
Group:          Productivity/Security
Summary:        Encryption Tool
%kde4_runtime_requires
Provides:       kdeutils3:/opt/kde3/bin/kgpg = 3.5.1

%description -n kde4-kgpg
Kgpg is a simple GUI for gpg



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

%post -n kde4-kgpg -p /sbin/ldconfig

%postun -n kde4-kgpg -p /sbin/ldconfig

%files -n kde4-kgpg -f filelists/kgpg
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README

%package -n kde4-ktimer
License:        GPL v2 or later
Group:          Productivity/Other
Summary:        Countdown Launcher
%kde4_runtime_requires

%description -n kde4-ktimer
Countdown launching tool for KDE



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

%post -n kde4-ktimer -p /sbin/ldconfig

%postun -n kde4-ktimer -p /sbin/ldconfig

%files -n kde4-ktimer -f filelists/ktimer
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README

%package -n kde4-kwalletmanager
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Wallet Management Tool
%kde4_runtime_requires
Provides:       kdeutils3:/opt/kde3/bin/kwalletmanager = 3.5.1

%description -n kde4-kwalletmanager
This application allows you to manage your KDE password wallet.



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

%post -n kde4-kwalletmanager -p /sbin/ldconfig

%postun -n kde4-kwalletmanager -p /sbin/ldconfig

%files -n kde4-kwalletmanager -f filelists/kwallet
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
%dir /usr/share/kde4/apps/kwalletmanager
%dir /usr/share/kde4/apps/kwalletmanager/icons
%dir /usr/share/kde4/apps/kwalletmanager/icons/oxygen
%dir /usr/share/kde4/apps/kwalletmanager/icons/oxygen/22x22
%dir /usr/share/kde4/apps/kwalletmanager/icons/oxygen/22x22/actions

%package -n kde4-kwikdisk
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Removable Media Utility
%kde4_runtime_requires
Provides:       kdeutils3:/opt/kde3/bin/kwikdisk = 3.5.1

%description -n kde4-kwikdisk
This utility allows you to manage removable media.



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

%post -n kde4-kwikdisk -p /sbin/ldconfig

%postun -n kde4-kwikdisk -p /sbin/ldconfig

%files -n kde4-kwikdisk
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
/usr/bin/kwikdisk
/usr/share/applications/kde4/kwikdisk.desktop
/usr/share/icons/hicolor/*/apps/kwikdisk.*

%package -n kde4-sweeper
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        KDE Privacy Utility
%kde4_runtime_requires

%description -n kde4-sweeper
Helps clean unwanted traces the user leaves on the system.



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

%post -n kde4-sweeper -p /sbin/ldconfig

%postun -n kde4-sweeper -p /sbin/ldconfig

%files -n kde4-sweeper -f filelists/sweeper
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README

%package -n okteta
License:        GPL v2 or later
Group:          Development/Tools/Other
Summary:        Hex Editor
Provides:       kde4-okteta = 4.0.81
Obsoletes:      kde4-okteta <= 4.0.81
%kde4_runtime_requires

%description -n okteta
Okteta is a hex editor for the KDE desktop.



Authors:
--------
    Friedrich W. H. Kossebau <kossebau@kde.org>

%post -n okteta -p /sbin/ldconfig

%postun -n okteta -p /sbin/ldconfig

%files -n okteta -f filelists/okteta
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
%dir /usr/share/kde4/apps/oktetapart

%package -n kde4-superkaramba
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Desktop Widgets
%kde4_runtime_requires

%description -n kde4-superkaramba
Superkaramba allows you to have (interactive) desktop widgets shown on
your desktop.



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

%post -n kde4-superkaramba -p /sbin/ldconfig

%postun -n kde4-superkaramba -p /sbin/ldconfig

%files -n kde4-superkaramba -f filelists/superkaramba
%defattr(-,root,root)
%config %_kde_config_dir/superkaramba.knsrc

%package -n kde4-printer-applet
License:        GPL v2 or later
Group:          Productivity/Other
Summary:        System tray utility to show current print jobs
%kde4_runtime_requires
Requires:       python-kde4 python-cups

%description -n kde4-printer-applet
This package contains a system tray utility to show current print jobs.



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

%post -n kde4-printer-applet -p /sbin/ldconfig

%postun -n kde4-printer-applet -p /sbin/ldconfig

%files -n kde4-printer-applet -f filelists/printer-applet
%defattr(-,root,root)
#%config %_kde_config_dir/printer-applet.knsrc

%files -f filelists/exclude
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
%doc %lang(en) /usr/share/doc/kde/HTML/en/kcontrol/blockdevices

%changelog
* Thu Nov 20 2008 stbinner@suse.de
- add SLE provides/obsoletes
* Fri Oct 31 2008 dmueller@suse.de
- update to 4.1.3
  * see http://kde.org/announcements/changelogs/changelog4_1_2to4_1_3.php
* Mon Oct 20 2008 stbinner@suse.de
- fix build on s390/s390x
* Thu Sep 25 2008 dmueller@suse.de
- update to 4.1.2
  * see http://kde.org/announcements/changelogs/changelog4_1_1to4_1_2.php
* Thu Aug 28 2008 dmueller@suse.de
- update to 4.1.1
  * see http://kde.org/announcements/changelogs/changelog4_1to4_1_1.php
* Tue Aug 19 2008 stbinner@suse.de
- branch diff update (many ark bug fixes)
* Thu Jul 31 2008 dmueller@suse.de
- branch diff update
* Wed Jul 23 2008 dmueller@suse.de
- update to 4.1.0
* Fri Jul 18 2008 dmueller@suse.de
- update to 4.0.99
* Fri Jul 11 2008 dmueller@suse.de
- update to 4.0.98
* Fri Jul 04 2008 dmueller@suse.de
- update to 4.0.85
* Tue Jul 01 2008 stbinner@suse.de
- fix build
* Thu Jun 26 2008 dmueller@suse.de
- update to 4.0.84
* Wed Jun 18 2008 dmueller@suse.de
- update to 4.0.83
* Tue Jun 10 2008 dmueller@suse.de
- update to 4.0.82
* Mon Jun 09 2008 dmueller@suse.de
- update to 4.0.81
* Wed Jun 04 2008 dmueller@suse.de
- Fix build
* Tue Jun 03 2008 wstephenson@suse.de
- Fix handling of numbers in some locales (bnc#396482)
* Tue May 27 2008 stbinner@suse.de
- fix menu entry for sweeper (bnc#394348)
* Thu May 01 2008 dmueller@suse.de
- update to 4.0.4
  * http://www.kde.org/announcements/changelogs/changelog4_0_3to4_0_4.php
* Fri Apr 25 2008 dmueller@suse.de
- fix filelist
* Mon Apr 07 2008 dmueller@suse.de
- build ark against libzip
* Thu Mar 27 2008 dmueller@suse.de
- update to 4.0.3
* Tue Mar 11 2008 dmueller@suse.de
- 4_0_BRANCH.diff update
  * various bugfixes, translation update
* Wed Feb 27 2008 dmueller@suse.de
- update to 4.0.2
* Fri Feb 15 2008 dmueller@suse.de
- update 4_0_BRANCH.diff
* Sun Feb 03 2008 stbinner@suse.de
- update to 4.0.1
* Sun Jan 20 2008 stbinner@suse.de
- update KDE_4_0_BRANCH.diff
* Sat Jan 05 2008 dmueller@suse.de
- update to 4.0
* Wed Jan 02 2008 stbinner@suse.de
- update to 3.97.2
* Sun Dec 16 2007 dmueller@suse.de
- update to 3.97.1
* Wed Dec 05 2007 dmueller@suse.de
- update to 3.97.0
* Tue Dec 04 2007 dmueller@suse.de
- update to 3.96.3
* Wed Nov 28 2007 dmueller@suse.de
- update to 3.96.2
* Wed Nov 21 2007 dmueller@suse.de
- update to 3.96.1
* Wed Nov 14 2007 dmueller@suse.de
- update to 3.96.0
* Wed Nov 07 2007 dmueller@suse.de
- update to 3.95.2
* Thu Nov 01 2007 dmueller@suse.de
- update to 3.95.1
* Thu Nov 01 2007 dmueller@suse.de
- fix free() call
* Fri Oct 26 2007 dmueller@suse.de
- update to KDE 4.0 beta4
* Thu Oct 18 2007 dmueller@suse.de
- update to 3.94.1
* Thu Oct 11 2007 dmueller@suse.de
- update to KDE 4.0 Beta3
* Tue Oct 02 2007 stbinner@suse.de
- update to 3.93.0.svn720587
* Wed Sep 26 2007 stbinner@suse.de
- update to 3.93.0.svn717255
* Thu Sep 13 2007 stbinner@suse.de
- update to 3.93.0.svn712063
* 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.svn703919
* Thu Aug 16 2007 stbinner@suse.de
- update to 3.92.0.svn700769
* Thu Aug 09 2007 stbinner@suse.de
- update to 3.92.0.svn697375
* Sun Jul 29 2007 stbinner@suse.de
- update to KDE 4.0 Beta 1
* Wed Jul 18 2007 dmueller@suse.de
- remove xmms-devel
* Thu Jul 12 2007 stbinner@suse.de
- update to 3.91.0.svn685971
* Wed Jun 27 2007 stbinner@suse.de
- fix build in beta
* Tue Jun 26 2007 dmueller@suse.de
- fix file conflicts
* Sat Jun 23 2007 stbinner@suse.de
- update to 3.90.1.svn679151
* 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
* Mon May 28 2007 dmueller@suse.de
- update to 3.90.1.svn668119
* Sat May 12 2007 schwab@suse.de
- Fix dependencies.
* Sat May 12 2007 stbinner@suse.de
- libkdeinit -> libkdeinit4
* Fri May 11 2007 stbinner@suse.de
- initial package in abuild
openSUSE Build Service is sponsored by