Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdelibs4
kdelibs4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdelibs4.spec of Package kdelibs4
# # spec file for package kdelibs4 (Version 4.1.3) # # Copyright (c) 2010 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: kdelibs4 BuildRequires: alsa-devel aspell-devel cmake cups-devel giflib-devel hicolor-icon-theme BuildRequires: libattr-devel libpng-devel libqt4-devel libtiff-devel libxslt-devel unzip BuildRequires: libsoprano-devel pcre-devel phonon-devel shared-mime-info BuildRequires: kde4-filesystem strigi strigi-devel update-desktop-files BuildRequires: OpenEXR-devel automoc4 enchant-devel fam-devel utempter %if %suse_version > 1020 BuildRequires: avahi-compat-mDNSResponder-devel fdupes libjasper-devel %else BuildRequires: libjasper %endif License: LGPL v2.1 or later Group: System/GUI/KDE Summary: KDE Base Libraries Url: http://www.kde.org Version: 4.1.3 Release: 4.<RELEASE13> %if %suse_version > 1010 Requires: libqt4-x11 >= %( echo `rpm -q --queryformat '%{VERSION}' libqt4-x11`) %else Requires: qt-x11 >= %( echo `rpm -q --queryformat '%{VERSION}' qt-x11`) %endif Requires: libstrigi0 >= %( echo `rpm -q --queryformat '%{VERSION}' strigi-devel`) Requires: soprano >= %( echo `rpm -q --queryformat '%{VERSION}' libsoprano-devel`) Recommends: strigi >= %( echo `rpm -q --queryformat '%{VERSION}' strigi-devel`) Requires: kdelibs4-core = %version Requires: libkde4 = %version Requires: shared-mime-info >= %( echo `rpm -q --queryformat '%{VERSION}' shared-mime-info`) Source0: kdelibs-%version.tar.bz2 Source1: _upstream Source2: hidden.desktop Source3: ycp.xml Source4: kde4rc Patch0: 4_1_BRANCH.diff Patch1: kde3-applications.diff Patch2: default-useragent.diff Patch3: add-suse-translations.diff Patch5: clever-menu.diff Patch6: hotplug-kde3.diff Patch7: kde3-autostart.diff Patch8: windeco-color.diff Patch9: kdesu-settings.diff Patch10: kdebug-areas-update.diff Patch11: display-key-support.diff Patch12: desktop-translations.diff Patch13: kjs-mark-register-stack.diff Patch14: solid-interfaces.diff Patch15: kfile-select.diff Patch16: r895893-fix-autocomplete.diff Patch17: flash-player-non-oss.diff Patch18: kdepasswd-fix.diff Patch19: r915410.diff Patch20: r922115.diff Patch21: 4_1_BRANCH_r891650.diff Patch22: patch-r886953.diff Patch23: patch-r887726.diff Patch24: patch-r888820.diff Patch25: patch-r888880.diff Patch26: patch-r889247.diff Patch27: patch-r889593.diff Patch28: patch-r889717.diff Patch29: patch-r889786.diff Patch30: patch-r890033.diff Patch31: patch-r890050.diff Patch32: patch-r890057.diff Patch33: patch-r890181.diff Patch34: patch-r890187.diff Patch35: patch-r890189.diff Patch36: patch-r890299.diff Patch37: patch-r890350.diff Patch38: patch-r890379.diff Patch39: patch-r890380.diff Patch40: patch-r890652.diff Patch42: patch-r891821.diff Patch43: patch-r894005.diff Patch44: patch-r894303.diff Patch45: patch-r894493.diff Patch46: patch-r894522.diff Patch47: patch-r895086.diff Patch48: patch-r895748.diff Patch50: patch-r895896.diff Patch51: patch-r896002.diff Patch52: patch-r897682.diff Patch53: patch-r897692.diff Patch54: patch-r897715.diff Patch55: patch-r897853.diff Patch56: patch-r899215.diff Patch57: patch-r901028.diff Patch58: patch-r901165.diff Patch59: patch-r901179.diff Patch60: patch-r901205.diff Patch61: patch-r901693.diff Patch62: patch-r904442.diff Patch63: patch-r906020.diff Patch64: patch-r906060.diff Patch65: patch-r906293.diff Patch69: patch-r928065.diff Patch70: bnc557126.diff Patch71: bnc600469.diff Patch72: bnc512559-2009-1687.diff Patch73: bnc512559-2009-1690.diff Patch74: bnc512559-2009-1698.diff Patch75: 77dc792c-khtml-xss.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?opensuse_bs} %define debug_package_requires %name = %version-%release libqt4-debuginfo %endif %description This package contains the basic packages of the K Desktop Environment. It contains the necessary libraries for the KDE desktop. This package is absolutely necessary for using graphical KDE applications. Authors: -------- The KDE Team <kde@kde.org> %prep %setup -q -n kdelibs-%version %patch %patch1 %patch2 %patch3 %patch5 %patch6 %patch7 %patch8 %patch9 %patch10 %patch11 %patch12 %patch13 %patch14 %patch15 %patch16 %patch17 %patch18 %patch19 %patch20 %patch21 %patch22 %patch23 %patch24 %patch25 %patch26 %patch27 %patch28 %patch29 %patch30 %patch31 %patch32 %patch33 %patch34 %patch35 %patch36 %patch37 %patch38 %patch39 %patch40 %patch42 %patch43 %patch44 %patch45 %patch46 %patch47 %patch48 %patch50 %patch51 %patch52 %patch53 %patch54 %patch55 %patch56 %patch57 %patch58 %patch59 %patch60 %patch61 %patch62 %patch63 %patch64 %patch65 %patch69 %patch70 %patch71 %patch72 %patch73 %patch74 %patch75 -p1 # # define KDE version exactly # sed -ri 's,#cmakedefine KDE_VERSION_STRING "@KDE_VERSION_STRING@",#cmakedefine KDE_VERSION_STRING "@KDE_VERSION_STRING@ \\"release %release\\"",' kdecore/util/kdeversion.h.cmake %build EXTRA_FLAGS="-DLIB_INSTALL_DIR=%{_kde_libdir} \ -DCONFIG_INSTALL_DIR=%{_kde_config_dir} \ -DDATA_INSTALL_DIR=%{_kde_share_dir}/apps \ -DKCFG_INSTALL_DIR=%{_kde_share_dir}/config.kcfg \ -DMIME_INSTALL_DIR=/nogo \ -DTEMPLATES_INSTALL_DIR=%{_kde_share_dir}/templates \ -DHTML_INSTALL_DIR=%{_kde_html_dir} \ -DKDE_DEFAULT_HOME=.kde4" %cmake_kde4 -d build -- -DKDE_DISTRIBUTION_TEXT="%distribution" $EXTRA_FLAGS %make_jobs %install cd build %makeinstall %create_subdir_filelist -d kdecore -v kdecore.devel %create_subdir_filelist -d kpty -f kdecore -v kdecore.devel cd .. %create_exclude_filelist mkdir -p $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged mv $RPM_BUILD_ROOT/usr/etc/xdg/menus/applications.menu \ $RPM_BUILD_ROOT/etc/xdg/menus/applications.menu.kde4 rm $RPM_BUILD_ROOT/usr/share/man/man1/checkXML.1 mv $RPM_BUILD_ROOT/usr/share/man/man7/kdeoptions.7 \ $RPM_BUILD_ROOT/usr/share/man/man7/kde4options.7 mv $RPM_BUILD_ROOT/usr/share/man/man7/qtoptions.7 \ $RPM_BUILD_ROOT/usr/share/man/man7/qt4options.7 %if %suse_version > 1020 %fdupes -s $RPM_BUILD_ROOT %endif mkdir -p $RPM_BUILD_ROOT/usr/share/autostart/ install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/autostart/panel.desktop install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/autostart/ktip.desktop install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/autostart/kdesktop.desktop install -m 0644 %SOURCE3 $RPM_BUILD_ROOT//usr/share/kde4/apps/katepart/syntax/ycp.xml install -m 0644 %SOURCE4 $RPM_BUILD_ROOT/etc/ mkdir -p $RPM_BUILD_ROOT/%_libdir/kconf_update_bin %kde_post_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT rm -rf filelists %package doc License: LGPL v2.1 or later Group: System/GUI/KDE Summary: Documentation for KDE Base Libraries Requires: sgml-skel %define regcat /usr/bin/sgml-register-catalog PreReq: %{regcat} /usr/bin/xmlcatalog /usr/bin/edit-xml-catalog PreReq: sed grep awk %description doc This package contains the core environment and templates for the KDE help system. Authors: -------- The KDE Team <kde@kde.org> %files doc %defattr(-,root,root) /usr/bin/meinproc4 %_kde_share_dir/apps/ksgmltools2 %package -n libkdecore4 License: LGPL v2.1 or later Group: System/GUI/KDE Summary: KDE Core Libraries %description -n libkdecore4 This package contains the core libraries of the K Desktop Environment. This package is absolutely necessary for using KDE applications. Authors: -------- The KDE Team <kde@kde.org> %post -n libkdecore4 -p /sbin/ldconfig %postun -n libkdecore4 -p /sbin/ldconfig %files -n libkdecore4 %defattr(-,root,root) %doc COPYING COPYING.DOC COPYING.LIB README %_libdir/libkdecore.so.* %_libdir/libkdefakes.so.* %_libdir/libkpty.so.* %package -n kdelibs4-core License: LGPL v2.1 or later Group: System/GUI/KDE Summary: KDE Base Libraries Requires: kde4-filesystem >= %_kde_platform_version Requires: libkdecore4 = %version %description -n kdelibs4-core This package contains the basic packages of the K Desktop Environment. It contains the necessary libraries for the KDE desktop. This package is absolutely necessary for using graphical KDE applications. Authors: -------- The KDE Team <kde@kde.org> %files -n kdelibs4-core -f filelists/kdecore %defattr(-,root,root) %doc COPYING COPYING.DOC COPYING.LIB README %exclude %_libdir/libkdecore.so.* %exclude %_libdir/libkdefakes.so.* %exclude %_libdir/libkpty.so.* %exclude /usr/bin/kconfig_compiler %dir /usr/%_lib/kde4 %dir /usr/share/kde4/servicetypes %config %_kde_config_dir/kdebug.areas %config %_kde_config_dir/kdebugrc %config /etc/kde4rc %package -n libkdecore4-devel License: LGPL v2.1 or later Group: System/GUI/KDE Summary: KDE Core Libraries: Build Environment Requires: libkdecore4 = %{version} Requires: kdelibs4-core = %version cmake automoc4 %description -n libkdecore4-devel This package contains all necessary include files and libraries needed to develop non-graphical KDE applications. Authors: -------- The KDE Team <kde@kde.org> %files -n libkdecore4-devel -f filelists/kdecore.devel %defattr(-,root,root) %doc COPYING COPYING.DOC COPYING.LIB README /usr/bin/kconfig_compiler %package -n libkde4 License: LGPL v2.1 or later Group: System/GUI/KDE Summary: KDE Base Libraries %description -n libkde4 This package contains the basic packages of the K Desktop Environment. It contains the necessary libraries for the KDE desktop. This package is absolutely necessary for using graphical KDE applications. Authors: -------- The KDE Team <kde@kde.org> %post -n libkde4 -p /sbin/ldconfig %postun -n libkde4 -p /sbin/ldconfig %files -n libkde4 %defattr(-,root,root) %doc COPYING COPYING.DOC COPYING.LIB README %_libdir/libkde3support.so.* %_libdir/libkdesu.so.* %_libdir/libkdeui.so.* %_libdir/libkdnssd.so.* %_libdir/libkhtml.so.* %_libdir/libkimproxy.so.* %_libdir/libkio.so.* %_libdir/libkjs.so.* %_libdir/libkjsapi.so.* %_libdir/libkjsembed.so.* %_libdir/libkmediaplayer.so.* %_libdir/libknotifyconfig.so.* %_libdir/libkntlm.so.* %_libdir/libkparts.so.* %_libdir/libkrosscore.so.* %_libdir/libktexteditor.so.* %_libdir/libkunittest.so.* %_libdir/libkutils.so.* %_libdir/libkwalletbackend.so.* %_libdir/libkrossui.so.* %_libdir/libsolid.so.* %_libdir/libthreadweaver.so.* %_libdir/libkfile.so.* %_libdir/libknewstuff2.so.* %_libdir/libnepomuk.so.* %package -n libkde4-devel License: LGPL v2.1 or later Group: System/GUI/KDE Summary: KDE Base Libraries: Build Environment Requires: kdelibs4 = %version Requires: kdelibs4-doc = %version Requires: libkde4 = %version libkdecore4-devel = %version Requires: libxslt-devel libattr-devel aspell-devel libtiff-devel pcre-devel %if %suse_version > 1010 Requires: libqt4-devel %else Requires: qt-devel %endif Requires: giflib-devel alsa-devel cups-devel %if %suse_version > 1020 Requires: avahi-compat-mDNSResponder-devel %endif Requires: libjpeg-devel libidn-devel libbz2-devel Requires: libxml2-devel update-desktop-files strigi-devel Requires: fam-devel enchant-devel OpenEXR-devel enchant-devel Requires: phonon-devel %description -n libkde4-devel This package contains all necessary include files and libraries needed to develop KDE applications. Authors: -------- The KDE Team <kde@kde.org> %files -n libkde4-devel -f filelists/exclude %defattr(-,root,root) /usr/include/* %_kde_share_dir/apps/cmake %exclude %_libdir/libkdeinit4_*.so %_libdir/*.so %files -f filelists/exclude %defattr(-,root,root) %exclude /usr/bin/meinproc4 %exclude %_kde_share_dir/apps/ksgmltools2 %exclude %_kde_share_dir/apps/cmake %config %_kde_config_dir/* %dir /etc/xdg/menus %dir %_libdir/kde4 %dir %_libdir/kconf_update_bin %dir /usr/share/autostart %dir /usr/share/doc/kde %dir /usr/share/doc/kde/HTML %dir /usr/share/doc/kde/HTML/en %dir /usr/share/doc/kde/HTML/en/common %dir /usr/share/kde4/servicetypes %doc %lang(en) /usr/share/doc/kde/HTML/en/sonnet /etc/xdg/menus/applications.menu.kde4 %_kde4_modules/* %_kde_html_dir/en/common/* %_kde_share_dir/apps/* %_kde_share_dir/services/* %_kde_share_dir/servicetypes/* %_libdir/libkdeinit4_*.so /usr/bin/* /usr/share/autostart/kdesktop.desktop /usr/share/autostart/panel.desktop /usr/share/autostart/ktip.desktop /usr/share/dbus-1/interfaces/* /usr/share/icons/hicolor/*/actions/presence_away.* /usr/share/icons/hicolor/*/actions/presence_offline.* /usr/share/icons/hicolor/*/actions/presence_online.* /usr/share/icons/hicolor/*/actions/presence_unknown.* /usr/share/man/man*/* /usr/share/mime/packages/kde.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor