%define with_nepomuk_experimental 1 %{?_with_nepomuk_experimental: %{expand: %%global with_nepomuk_experimental 1}} Name: kdebase4-runtime Summary: K Desktop Environment - Base Runtime Version: 4.1.2 Release: %mkrel 3 Epoch: 1 Group: Graphical desktop/KDE License: GPL URL: http://www.kde.org Source0: ftp://ftp.kde.org/pub/kde/stable/%version/src/kdebase-runtime-%version.tar.bz2 Patch0: kdebase-runtime-4.0.98-liblzma.patch Patch1: kdebase-runtime-4.1.1-phonon-xine-pulseaudio-not-advanced.patch Patch2: kdebase-runtime-4.1.1-fix-htsearch-path.patch # Backports Patch200: kdebase-runtime-backport-nepomuk.patch #Testing Patch300: kdebase-runtime-testing-fix-network-icon.patch Patch301: kdebase-runtime-4.1.1-mandriva-pulseaudio-ignore-audiodevices.patch BuildRequires: kde4-macros BuildRequires: cmake BuildRequires: kdelibs4-devel >= 4.1.0-5 BuildRequires: kdepimlibs4-devel >= 4.0.81 BuildRequires: strigi-devel >= 1:0.5.10-2 BuildRequires: soprano-devel >= 2.0.98 BuildRequires: fontconfig-devel >= 2.1-9mdk BuildRequires: pam-devel BuildRequires: freetype2-devel BuildRequires: libsasl-devel BuildRequires: openldap-devel BuildRequires: avahi-compat-libdns_sd-devel BuildRequires: avahi-client-devel BuildRequires: libsmbclient-devel > 3.0 BuildRequires: libieee1284-devel BuildRequires: OpenEXR-devel BuildRequires: hal-devel BuildRequires: libusb-devel BuildRequires: libxml2-utils BuildRequires: X11-devel BuildRequires: GL-devel BuildRequires: bdftopcf BuildRequires: imake BuildRequires: libraw1394-devel BuildRequires: libxklavier-devel BuildRequires: lua-devel BuildRequires: resmgr-devel BuildRequires: bluez-devel BuildRequires: boost-devel BuildRequires: xrdb BuildRequires: qimageblitz-devel Requires: kdelibs4-core Requires: oxygen-icon-theme Requires: kde4-l10n Requires: kde4-splash-mdv Requires: htdig Obsoletes: kdebase4-progs < 1:3.93.0-0.714129.2 Obsoletes: kdebase4-core < 1:3.93.0-0.714129.2 Obsoletes: kdebase4-common <= 1:3.80.3 Conflicts: kdebase4-workspace <= 1:4.0.68-1 %if %mdkversion > 200810 Conflicts: kdebase-common < 1:3.5.9-38 Conflicts: kdebase-progs < 1:3.5.9-38 Conflicts: kdebase-konsole < 1:3.5.9-38 %endif BuildRoot: %_tmppath/%name-%version-%release-root %description KDE 4 application runtime components. %files %defattr(-,root,root) %_datadir/dbus-1/services/* %_kde_appsdir/drkonqi %_kde_appsdir/kcm_componentchooser %_kde_appsdir/kcmlocale %_kde_appsdir/kde %_kde_appsdir/kio_finger/kio_finger.css %_kde_appsdir/kio_finger/kio_finger.pl %_kde_appsdir/kio_info/kde-info2html %_kde_appsdir/kio_info/kde-info2html.conf %_kde_appsdir/kio_man/kio_man.css %_kde_appsdir/kio_thumbnail/* %_kde_autostart/nepomukserver.desktop %_kde_bindir/kuiserver %_kde_appsdir/kstyle %_kde_bindir/ksvgtopng %_kde_bindir/kcmshell4 %_kde_bindir/kde4-menu %_kde_bindir/kdebugdialog %_kde_bindir/kde-cp %_kde_bindir/kde-mv %_kde_bindir/kde-open %_kde_bindir/kfile4 %_kde_bindir/khotnewstuff4 %_kde_bindir/kioclient %_kde_bindir/kmimetypefinder %_kde_libdir/strigi/strigiindex_sopranobackend.so %_kde_datadir/applications/kde4/knetattach.desktop %_kde_docdir/*/*/knetattach %_kde_bindir/knotify4 %_kde_bindir/kquitapp %_kde_bindir/kreadconfig %_kde_bindir/kstart %_kde_bindir/ktraderclient %_kde_bindir/ktrash %_kde_bindir/kwriteconfig %_kde_bindir/kde4 %_kde_bindir/kiconfinder %_kde_bindir/nepomukserver %_kde_bindir/nepomukservicestub %_kde_bindir/solid-hardware %_kde_sysconfdir/xdg/menus/kde-information.menu %_kde_datadir/applications/kde4/Help.desktop %_kde_datadir/config/khotnewstuff.knsrc %_kde_datadir/config/kshorturifilterrc %_kde_datadir/desktop-directories %_kde_datadir/kde4/services/* %_kde_datadir/kde4/servicetypes/* %_kde_appsdir/remoteview/smb-network.desktop %_kde_datadir/locale/l10n/*/* %_kde_datadir/locale/l10n/*.desktop %_kde_datadir/locale/en_US %_kde_datadir/sounds %_kde_libdir/kde4/* %_kde_libdir/libkdeinit4_* %_kde_libdir/kconf_update_bin/phonon_devicepreference_update %_kde_appsdir/kcm_phonon %_kde_appsdir/kconf_update/devicepreference.upd %_kde_appsdir/libphonon %_kde_appsdir/phonon %_kde_bindir/khelpcenter %_kde_appsdir/khelpcenter %_kde_docdir/*/*/khelpcenter %_kde_docdir/*/*/kcontrol %_kde_docdir/*/*/kdesu %_kde_mandir/man1/kdesu.1.* %_kde_docdir/*/*/kioslave %_kde_docdir/*/*/kdebugdialog %_kde_datadir/apps/kconf_update/kuriikwsfilter.upd %_kde_datadir/apps/konqueror/dirtree/remote/smb-network.desktop %_kde_datadir/apps/cmake/modules/* %_kde_datadir/config.kcfg/* %if %{with_nepomuk_experimental} %_kde_appsdir/nepomukstrigiservice/nepomukstrigiservice.notifyrc %endif # Excluding because they are on Phonon-xine %exclude %_kde_libdir/kde4/kcm_phononxine.so %exclude %_kde_libdir/kde4/phonon_xine.so %exclude %_kde_datadir/kde4/services/kcm_phononxine.desktop %exclude %_kde_datadir/kde4/services/phononbackends/xine.desktop #-------------------------------------------------------------- %package -n oxygen-icon-theme Group: Graphical desktop/KDE Summary: Oxygen icon theme Provides: kde4-icon-theme Obsoletes: kdelibs4-common >= 30000000:3.80.3 # Fallback hicolor icons Requires: hicolor-icon-theme %if %mdkversion > 200810 Conflicts: kdebase-common < 1:3.5.9-38 %endif %description -n oxygen-icon-theme Oxygen KDE 4 icon theme. Complains with FreeDesktop.org naming schema %files -n oxygen-icon-theme %defattr(-,root,root,-) %_kde_configdir/emoticons.knsrc %_kde_iconsdir/oxygen %_kde_iconsdir/hicolor/*/*/* %_kde_datadir/emoticons/* %_kde_datadir/config/icons.knsrc %_kde_iconsdir/default.kde4 %exclude %_kde_iconsdir/hicolor/index.theme %{_var}/lib/rpm/filetriggers/gtk-icon-cache-oxygen.* #----------------------------------------------------------------------------- %package -n phonon-xine Summary: Xine backend to Phonon Group: Sound BuildRequires: libxine-devel Obsoletes: kde4-phonon-xine < 1:3.93.0-0.714129.2 Requires: xine-plugins Requires: xine-pulse Provides: phonon-backend = 4.2.0 %description -n phonon-xine Xine backend to Phonon. %files -n phonon-xine %defattr(-,root,root) %_kde_libdir/kde4/kcm_phononxine.so %_kde_libdir/kde4/phonon_xine.so %_kde_datadir/kde4/services/kcm_phononxine.desktop %_kde_datadir/kde4/services/phononbackends/xine.desktop #----------------------------------------------------------------------------- %define kaudiodevicelist_major 4 %define libkaudiodevicelist %mklibname kaudiodevicelist %kaudiodevicelist_major %package -n %libkaudiodevicelist Summary: KDE 4 core library Group: System/Libraries Conflicts: %{_lib}kdecore5 >= 30000000:3.80.3 Obsoletes: %{_lib}kaudiodevicelist5 < 3.93.0-0.714006.1 Obsoletes: %{_lib}cupsdconf4 < 3.93.0-0.728415.2 Obsoletes: %{_lib}kdefx5 < 3.93.0-0.728415.2 Obsoletes: %{_lib}kdeprint_management4 < 3.94.1-0.728203.3 Obsoletes: %{_lib}kdeprint5 < 3.94.1-0.728203.3 %description -n %libkaudiodevicelist KDE 4 core library. %post -n %libkaudiodevicelist -p /sbin/ldconfig %postun -n %libkaudiodevicelist -p /sbin/ldconfig %files -n %libkaudiodevicelist %defattr(-,root,root) %_kde_libdir/libkaudiodevicelist.so.%{kaudiodevicelist_major}* #----------------------------------------------------------------------------- %package devel Group: Development/KDE and Qt Summary: Header files and documentation for compiling KDE applications Requires: kdelibs4-devel Requires: %libkaudiodevicelist = %epoch:%version %description devel This package includes the header files you will need to compile applications for KDE. Also included is the KDE API documentation in HTML format for easy browsing. %files devel %defattr(-,root,root,-) %{_kde_libdir}/libkaudiodevicelist.so %{_kde_datadir}/dbus-1/interfaces/* #----------------------------------------------------------------------------- %prep %setup -q -n kdebase-runtime-%version %patch0 -p1 -b .liblzma %patch1 -p0 -b .pulse-not-advanced %patch2 -p1 %if %{with_nepomuk_experimental} %patch200 -p0 -b .backport42 %endif %patch300 -p0 %patch301 -p0 %build %cmake_kde4 %make %install rm -fr %buildroot cd build make DESTDIR=%buildroot install # automatic gtk icon cache update on rpm installs/removals # (see http://wiki.mandriva.com/en/Rpm_filetriggers) install -d %buildroot%{_var}/lib/rpm/filetriggers cat > %buildroot%{_var}/lib/rpm/filetriggers/gtk-icon-cache-oxygen.filter << EOF ^./usr/share/icons/oxygen/ EOF cat > %buildroot%{_var}/lib/rpm/filetriggers/gtk-icon-cache-oxygen.script << EOF #!/bin/sh if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/oxygen fi EOF chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/gtk-icon-cache-oxygen.script %clean rm -fr %buildroot %changelog * Tue Sep 30 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.1.2-3mdv2009.0 + Revision: 290126 - Added splash requires in the proper package + Nicolas Lécureuil <neoclust@mandriva.org> - Fix htsearch path - Add htdig as Requires needed for khelpcenter * Thu Sep 25 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.1.2-1mdv2009.0 + Revision: 288215 - KDE 4.1.2 arriving. * Sat Sep 20 2008 Colin Guthrie <cguthrie@mandriva.org> 1:4.1.1-5mdv2009.0 + Revision: 286056 - Do not mark pulseaudio output as advanced - Require xine-pulse in the phonon-xine backend * Fri Sep 19 2008 Colin Guthrie <cguthrie@mandriva.org> 1:4.1.1-4mdv2009.0 + Revision: 285840 - Update pulseaudio cosmetics patch to enumerate capture devices which are not (currently) handled in Phonon * Fri Sep 19 2008 Colin Guthrie <cguthrie@mandriva.org> 1:4.1.1-3mdv2009.0 + Revision: 285789 - Add an experimental patch to ignore audio devices when pulseaudio is activated + Nicolas Lécureuil <neoclust@mandriva.org> - Remove wrong source * Mon Sep 01 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.1.1-2mdv2009.0 + Revision: 278339 - Welcome back experimental Nepomuk * Fri Aug 29 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.1.1-1mdv2009.0 + Revision: 277148 - Upgrade to forthcoming 4.1.1 packages + Nicolas Lécureuil <neoclust@mandriva.org> - [BUGFIX] Nepomukservices process makes my CPU reach 65%% (Bug #42474) * Sat Aug 23 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.1.0-8mdv2009.0 + Revision: 275327 - Backport the complete nepomuk folder from trunk fixes crashes of nepomuk - [BUGFIX] Fix "kioclient does not return after execution of command." (Bug #43068) * Thu Aug 21 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.1.0-7mdv2009.0 + Revision: 274630 - Add patch300 to fix icon on the network panel of Dolphin (reported and tested by Anne ) * Wed Aug 13 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.1.0-6mdv2009.0 + Revision: 271349 - Daily branch patch update * Tue Aug 05 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.1.0-5mdv2009.0 + Revision: 263911 - Fix file list - Activate Nepomuk backports from kde 4.2 - more nepomuk backport patches - Start to backport nepomuk from trunk ( not activated for the moment) * Mon Aug 04 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.1.0-4mdv2009.0 + Revision: 263054 - Update with current branch 4.1 patches - Update with current branch 4.1 patches + Nicolas Lécureuil <neoclust@mandriva.org> - Do not apply for the moment (need a little more work) - Add forgoten patch -Fix patch 102 ( still need to fix patch104 (not applied yet )) - Add versionnate against strigi - Add patches from trunk to optimise nepomuk - Add patches from trunk to optimise nepomuk * Wed Jul 30 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.1.0-3mdv2009.0 + Revision: 255170 - kdebase4-runtime no more requires any phonon package, since is suppose to be required by kdecore now. phonon-xine have a new provides called phonon-backend providing 4.2.0 as their virtual version * Tue Jul 29 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.1.0-2mdv2009.0 + Revision: 253955 - Start updates from post 4.1.0 branch on cooker only. All patches comes with full description inside. * Thu Jul 24 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.1.0-1mdv2009.0 + Revision: 246986 - Update with Release Candidate 1 - 4.1.0 * Thu Jul 24 2008 Per Ãyvind Karlsen <peroyvind@mandriva.org> 1:4.0.98-2mdv2009.0 + Revision: 245135 - fix docbook document - add missing docbook file to liblzma patch - bump release - add lzma support (P0) * Thu Jul 10 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.98-1mdv2009.0 + Revision: 233181 - Update with Release Candidate 1 - 4.0.98 * Sun Jul 06 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.0.85-1mdv2009.0 + Revision: 232308 - Update to kde 4.0.85 * Fri Jun 27 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.84-1mdv2009.0 + Revision: 229393 - Update with new snapshot tarballs 4.0.84 * Fri Jun 20 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.83-2mdv2009.0 + Revision: 227584 - devel package was blocked due missing epoch * Fri Jun 20 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.83-1mdv2009.0 + Revision: 227523 - Phonon devel is in their own package now - We can use since 4.0.81, so this avoids wait for bs everytime.. - Update with new snapshot tarballs 4.0.83 * Thu Jun 12 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.82-3mdv2009.0 + Revision: 218297 - Update with new snapshot tarballs 4.0.82 - Update with new snapshot tarballs 4.0.82 + Nicolas Lécureuil <neoclust@mandriva.org> - Change summary + Pixel <pixel@mandriva.com> - add rpm filetrigger running gtk-update-icon-cache when rpm install/remove oxygen icons + Frederik Himpe <fhimpe@mandriva.org> - Add Requires xine-plugins on phonon-xine, otherwise phonon constantly crashes (Mandriva bug #41210) * Tue Jun 03 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.81-2mdv2009.0 + Revision: 214702 - Update with new snapshot tarballs 4.0.81 * Fri May 30 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.0.81-1mdv2009.0 + Revision: 213263 - New snapshot kde 4.0.81 * Sat May 24 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.80-1mdv2009.0 + Revision: 210775 - New upstream kde4 4.1 beta1 * Fri May 16 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.0.74-2mdv2009.0 + Revision: 208151 - Versionnate BuildRequires - Rebuild against new kdepimlibs4 * Fri May 16 2008 Funda Wang <fundawang@mandriva.org> 1:4.0.74-1mdv2009.0 + Revision: 208040 - New version 4.0.74 * Tue May 13 2008 Anssi Hannula <anssi@mandriva.org> 1:4.0.73-3mdv2009.0 + Revision: 206729 - drop bogus buildrequires on networkmanager-devel - add Conflicts for old KDE3 packages for smooth upgrade * Thu May 08 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.0.73-2mdv2009.0 + Revision: 204554 - Update to kde 4.0.73 * Thu May 01 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.0.72-2mdv2009.0 + Revision: 199902 - Fix File list - Fix file list - Update to kde 4.0.72 - Fix File list - Fix file list - New week-end New snapshot 4.0.70 - New snapshot 4.0.69 + Helio Chissini de Castro <helio@mandriva.com> - New upstream kde4 4.1 alpha 1 - Starting to push new infrastructure for devel KDE 4.1. KDE 4 will be on / now. KDE is dead. Long live KDE vi kdenetwork4/SPECS/kdenetwork4.spec ;-) * Fri Mar 28 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.3-1mdv2008.1 + Revision: 190971 - Update for last stable release 4.0.3 + Nicolas Lécureuil <neoclust@mandriva.org> - Requires the translation package by default now * Sat Mar 08 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.0.2-2mdv2008.1 + Revision: 182140 - Rebuild against new qt4 changes * Sat Mar 01 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.2-1mdv2008.1 + Revision: 177359 - New upstream bugfix release 4.0.2 * Wed Feb 20 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.1-3mdv2008.1 + Revision: 173224 - Update nepomuk with trunk modifications. Requested by nepomuk maintainer, Sebastian Trueg + Nicolas Lécureuil <neoclust@mandriva.org> - Add ifdef statement to allow backports again * Wed Feb 13 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.0.1-2mdv2008.1 + Revision: 167174 - rebuild * Sun Feb 10 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.1-1mdv2008.1 + Revision: 164757 - Updating for stable KDE 4.0.1 - No more branches. From now, we will be using the monthly official KDE tarballs, as discussed by Mandriva KDE Team * Sun Jan 27 2008 Nicolas Lécureuil <neoclust@mandriva.org> 1:4.0.0-1.765565.2mdv2008.1 + Revision: 158544 - Rebuild because of missing signature * Thu Jan 24 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.0-1.765565.1mdv2008.1 + Revision: 157493 - Update to 4.0 branch - Included nepomuk trunk patch, as requested by Sebastian Trueg * Tue Jan 08 2008 Helio Chissini de Castro <helio@mandriva.com> 1:4.0.0-1mdv2008.1 + Revision: 146521 - Update for final stable 4.0.0 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Dec 24 2007 Nicolas Lécureuil <neoclust@mandriva.org> 1:3.97.1-1.752237.1mdv2008.1 + Revision: 137359 - New snapshot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Dec 10 2007 Nicolas Lécureuil <neoclust@mandriva.org> 1:3.97.1-1mdv2008.1 + Revision: 117062 - New snapshot + Helio Chissini de Castro <helio@mandriva.com> - import kdebase4-runtime