File kdebase4-openSUSE.spec of Package kdebase4-openSUSE

#
# spec file for package kdebase4-openSUSE (Version 11.1)
#
# 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/
#

# norootforbuild


Name:           kdebase4-openSUSE
BuildRequires:  hal-devel hwinfo-devel libkde4-devel rpm-devel
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        openSUSE KDE Extension
PreReq:         %fillup_prereq
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Version:        11.1
Release:        66
Source0:        kdebase4-openSUSE-%{version}.tar.bz2
Requires:       kdebase4-workspace kde-susetranslations
Provides:       kdebase4-SuSE = 11.0
Obsoletes:      kdebase4-SuSE <= 11.0
Recommends:     kde4-kio_sysinfo = %version
%if %suse_version > 1030
Requires:       %name-lang = %version
%endif

%description
This package contains the standard openSUSE desktop and extensions.



Authors:
--------
    Artwork:
    Ken W. Wimer <wimer@suse.de>
    Torsten Rahn <tackat@suse.de>
    Everaldo <everaldo@everaldo.com>
    
    Implementation:
    Adrian Schroeter <adrian@suse.de>
    Marcus Meissner <meissner@suse.de>
    Oliver Ries <ories@suse.de>
    Ludwig Nussel <lnussel@suse.de>

%package -n kde4-kio_sysinfo
License:        GPL v2 or later
Summary:        System Information KIO-Slave
Group:          System/GUI/KDE
Requires:       kde4-kio_sysinfo-branding = 11.1
%if %suse_version > 1030
Requires:       %name-lang = %version
%endif
%kde4_runtime_requires
Provides:       kdebase3-NLD:/opt/kde3/share/services/sysinfo.protocol = 10.1

%description -n kde4-kio_sysinfo
This package contains a KDE KIO-Slave showing system information.



Authors:
--------
    Artwork:
    Jakub Steiner
    
    Implementation:
    Lukas Tinkl
    Stephan Kulow
    Dirk Mueller
    Stephan Binner

%package -n kdebase4-workspace-branding-openSUSE
License:        GPL v2 or later
Summary:        openSUSE KDE Extension
Group:          System/GUI/KDE
Requires:       kdebase4-workspace
Requires:       plasma-theme-aya
Supplements:    packageand(kdebase4-workspace:branding-openSUSE)
PreReq:         %fillup_prereq
Provides:       kdebase4-workspace-branding = 11.1
Conflicts:      otherproviders(kdebase4-workspace-branding)

%description -n kdebase4-workspace-branding-openSUSE
This package contains the standard openSUSE desktop and extensions.



Authors:
--------
    Artwork:
    Ken W. Wimer <wimer@suse.de>
    Torsten Rahn <tackat@suse.de>
    Everaldo <everaldo@everaldo.com>
    
    Implementation:
    Adrian Schroeter <adrian@suse.de>
    Marcus Meissner <meissner@suse.de>
    Oliver Ries <ories@suse.de>
    Ludwig Nussel <lnussel@suse.de>

%package -n kde4-kio_sysinfo-branding-openSUSE
License:        GPL v2 or later
Summary:        System Information KIO-Slave
Group:          System/GUI/KDE
Requires:       kde4-kio_sysinfo
Supplements:    packageand(kde4-kio_sysinfo:branding-openSUSE)
Provides:       kde4-kio_sysinfo-branding = 11.1
Conflicts:      otherproviders(kde4-kio_sysinfo-branding)

%description -n kde4-kio_sysinfo-branding-openSUSE
This package contains a KDE KIO-Slave showing system information.



Authors:
--------
    Artwork:
    Jakub Steiner
    
    Implementation:
    Lukas Tinkl
    Stephan Kulow
    Dirk Mueller
    Stephan Binner

%package -n kde4-kdm-branding-openSUSE
License:        GPL v2 or later
Summary:        KDE login and display manager
Group:          System/GUI/KDE
Supplements:    packageand(kde4-kdm:branding-openSUSE)
Provides:       kde4-kdm-branding = 11.1
Conflicts:      otherproviders(kde4-kdm-branding)

%description -n kde4-kdm-branding-openSUSE
This package contains kdm, the login and session manager for KDE.



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

%if %suse_version > 1030
%lang_package
%endif

%prep
%setup -q -n %name

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  cd ..
  for l in SUSEgreeter krpmview kde4-openSUSE kio_sysinfo; do
    %find_lang $l suse.lang
  done
  cp -a config-files/* $RPM_BUILD_ROOT
  cp -a branding/root/* $RPM_BUILD_ROOT
  chmod og-w -R "${RPM_BUILD_ROOT}"
  %suse_update_desktop_file -u SUSEgreeter System Documentation
  %kde_post_install

%post -n kdebase4-workspace-branding-openSUSE
%{fillup_only -n displaymanager -s kde4-kdm}
%{fillup_only -n windowmanager -s kde4}
%if %suse_version > 1030

%files lang -f suse.lang
%defattr(-,root,root)

%files
%else

%files -f suse.lang
%endif
%defattr(-,root,root)
%dir /usr/share/autostart
/usr/share/icons/hicolor/*/apps/Support.*
/usr/share/icons/hicolor/*/apps/mycomp.*
%dir /usr/share/kde4/env
/usr/bin/kde4-migrate
/usr/bin/kde_add_yast_source.sh
/usr/%_lib/kde4/libkrpmview.so
/usr/share/applications/kde4/konqfilemgr_rpm.desktop
/usr/share/kde4/apps/krpmview
/usr/share/kde4/services/krpmview.desktop
/usr/share/kde4/services/searchproviders
/usr/bin/preloadkde
/usr/share/kde4/config/SuSE/default/beagled-autostart.desktop.live
/usr/share/kde4/config/SuSE/default/lowspacesuse.live
/usr/share/kde4/config/SuSE/default/kupdateapplet-autostart.desktop.live
/usr/share/kde4/config/SuSE/default/kdeglobals
/usr/share/kde4/config/SuSE/default/kcminputrc

%files -n kdebase4-workspace-branding-openSUSE
%defattr(-,root,root)
%doc branding/COPYING
/usr/bin/SUSEgreeter
/usr/share/applications/kde4/SUSEgreeter.desktop
/usr/share/autostart/SUSEgreeter.desktop
/usr/share/kde4/apps/SUSEgreeter
%dir /etc/kde4
%dir /etc/kde4/share
%dir /etc/kde4/share/config
%config /etc/kde4/share/config/*rc
/usr/share/icons/hicolor/*/apps/SUSEgreeter.*
%dir /usr/share/kde4/config
%dir /usr/share/kde4/config/SuSE
%dir /usr/share/kde4/config/SuSE/default
/usr/share/kde4/env/startkde.suse.sh
/usr/share/kde4/config/SuSE/default/MozillaFirefox.desktop
/usr/share/kde4/config/SuSE/default/Office.desktop
/usr/share/kde4/config/SuSE/default/SuSE.desktop
/usr/share/kde4/config/SuSE/default/Support.desktop
/usr/share/kde4/config/SuSE/default/live-installer.desktop
/usr/share/kde4/config/SuSE/default/myComputer.desktop
/usr/share/kde4/config/korganizerrc
/var/adm/fillup-templates/sysconfig*
%dir /usr/share/icons/oxygen/scalable/places
/usr/share/icons/oxygen/scalable/places/start-here-branding.svg
%dir /usr/share/kde4/apps/kwin
/usr/share/kde4/apps/kwin/titlebar_decor.png
%dir /usr/share/kde4/apps/desktoptheme
%dir /usr/share/kde4/apps/desktoptheme/default
%dir /usr/share/kde4/apps/desktoptheme/default/widgets
/usr/share/kde4/apps/desktoptheme/default/widgets/branding.svg
%dir /usr/share/kde4/apps/ksplash
/usr/share/kde4/apps/konsole
%dir /usr/share/kde4/apps/ksplash/Themes
/usr/share/kde4/apps/ksplash/Themes/ksplashx-suse
%dir /etc/kde4/share/apps
%dir /etc/kde4/share/apps/konqueror
%dir /etc/kde4/share/apps/konqueror/profiles
/etc/kde4/share/apps/konqueror/profiles/webbrowsing
/usr/share/kde4/config/SuSE/default/bookmarks.xml
/usr/share/kde4/config/SuSE/default/feeds.opml

%files -n kde4-kio_sysinfo
%defattr(-,root,root)
#/opt/kde3/%_lib/kde3/libksysinfopart.*
%dir /usr/share/kde4/apps/sysinfo
#/usr/share/kde4/services/ksysinfopart.desktop
/usr/share/kde4/services/sysinfo.protocol
%_libdir/kde4/kio_sysinfo.so
%_libdir/kde4/libksysinfopart.so
%_kde_share_dir/services/ksysinfopart.desktop
/usr/share/mime/packages/x-sysinfo.xml
/usr/share/applications/kde4/kfmclient_sysinfo.desktop

%files -n kde4-kio_sysinfo-branding-openSUSE
%defattr(-,root,root)
%doc branding/COPYING
/usr/share/kde4/apps/sysinfo/about

%files -n kde4-kdm-branding-openSUSE
%defattr(-,root,root)
%doc branding/COPYING
%dir /usr/share/kde4/apps/kdm
%dir /usr/share/kde4/apps/kdm/themes
/usr/share/kde4/apps/kdm/themes/SUSE
/usr/share/kde4/apps/kdm/pics

%changelog
* Sat Nov 29 2008 stbinner@suse.de
- readd Kontact to Kickoff Favorites (bnc#386374)
- translation update (fixes also bnc#449786)
* Thu Nov 27 2008 stbinner@suse.de
- greeter: link help.o.o for "Introduction to KDE4" text
- Amarok2 -> Amarok/KDE3 in Kickoff favorites (bnc#449422)
- translation update
* Mon Nov 24 2008 llunak@suse.cz
- set up locale properly (bnc#446983)
* Fri Nov 21 2008 stbinner@suse.de
- update kio_sysinfo background
- translation update
* Thu Nov 20 2008 stbinner@suse.de
- add SLE provides/obsoletes
* Wed Nov 19 2008 stbinner@suse.de
- updated config for low disc space notification disable (bnc#437911)
- make desktop containment and Kickoff favorites defaults branding
- updated translations
* Tue Nov 11 2008 dmueller@suse.de
- update from SVN:
  * translation updates
  * kio_sysinfo fixes
  * migrate kopete chat logs
  * fix One click install requires confirmation (bnc#416660)
* Fri Nov 07 2008 dmueller@suse.de
- kdm4 branding update
- translation updates
* Fri Nov 07 2008 stbinner@suse.de
- don't run updater on Live-CD reloaded (bnc#440329)
- show "Copy To"/"Move To" context menu in Dolphin by default
- SUSEgreeter: add link to online KDE4 introduction
- translation updates
* Wed Oct 29 2008 stbinner@suse.de
- require kde-susetranslations for KDE3 libs & apps translations
* Mon Oct 27 2008 stbinner@suse.de
- translation update
- default to expandable folders in Dolphin's details view
- no breadcrumb navigation in Dolphin and file dialogs by default
* Thu Oct 23 2008 llunak@suse.cz
- Use 11.1 splash (bnc#434784)
* Thu Oct 16 2008 stbinner@suse.de
- use 11.1 wallpaper
* Mon Oct 13 2008 stbinner@suse.de
- translation update
* Tue Oct 07 2008 sbrabec@suse.cz
- Conflict with other branding providers (FATE#304881).
* Thu Sep 18 2008 stbinner@suse.de
- bump branding version number to 11.1
* Fri Sep 05 2008 stbinner@suse.de
- more 11.1 changes including documentation bookmark (Fate#305003)
* Fri Jul 25 2008 stbinner@suse.de
- brand root window cursor theme
- don't install trash.desktop to ~/Desktop anymore
* Tue Jul 15 2008 stbinner@suse.de
- default to Oxygen_white mouse cursor icon theme
- don't install kmix_autostart.desktop
* Mon Jun 30 2008 dmueller@suse.de
- branding requires at 11.0.42
* Thu Jun 26 2008 stbinner@suse.de
- update from SVN; bump version number to 11.1
* Mon Jun 09 2008 dmueller@suse.de
- translation update
* Thu Jun 05 2008 dmueller@suse.de
- fix requires for older distros
- do not migrate khotkeys, doesn't work (bnc#397817)
* Wed Jun 04 2008 stbinner@suse.de
- translation updates
* Tue Jun 03 2008 dmueller@suse.de
- fix requires on translation package
- fix translations for sysinfo:/ (bnc#389605)
- translation update
- remove conflicht with branding packages again
- fix desktop icon look
* Thu May 29 2008 dmueller@suse.de
- translation updates
* Tue May 27 2008 dmueller@suse.de
- opt-in kde3->kde4 config migration (bnc#372170)
* Mon May 26 2008 dmueller@suse.de
- fix context menu of sysinfo:/ media urls
* Mon May 26 2008 stbinner@suse.de
- put new default windeco color also in branding package
- kio_sysinfo: new theme doesn't need autorepeating background
- translation update
* Fri May 23 2008 llunak@suse.de
- update artwork for greeter (bnc#386486)
* Fri May 23 2008 stbinner@suse.de
- don't show "untrusted link" warning for IRC links on help.o.o
- fix Konsole shell profile history setting
- greeter: no frame, fix avoiding scrollbars.
- kio_sysinfo: update icon, actually install repeated background
- translation update
* Mon May 19 2008 stbinner@suse.de
- move the kdm error message more up (bnc#391830)
- don't start some services on the Live-CD (bnc#345135)
* Fri May 16 2008 dmueller@suse.de
- translation update
- fix system button disappearing on kdm when shutdownmode=none is set
- enable dpms by default
- enable screensaver by default
* Fri May 16 2008 stbinner@suse.de
- add additional bookmarks requested by AJ/Zonker
- add +DISPLAYMANAGER_KDM_LOCALARGS (bnc#294491)
- add /usr/bin/preloadkde
- remove /etc/kde4rc (moved to kdelibs4)
- translations updates
* Fri May 09 2008 stbinner@suse.de
- make start menu branding graphics transparent (bnc#386679)
- translation updates
* Tue May 06 2008 dmueller@suse.de
- kdm4 branding update
- translation updates
* Mon Apr 28 2008 dmueller@suse.de
- translation update
- fix kdm4 branding
* Fri Apr 25 2008 dmueller@suse.de
- add kde4-kdm branding (bnc#369319)
* Tue Apr 22 2008 stbinner@suse.de
- conflict with kdebase4-workspace-branding-upstream
* Wed Apr 16 2008 stbinner@suse.de
- adapt live-installer detection for 11.0
* Wed Apr 16 2008 stbinner@suse.de
- remove self conflicts (bnc#380122)
* Mon Apr 14 2008 dmueller@suse.de
- add kde4 config migration wizard
- implement various missing features in kde4-kio_sysinfo
* Sun Apr 13 2008 coolo@suse.de
- do not install on base system (see opensuse-packaging thread)
* Fri Apr 11 2008 stbinner@suse.de
- add search provider for Novell Bugzilla "bnc" (bnc#377521)
- add default bookmarks, feeds and browser start page
- fix Konq asks what to do with YMP instead of opening (bnc#377151)
* Thu Apr 10 2008 stbinner@suse.de
- add openSUSE workspace branding and default desktop configuration
* Wed Apr 09 2008 dmueller@suse.de
- split off kde4-kio_sysinfo-branding-openSUSE,
  kdebase4-workspace-branding-openSUSE
- add kde4-kdm theming
* Thu Feb 21 2008 stbinner@suse.de
- ported krpmview
* Mon Feb 18 2008 dmueller@suse.de
- better integration of kio_sysinfo
* Fri Feb 15 2008 dmueller@suse.de
- add kde4-kio_sysinfo
* Thu Feb 07 2008 stbinner@suse.de
- rename package to kdebase4-openSUSE
- move Kicker/KDesktop autostart prevention to kdelibs4
- fix icon of SUSEgreeter
- add Live Installer desktop icon on Live-CD
* Mon Feb 04 2008 stbinner@suse.de
- fix build
* Mon Feb 04 2008 llunak@suse.cz
- prevent Kicker/KDesktop from autostarting in KDE4
* Mon Feb 04 2008 stbinner@suse.de
- add files to have kmix autostarted by default
* Wed Jan 30 2008 stbinner@suse.de
- initial version in abuild
openSUSE Build Service is sponsored by