Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
kdelibs3
kdelibs3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdelibs3.spec of Package kdelibs3
# # spec file for package kdelibs3 # # Copyright (c) 2017 SUSE LINUX 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/ # %define with_arts 1 Name: kdelibs3 BuildRequires: OpenEXR-devel %if %with_arts BuildRequires: arts-devel %endif BuildRequires: automake BuildRequires: avahi-compat-mDNSResponder-devel BuildRequires: ca-certificates BuildRequires: cups-devel BuildRequires: db-devel BuildRequires: fdupes BuildRequires: flac-devel %if 0%{?suse_version} < 1600 BuildRequires: gamin-devel %endif BuildRequires: krb5-devel BuildRequires: libacl-devel BuildRequires: libart_lgpl-devel BuildRequires: libattr-devel BuildRequires: libbz2-devel BuildRequires: libdrm-devel BuildRequires: libidn-devel %if %with_arts%{?suse_version} <= 1500 # libjasper was removed from Tumbleweed and not used for a long time. # So simply removed. BuildRequires: libjasper-devel %endif BuildRequires: libsndfile-devel BuildRequires: libtiff-devel BuildRequires: libxslt-devel BuildRequires: openldap2-devel BuildRequires: openssl-devel BuildRequires: pcre-devel BuildRequires: qt3-devel BuildRequires: sgml-skel BuildRequires: unsermake BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: utempter Url: http://www.kde.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: KDE Base Libraries License: BSD-3-Clause and GPL-2.0+ and LGPL-2.1+ Group: System/GUI/KDE Version: 3.5.10 Release: 0 Obsoletes: kde3-i18n Obsoletes: kdelibs3-33addons Obsoletes: kdelibs3-cups Obsoletes: kdepim3-networkstatus Obsoletes: keramik Obsoletes: kups Provides: kdelibs3-33addons Provides: kdelibs3-cups Provides: kdelibs3_base = 3.3 Provides: kdepim3-networkstatus Provides: keramik Provides: kups Requires: iceauth # bug437293 %ifarch ppc64 Obsoletes: kdelibs3-64bit %endif # Requires: ca-certificates Requires: hicolor-icon-theme Requires: kdelibs3-default-style Requires: openssl Recommends: ispell enscript hunspell Requires: sudo # for set_permissions macro PreReq: permissions Source0: kdelibs-%{version}.tar.bz2 Source2: do_make Source3: baselibs.conf Source4: api_docu_description Source6: kde3rc Source7: common_options # svn export svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin Source8: admin.tar.bz2 Source9: cr16-filesys-file_broken.png Source10: kdemm-20050330.tar.bz2 Source11: 10888-bt.tar.gz Source12: mimetype-icons.tar.bz2 Source14: vnd.openxmlformats-officedocument.wordprocessingml.document.desktop Source15: vnd.openxmlformats-officedocument.presentationml.presentation.desktop Source16: vnd.openxmlformats-officedocument.spreadsheetml.sheet.desktop Source17: tdelibs-kate-data.git-dc699b4fd407.tar.bz2 %if 0%{?suse_version} >= 1599 Source18: suse_update_desktop_file_kde3_new.sh %else Source18: suse_update_desktop_file_kde3_old.sh %endif Source19: rpm_macros.update-desktop-files-kde3 Patch0: 3_5_BRANCH.diff Patch1: kdeversion.diff Patch2: admin.diff Patch3: show-distribution.diff Patch4: kdelibs-3.5.10-fix-bashisms.patch Patch5: applications.menu-fallback.diff Patch7: stat-on-media.diff Patch8: kmimelist.diff Patch9: x-kde-InitialPreference.diff Patch10: disable-idn-support.diff Patch11: silence.diff Patch12: smooth-scrolling.diff Patch13: rubberband-selection.diff Patch15: add-suse-translations.diff Patch16: kde3rc.dif Patch17: artwork.diff Patch26: mimetype-changes.diff Patch27: noauto-package.diff Patch29: prefer_distribution_settings.dif Patch34: allow-man-setgid.diff Patch40: clever-menu.diff Patch43: fileshare.diff Patch44: fontconfig-reverse-lookup.diff Patch45: limit-max-image-size.diff Patch50: fix-gnome-help-support.diff Patch950: fix-gnome-help-support_legacy.diff Patch52: kdeprint-restart-cupsd.diff Patch54: kdemm.diff Patch55: fix-kdemm-build.diff Patch56: fix-dcopidlng-within-kdelibs-build.diff Patch57: kdemm-filepreview.diff Patch60: fix-qxembed.diff Patch65: integrate-global-pixmaps-new.diff Patch70: ktip-icon-hack.diff Patch80: CATALOG.kdelibs3.diff Patch81: xml-catalog.diff Patch83: kdelibs3-gcc-4.1-miscompile.diff Patch85: desktop-translations.diff Patch86: use-xauthlocalhostname.diff Patch88: mozilla-sliders.patch Patch89: kdeprint-utf8.diff Patch90: kimproxy-warning.diff Patch95: kdelibs_networkstatus_branch2.diff Patch97: autostart-spec.diff Patch105: kdelibs3-hicolor-scalable-sizes.patch Patch106: use-mediamanager.diff Patch108: patch-mimetype-iconnames.diff Patch109: fix-kerberos-printing.diff Patch110: printpreview.patch Patch111: kfile-beagle.diff Patch112: xinerama.patch Patch113: kremoteencoding-utf8.diff Patch114: no-progress-for-beagle-status-query.diff Patch117: kickoff-drop-shadow.diff Patch122: disable-samba-dialog-without-smb.diff Patch123: lpoptions-cups-1.2.diff Patch124: spellcheck-default-utf8.diff Patch125: kde4-applications.diff Patch126: avahi-pidfile.diff Patch127: x-jar-desktop.diff Patch128: google-mail.diff Patch129: default-useragent.diff Patch130: kwalletd-try-open.diff Patch131: textcompletion-editor.diff Patch132: no-debug-by-default.diff Patch133: flash-player-non-oss.diff Patch134: bundle-locale-help.diff Patch149: networkstatus.diff Patch150: kdesu-settings.diff Patch152: bug-399296_ftphandling-fix.diff Patch153: bug-382959_kabc_fix_vcardparser.patch Patch154: r874968-ebay-crash.diff Patch155: gcc44.diff Patch156: fix-macmenu.patch Patch157: ignore-inline-menu.diff Patch158: bnc557126.diff Patch159: xmlhttprequest_3.x.diff Patch160: kdecode_fakes_include.diff Patch161: gcc45.diff Patch162: arts-acinclude.patch Patch163: kdelibs-3.5.10-ossl-1.x.patch Patch164: light_v_2_scrollbar_patch.patch Patch201: kdelibs-3.5.4-CVE-2009-1690.patch Patch204: kdelibs-3.5.10-CVE-2009-2702.patch Patch205: kdelibs-3.5.10-cve-2009-2537-select-length.patch Patch206: kdelibs-3.5.10-cve-2009-1725.patch Patch207: kdelibs-3.5.10-cve-2009-1698.patch Patch210: kdelibs-3.5.10-kio.patch Patch211: oom_score_adj.patch Patch212: kcontrol_crash_patch.diff Patch213: kdelibs-trinity-1123812-certificates.dif Patch214: kdelibs-trinity-1176550-desktop-size-default.dif Patch215: kdelibs-trinity-1176570-no-default-singleclick.dif Patch216: kdelibs-cups-1_5-fix.patch Patch217: kdelibs-trinity-konq-working-dir.diff Patch218: kdelibs-trinity-flat-xml-types-r1258237.diff Patch219: kiconview-text-fix.patch Patch220: kdelibs-fedora-3.5.x-CVE-2011-3365.patch Patch221: kdelibs-tarent-fix-webdav-utf8.diff Patch222: scalable-tray-icons.patch Patch223: kdelibs-automake-1.11.5.patch Patch224: dcop-header-fix-gcc47.patch Patch225: kdelibs-trinity-xinit-fix.patch Patch226: initialise-mCrossDomain-fix.diff Patch227: kdelibs-kactionselector-multiple-item-movement.patch Patch228: merge-svn-diff.patch Patch229: kdelibs-fix-htdig.diff Patch230: libxml2-parser.patch Patch231: kdelibs-3.5.10-cups16.patch Patch232: kdelibs-3.5.10-cups20.patch Patch233: kdelibs-3.5.10-CVE-2013-2074.patch Patch234: fix-perl-no-defined-array.diff Patch235: kdelibs-3.5.10-gcc6.patch Patch236: reproducible.patch Patch237: kdelibs-3.5.10-ossl-1.1.x.patch Patch238: kdelibs3-svg-floatingpoint.patch Patch239: kdelibs3-tlsinit.patch Patch240: kdelibs-trinity-tls_client_method-tlsext_hostname.patch Patch241: kdelibs-3.5.10-CVE-2009-1687.patch Patch242: fix-accidental-double-free-in-kjs-garbage-collector.patch Patch243: kdelibs3-iceauthority-to-xdg-home.patch Patch244: kdelibs3-kdeprint-configure-no_int_main.patch Patch245: kdelibs-CVE-2019-14744.patch Patch246: kdelibs-3.5.10-CVE-2015-7543.patch Patch247: kdelibs-3.5.10-CVE-2016-6232.patch Patch248: kdelibs-3.5.10-CVE-2017-6410.patch Patch249: kdelibs-fedora-3.5.10-kglobalsettings-xdg-user-dirs.patch Patch250: kdelibs-fedora-3.5.0-101956.patch Patch251: kdelibs-fedora-3.5.10-latex-syntax-kile-2.0.3.patch Patch252: kdelibs-rar-support.patch Patch253: kdelibs-xz-support.patch Patch254: kdelibs-trinity-svg.patch Patch255: kdelibs-3.5.8-fedora-kspell-hunspell.patch Patch256: kdelibs-3.5.6-fedora-lang.patch Patch257: kdelibs-trinity-fix-root-icon.patch Patch258: kdelibs-fix-handling-of-arcs.patch Patch259: kdelibs-fix-unresponsive-shortcut-dialog.patch Patch260: kdelibs-fix-x509-store-ctx-used-twice.patch Patch261: kdelibs-3.5.10-ossl-3.patch Patch262: kdelibs-3.5.10-autoconf-2.72.patch Patch263: kdelibs-multiple-dot-iconfile.patch %description This package contains kdelibs, one of the basic packages of the K Desktop Environment. It contains the necessary libraries for the KDE desktop. This package is absolutely necessary for using KDE. %if %with_arts %package arts Summary: KDE aRts support Group: System/GUI/KDE Provides: kdelibs3:/opt/kde3/bin/artsmessage # bug437293 %ifarch ppc64 Obsoletes: kdelibs3-arts-64bit %endif # Requires: arts Recommends: kdemultimedia3-arts %description arts This package contains bindings and gui elements for using aRts sound daemon. %endif %package default-style Summary: The default KDE style Group: System/GUI/KDE Provides: kdelibs3:/opt/kde3/%_lib/libkdefx.so.4 %description default-style This package contains the Plastik widget style and libkdefx. It only depends on Qt, not the KDE libraries. %package doc Summary: Documentation for KDE Base Libraries Group: System/GUI/KDE Provides: kdelibs3:/opt/kde3/share/apps/ksgmltools2 Provides: kdelibs3_doc Requires: libxml2 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. %package devel # usefiles /opt/kde3/bin/dcopidl /opt/kde3/bin/dcopidl2cpp /opt/kde3/bin/kdb2html /opt/kde3/bin/preparetips Requires: autoconf Requires: automake Requires: kdelibs3 = %version Requires: libart_lgpl-devel Requires: libjpeg-devel Requires: libvorbis-devel Requires: libxml2-devel Requires: libxslt-devel Requires: qt3-devel # next line from kde3-devel-packages macro Requires: avahi-compat-mDNSResponder-devel Requires: dbus-1-qt3-devel %if %with_arts Requires: kdelibs3-arts Requires: arts-devel %endif Requires: kdelibs3-doc Requires: libacl-devel Requires: libattr-devel Requires: libbz2-devel Requires: libdrm-devel Requires: libtiff-devel Requires: openssl-devel Requires: update-desktop-files Summary: KDE Base Package: Build Environment Group: System/GUI/KDE %if 0%{?suse_version} < 1600 Requires: gamin-devel %endif Requires: libidn-devel Requires: pcre-devel %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %prep echo %suse_version %setup -q -n kdelibs-%{version} %patch -P 0 %patch -P 228 -p1 %patch -P 1 %patch -P 3 %patch -P 4 -p1 %patch -P 5 %patch -P 7 %patch -P 10 %patch -P 11 %patch -P 12 %patch -P 13 %patch -P 15 %patch -P 16 %patch -P 17 %patch -P 26 %patch -P 27 %patch -P 29 #%patch -P 43 #disable it because of BIC #%patch -P 45 %if %suse_version > 1020 %patch -P 50 %else %patch -P 950 %endif %patch -P 52 %patch -P 34 %patch -P 44 %patch -P 40 %patch -P 8 %patch -P 9 tar xfvj %SOURCE10 # TODO! %patch -P 54 %patch -P 55 %patch -P 56 %patch -P 57 %patch -P 60 %patch -P 65 %patch -P 70 rm -rf admin bunzip2 -cd %{SOURCE8} | tar xfv - --exclude=.cvsignore --exclude=CVS install -m 755 %{SOURCE2} admin %patch -P 2 %patch -P 80 -p 1 %patch -P 81 %patch -P 83 %patch -P 85 %patch -P 86 %patch -P 88 %patch -P 89 %patch -P 90 %patch -P 233 -p1 %patch -P 95 %patch -P 97 %if %suse_version < 1030 %patch -P 105 -p 1 %endif %patch -P 106 %patch -P 108 %patch -P 109 %patch -P 110 %patch -P 111 %patch -P 112 %patch -P 113 %patch -P 114 #%patch -P 117 %patch -P 122 %patch -P 123 %patch -P 124 %patch -P 125 %patch -P 126 %patch -P 127 %patch -P 128 %patch -P 129 %patch -P 130 %patch -P 131 %patch -P 132 %patch -P 133 %patch -P 134 %patch -P 149 %patch -P 150 %patch -P 152 %patch -P 153 %patch -P 154 %patch -P 155 %patch -P 156 %patch -P 157 %patch -P 158 %patch -P 159 %patch -P 160 %patch -P 161 %patch -P 162 -p1 %patch -P 163 -p1 %patch -P 164 -p1 %patch -P 201 -p1 %patch -P 204 -p1 %patch -P 205 -p1 %patch -P 206 %patch -P 207 -p1 %patch -P 210 -p1 %patch -P 211 -p1 %patch -P 212 %patch -P 213 -p1 %patch -P 214 -p1 %patch -P 215 -p1 %patch -P 216 -p1 %patch -P 217 -p1 %patch -P 218 -p1 %patch -P 219 -p1 %patch -P 220 -p1 %patch -P 221 -p1 %patch -P 222 -p1 %patch -P 223 -p1 %patch -P 224 -p1 %patch -P 225 -p1 %patch -P 226 -p1 %patch -P 227 -p1 %patch -P 229 -p1 %patch -P 230 -p1 %patch -P 231 -p1 %patch -P 232 -p1 %patch -P 234 -p1 %patch -P 235 -p1 %patch -P 236 -p1 %patch -P 237 -p1 %patch -P 238 -p1 %patch -P 239 -p1 %patch -P 240 -p1 %patch -P 241 -p1 %patch -P 242 -p1 %if %suse_version >= 1550 %patch -P 243 -p1 %patch -P 244 -p1 %endif %patch -P 245 -p1 %patch -P 246 -p1 %patch -P 247 -p1 %patch -P 248 -p1 %patch -P 249 -p1 %patch -P 250 -p1 %patch -P 251 -p1 %patch -P 252 -p1 %patch -P 253 -p1 %patch -P 254 -p1 %patch -P 255 -p1 %patch -P 257 -p1 %patch -P 258 -p1 %patch -P 259 -p1 %patch -P 260 -p1 %if 0%{?suse_version} > 1600 %patch -P 261 -p1 %endif %patch -P 262 -p1 %patch -P 263 -p1 cd kate/data tar xvjf %SOURCE17 cd ../.. %define _lto_cflags -ffat-lto-objects # disable a debug feature sed -i 's|#define KICONLOADER_CHECKS||g' kdecore/kiconloader.cpp tar xfvj %SOURCE12 # # define KDE version exactly # myrelease=$(echo %release | cut -d. -f-1) sed 's,#define KDE_VERSION_STRING "\(.*\)",#define KDE_VERSION_STRING "\1 \\"release '$myrelease'\\"",' kdecore/kdeversion.h > kdecore/kdeversion.h_ && mv kdecore/kdeversion.h_ kdecore/kdeversion.h # # create build enviroment # UNSERMAKE=yes make -f admin/Makefile.common cvs %define _mandir /opt/kde3/share/man %build export PATH=$PWD/admin/:$PATH # work around for http://lists.opensuse.org/opensuse-packaging/2014-01/msg00010.html export SUSE_ASNEEDED=0 FINAL="--enable-final" CFLAGS="$CFLAGS -fno-strict-aliasing -ffat-lto-objects" CXXFLAGS="$CXXFLAGS -fno-strict-aliasing -ffat-lto-objects" %ifarch armv4l FINAL="" CXXFLAGS="$CXXFLAGS -O0" %endif FLAGS="$FLAGS --with-pcsc-dir=/usr " FLAGS="$FLAGS --disable-rpath" OPTIONS="$FLAGS $FINAL \ %if !%with_arts --without-arts \ %endif --prefix=/opt/kde3 \ --with-qt-dir=/usr/lib/qt3 \ --enable-threading \ --enable-mt \ --with-xinerama \ --with-ssl-dir=/usr/ssl \ --mandir=%_mandir \ --sysconfdir=%_sysconfdir \ --disable-new-ldflags" # # common_options # sed -e 's,@_lib@,%_lib,g' -e "s,@configkde@,$OPTIONS,g" \ %{SOURCE7} > ../common_options . ../common_options rm -rf $RPM_BUILD_ROOT export PATH=/opt/kde3/bin:$PATH if [ %_lib = lib64 ]; then EXTRA_OPTIONS="--enable-libsuffix=64" fi %if %is_plus EXTRA_OPTIONS="$EXTRA_OPTIONS --enable-dnotify" %endif export path_sudo=/usr/bin/sudo # # define the distribution exactly # test -e /.buildenv && . /.buildenv %if %is_plus # supplementary package DISTRI="openSUSE $BUILD_DISTRIBUTION_VERSION UNSUPPORTED" %else # official build on released and maintained products DISTRI="openSUSE $BUILD_DISTRIBUTION_VERSION" %endif sed 's,#define KDE_VERSION_STRING "\(.*\)",#define KDE_VERSION_STRING "\1 '"$ADD_VERSION"'",' kdecore/kdeversion.h > kdecore/kdeversion.h_ && mv kdecore/kdeversion.h_ kdecore/kdeversion.h # find MIT kerberos export PATH=/usr/lib/mit/bin:$PATH # fast-malloc is not needed anymore ./configure $configkde $EXTRA_OPTIONS \ --enable-fast-malloc=no \ --with-distribution="$DISTRI" do_make %{?jobs:-j %jobs} # xmlcatbin=/usr/bin/xmlcatalog # CATALOG=docbook-simple.xml # $xmlcatbin --noout --create $CATALOG # $xmlcatbin --noout --add "public" \ # "-//OASIS//DTD Simplified DocBook XML V1.0//EN" \ # "file://%{xml_mod_dtd_dir}/sdocbook.dtd" $CATALOG # $xmlcatbin --noout --add "system" \ # "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd" \ # "file://%{xml_mod_dtd_dir}/sdocbook.dtd" $CATALOG %define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml CATALOG=/opt/kde3/share/apps/ksgmltools2/customization/catalog.xml rm -f %{FOR_ROOT_CAT}.tmp $xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp # $xmlcatbin --noout --add "delegateSystem" \ # "http://www.oasis-open.org/docbook/xml/simple/" \ # "file:///$CATALOG" %{FOR_ROOT_CAT}.tmp $xmlcatbin --noout --add "delegatePublic" \ "-//KDE//DTD DocBook XML V4.2" \ "file://$CATALOG" %{FOR_ROOT_CAT}.tmp $xmlcatbin --noout --add "delegatePublic" \ "-//KDE//ELEMENTS" \ "file://$CATALOG" %{FOR_ROOT_CAT}.tmp $xmlcatbin --noout --add "delegatePublic" \ "-//KDE//ENTITIES" \ "file://$CATALOG" %{FOR_ROOT_CAT}.tmp # Create tag sed '/<catalog/a\ <group id="%{name}-%{version}"> /<\/catalog/i\ </group>' \ %{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT} %install . ../common_options mkdir -p $RPM_BUILD_ROOT/etc/opt/kde3/ install -m 0644 ../common_options \ $RPM_BUILD_ROOT/etc/opt/kde3/common_options export PATH=$PWD/admin/:$PATH do_make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/config.kcfg install -D %SOURCE9 $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/16x16/filesystems/file_broken.png mv $RPM_BUILD_ROOT/etc/xdg/menus/applications.menu \ $RPM_BUILD_ROOT/etc/xdg/menus/applications.menu.kde # # lib64 compatibility symlink # %ifarch x86_64 ppc64 s390x mips64 sparc64 mkdir -p $RPM_BUILD_ROOT/opt/kde3/lib/kde3/ ln -sf ../../lib64/kde3/plugins \ $RPM_BUILD_ROOT/opt/kde3/lib/kde3/plugins-lib64 %endif # use globally installed up-to-date ssl certificates rm -f $RPM_BUILD_ROOT/opt/kde3/share/apps/kssl/ca-bundle.crt ln -s /etc/ssl/ca-bundle.pem $RPM_BUILD_ROOT/opt/kde3/share/apps/kssl/ca-bundle.crt # # add missing directories # for i in Applications Development Editors Edutainment Games Graphics Internet Multimedia Office Settings System Toys Utilities WordProcessing; do install -d -m 0755 $RPM_BUILD_ROOT/opt/kde3/share/applnk/$i done rm -f locale.list for i in $(find /usr/share/locale -mindepth 1 -maxdepth 1 -type d | sed 's:/usr/share/locale/::'); do install -d -m 755 $RPM_BUILD_ROOT/opt/kde3/share/locale/$i install -d -m 755 $RPM_BUILD_ROOT/opt/kde3/share/locale/$i/LC_MESSAGES install -d -m 755 $RPM_BUILD_ROOT/opt/kde3/share/doc/HTML/$i echo "%lang($i) %doc /opt/kde3/share/locale/$i" >> locale.list done %suse_update_desktop_file kresources X-KDE-settings-desktop # unlike with other modules, kde_post_install shouldn't # be put at the end of %install kde_post_install # now create a filesystem layer for theme in hicolor locolor; do for j in actions apps filesystems mimetypes; do for i in 16 22 32 48 64 128; do install -d -m 0755 $RPM_BUILD_ROOT/opt/kde3/share/icons/${theme}/${i}x${i}/${j} done install -d -m 0755 $RPM_BUILD_ROOT/opt/kde3/share/icons/${theme}/scalable/${j} done done install -d -m 0755 $RPM_BUILD_ROOT/etc/opt/kde3/%_lib install -d -m 0755 $RPM_BUILD_ROOT/etc/opt/kde3/share/config install -d -m 0755 $RPM_BUILD_ROOT/opt/kde3/share/apps/kdelibs/ install -m 0644 %SOURCE6 $RPM_BUILD_ROOT/etc/ rm -f $RPM_BUILD_ROOT/opt/kde3/%_lib/libkdeinit_*.la # # add additional icon path # mkdir -p ${RPM_BUILD_ROOT}/opt/kde3/share/apps/kdelibs rm -f admin/*.orig cp -a admin ${RPM_BUILD_ROOT}/opt/kde3/share/apps/kdelibs/ # This is not needed on SUSE Linux! - Marcus Meissner <meissner@suse.de> rm $RPM_BUILD_ROOT/opt/kde3/bin/kgrantpty # # our version is in kdebase3 # rm -f $RPM_BUILD_ROOT/opt/kde3/bin/fileshare* # # no sources for man pages # rm -f $RPM_BUILD_ROOT/opt/kde3/share/doc/HTML/en/kdelibs/man-* # # install BitTorrent icons # tar xfvz %SOURCE11 for i in 16x16 22x22 32x32 48x48 64x64 128x128 ; do install -m 0644 bt/$i/mimetypes/bt.png \ $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/$i/mimetypes/torrent.png done cp CATALOG.%{name} catalog.xml ${RPM_BUILD_ROOT}/opt/kde3/share/apps/ksgmltools2/customization/ mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xml cp %{FOR_ROOT_CAT} ${RPM_BUILD_ROOT}%{_sysconfdir}/xml # rm -f $RPM_BUILD_ROOT/opt/kde3/%_lib/libkdefakes.la # rm -f $RPM_BUILD_ROOT/opt/kde3/%_lib/libkjava.la %if %suse_version > 1020 rm -f $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/index.theme %endif # .desktop files in kdeaccessibility3 require the kttsd icon for i in {16x16,22x22,32x32,48x48,64x64,128x128,scalable}; do mv $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/$i/apps/kttsd.* $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/$i/apps/;done install -m 0644 %SOURCE14 $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 %SOURCE15 $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 %SOURCE16 $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 mimetypes/application/vnd.oasis.opendocument.spreadsheet-flat-xml.desktop $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 mimetypes/application/vnd.oasis.opendocument.text-flat-xml.desktop $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 mimetypes/application/vnd.oasis.opendocument.presentation-flat-xml.desktop $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 mimetypes/application/vnd.oasis.opendocument.graphics-flat-xml.desktop $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ # fix bnc#396153 for i in 16x16 22x22 32x32 48x48 64x64 128x128; do ln -s /opt/kde3/share/icons/crystalsvg/$i/filesystems/network.png $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/$i/filesystems/preferences-system-network.png ln -s /opt/kde3/share/icons/crystalsvg/$i/filesystems/desktop.png $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/$i/filesystems/preferences-desktop.png done for i in {16,22,32,48,64,128}; do if [ -f $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/link_overlay.png ]; then install -d $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/filesystems install -d $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems ln -s /opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/link_overlay.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/filesystems/link.png; ln -s /opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/link_overlay.png $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/link.png; ln -s /opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/link_overlay.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/filesystems/link_overlay.png; fi done for i in {16,22,32,48,64,128}; do if [ -f $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/lock_overlay.png ]; then install -d $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/filesystems install -d $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems ln -s /opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/lock_overlay.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/filesystems/lockoverlay.png; ln -s /opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/lock_overlay.png $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/lockoverlay.png; ln -s /opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/lock_overlay.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/filesystems/lock_overlay.png; fi done for i in {16,22,32,48,64,128}; do if [ -f $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/zip_overlay.png ]; then install -d $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/filesystems install -d $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems ln -s /opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/zip_overlay.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/filesystems/zip.png; ln -s /opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/zip_overlay.png $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/zip.png; ln -s /opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/zip_overlay.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/filesystems/zip_overlay.png; fi done chmod a-x $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/16x16/filesystems/file_broken.png %if %suse_version > 1020 %fdupes -s $RPM_BUILD_ROOT %endif %if %suse_version > 1110 mkdir -p $RPM_BUILD_ROOT/etc/opt/kde3/share/applications touch $RPM_BUILD_ROOT/etc/opt/kde3/share/applications/mimeinfo.cache mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/applications touch $RPM_BUILD_ROOT/opt/kde3/share/applications/mimeinfo.cache %endif # Create /etc/ld.so.conf.d/kdelibs3.conf mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d cat > $RPM_BUILD_ROOT/etc/ld.so.conf.d/kdelibs3.conf <<EOF /opt/kde3/%_lib %if "%{_lib}" != "lib" /opt/kde3/lib %endif EOF # install suse_update_desktop_file_kde3.sh and RPM macro install -d $RPM_BUILD_ROOT%{_usr}/lib/rpm install %SOURCE18 $RPM_BUILD_ROOT%{_usr}/lib/rpm/suse_update_desktop_file_kde3.sh install -d $RPM_BUILD_ROOT%{_rpmmacrodir} install %SOURCE19 $RPM_BUILD_ROOT/%{_rpmmacrodir}/macros.update-desktop-files-kde3 %post %run_ldconfig %set_permissions /opt/kde3/bin/kpac_dhcp_helper %postun rm -f usr/share/doc/KDE3-API/index.html %run_ldconfig %if %with_arts %post arts %run_ldconfig %postun arts %run_ldconfig %endif %post default-style %run_ldconfig %postun default-style %run_ldconfig %post doc if [ -x %{regcat} ]; then %{regcat} -a /opt/kde3/share/apps/ksgmltools2/customization/CATALOG.%{name} >/dev/null 2>&1 fi if [ -x /usr/bin/edit-xml-catalog ]; then edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \ --add /etc/xml/%{FOR_ROOT_CAT} fi %postun doc if [ "$1" = "0" -a -x %{regcat} ]; then %{regcat} -r /opt/kde3/share/apps/ksgmltools2/customization/CATALOG.%{name} >/dev/null 2>&1 fi # remove entries only on removal of file if [ ! -f %{xml_sysconf_dir}/%{FOR_ROOT_CAT} -a -x /usr/bin/edit-xml-catalog ] ; then edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \ --del %{name}-%{version} fi exit 0 %verifyscript %verify_permissions -e /opt/kde3/bin/kpac_dhcp_helper %files default-style %defattr(-,root,root) %doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README /opt/kde3/%_lib/libkdefx.so.* /opt/kde3/%_lib/kde3/plugins/styles/plastik.* %files %defattr(-,root,root) %doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README /etc/ld.so.conf.d/kdelibs3.conf %dir /etc/opt/kde3 %dir /opt/kde3 %dir /opt/kde3/bin %dir /opt/kde3/include %dir /opt/kde3/share %dir /opt/kde3/share/config.kcfg %_mandir/man*/* %dir %_mandir %dir %_mandir/man1 %dir %_mandir/man7 %dir %_mandir/man8 /opt/kde3/bin/checkXML /opt/kde3/bin/dcop /opt/kde3/bin/dcopclient /opt/kde3/bin/dcopfind /opt/kde3/bin/dcopobject /opt/kde3/bin/dcopref /opt/kde3/bin/dcops* /opt/kde3/bin/dcopquit /opt/kde3/bin/imagetops /opt/kde3/bin/ka* /opt/kde3/bin/kbuildsycoca /opt/kde3/bin/kco* /opt/kde3/bin/kcmshell /opt/kde3/bin/kded /opt/kde3/bin/kdeinit* /opt/kde3/bin/start_kdeinit /opt/kde3/bin/start_kdeinit_wrapper /opt/kde3/bin/kde-config /opt/kde3/bin/kde-menu /opt/kde3/bin/kdesu_stub /opt/kde3/bin/kdontchangethehostname /opt/kde3/bin/kfile /opt/kde3/bin/ki* /opt/kde3/bin/kfmexec /opt/kde3/bin/klauncher /opt/kde3/bin/kmailservice /opt/kde3/bin/ktradertest /opt/kde3/bin/knotify /opt/kde3/bin/kstartupconfig /opt/kde3/bin/kdostartupconfig %verify(not mode) /opt/kde3/bin/kpac_dhcp_helper /opt/kde3/bin/ksendbugmail /opt/kde3/bin/kshell /opt/kde3/bin/ktelnetservice /opt/kde3/bin/kwrapper /opt/kde3/bin/lnusertemp /opt/kde3/bin/make_driver_db_lpr /opt/kde3/bin/khotnewstuff /opt/kde3/bin/makekdewidgets %dir /opt/kde3/%_lib %dir /opt/kde3/%_lib/kde3 /opt/kde3/%_lib/kde3/dcopserver.* /opt/kde3/%_lib/kde3/kaddprinterwizard.* /opt/kde3/%_lib/kde3/kbuildsycoca.* /opt/kde3/%_lib/kde3/kcmshell.* /opt/kde3/%_lib/kde3/kcm_kresources.* /opt/kde3/%_lib/kde3/kconf_update.* /opt/kde3/%_lib/kde3/kcookiejar.* /opt/kde3/%_lib/kde3/kded.* /opt/kde3/%_lib/kde3/kded_proxyscout.* %if %with_arts /opt/kde3/%_lib/kde3/kfileaudiopreview.* %endif /opt/kde3/%_lib/kde3/klauncher.* /opt/kde3/%_lib/kde3/knotify.* /opt/kde3/%_lib/kde3/kabc* /opt/kde3/%_lib/kde3/kbzip2filter.* /opt/kde3/%_lib/kde3/kded_k* /opt/kde3/%_lib/kde3/kdeprint_ext.* /opt/kde3/%_lib/kde3/kdeprint_lp* /opt/kde3/%_lib/kde3/kdeprint_rlpr.* /opt/kde3/%_lib/kde3/kdeprint_tool_escputil.* /opt/kde3/%_lib/kde3/kgzipfilter.* /opt/kde3/%_lib/kde3/kxzfilter.* /opt/kde3/%_lib/kde3/khtmlimagepart.* /opt/kde3/%_lib/kde3/ki* /opt/kde3/%_lib/kde3/kjavaappletviewer.* /opt/kde3/%_lib/kde3/ktexteditor_* /opt/kde3/%_lib/kde3/libk* /opt/kde3/%_lib/kde3/kspell_* /opt/kde3/%_lib/kde3/kstyle_plastik_config.* /opt/kde3/%_lib/kde3/kstyle_highcontrast_config.* /opt/kde3/%_lib/kde3/libshellscript.* %exclude /opt/kde3/%_lib/kde3/plugins/styles/plastik.* /opt/kde3/%_lib/kde3/plugins /opt/kde3/%_lib/libDCOP.so.* %exclude /opt/kde3/%_lib/libkdefx.so.* /opt/kde3/%_lib/libk*.so.* /opt/kde3/%_lib/libvcard.so.* /opt/kde3/%_lib/libkdeinit*.so /opt/kde3/%_lib/libnetworkstatus.so.* /opt/kde3/%_lib/libconnectionmanager.so.* /opt/kde3/%_lib/kde3/kded_networkstatus.* /opt/kde3/share/applnk %dir /opt/kde3/share/apps /opt/kde3/share/apps/LICENSES /opt/kde3/share/apps/ka* /opt/kde3/share/apps/kc* %dir /opt/kde3/share/apps/kdeprint /opt/kde3/share/apps/kdeprint/apsdriver* /opt/kde3/share/apps/kdeprint/filters /opt/kde3/share/apps/kdeprint/icons /opt/kde3/share/apps/kdeprint/lprngtooldriver1 /opt/kde3/share/apps/kdeprint/pics %dir /opt/kde3/share/apps/kdeprint/plugins /opt/kde3/share/apps/kdeprint/plugins/ext.print /opt/kde3/share/apps/kdeprint/plugins/lp*.print /opt/kde3/share/apps/kdeprint/plugins/rlpr.print /opt/kde3/share/apps/kdeprint/s* /opt/kde3/share/apps/kdeprint/t* /opt/kde3/share/apps/kdeui /opt/kde3/share/apps/kdewidgets /opt/kde3/share/apps/khtml /opt/kde3/share/apps/kio_uiserver /opt/kde3/share/apps/kjava /opt/kde3/share/apps/knotify /opt/kde3/share/apps/kssl /opt/kde3/share/apps/kstyle /opt/kde3/share/apps/ktexteditor_* /opt/kde3/share/apps/proxyscout /opt/kde3/share/apps/knewstuff /opt/kde3/share/autostart /opt/kde3/share/config /opt/kde3/share/emoticons /opt/kde3/share/icons /opt/kde3/share/locale /opt/kde3/share/mimelnk /opt/kde3/share/service* %config /etc/kde3rc /opt/kde3/share/applications /opt/kde3/bin/cupsd* /opt/kde3/bin/make_driver_db_cups /opt/kde3/%_lib/kde3/kdeprint_cups.* /opt/kde3/%_lib/kde3/cupsdconf.* /opt/kde3/share/apps/kdeprint/cups* /opt/kde3/share/apps/kdeprint/kde_logo.png /opt/kde3/share/apps/kdeprint/plugins/cups.print /opt/kde3/share/apps/kdeprint/preview* %ifarch x86_64 ppc64 s390x mips64 sparc64 %dir /opt/kde3/lib %dir /opt/kde3/lib/kde3 /opt/kde3/lib/kde3/plugins-lib64 %endif /etc/xdg/menus %if %suse_version > 1110 %dir /etc/opt/kde3 %dir /etc/opt/kde3/share %dir /etc/opt/kde3/share/applications %ghost /etc/opt/kde3/share/applications/mimeinfo.cache %dir /opt/kde3 %dir /opt/kde3/share %dir /opt/kde3/share/applications %ghost /opt/kde3/share/applications/mimeinfo.cache %endif %if %with_arts %files arts %defattr(-,root,root) /opt/kde3/bin/artsmessage /opt/kde3/%_lib/libartskde.so.* %endif %files doc %defattr(-,root,root) %doc /opt/kde3/share/doc /opt/kde3/bin/meinproc /opt/kde3/share/apps/ksgmltools2 %config %{_sysconfdir}/xml/%{FOR_ROOT_CAT} %files devel %defattr(-,root,root) %dir /opt/kde3/share/apps/kdelibs %config /etc/opt/kde3/common_options /opt/kde3/bin/dcopidl* /opt/kde3/bin/kmimelist /opt/kde3/bin/preparetips /opt/kde3/bin/ksvgtopng /opt/kde3/bin/kunittestmodrunner #/opt/kde3/bin/MISC /opt/kde3/include/* /opt/kde3/share/apps/dcopidlng /opt/kde3/share/apps/kdelibs/admin %if %with_arts /opt/kde3/%_lib/libartskde.la /opt/kde3/%_lib/libartskde.so %endif /opt/kde3/%_lib/libkunittest.la /opt/kde3/%_lib/libkunittest.so /opt/kde3/%_lib/libDCOP.so /opt/kde3/%_lib/libvcard.so /opt/kde3/%_lib/libvcard.la /opt/kde3/%_lib/libDCOP.la /opt/kde3/%_lib/lib*.a /opt/kde3/%_lib/libkabc_dir.la /opt/kde3/%_lib/libkabc_dir.so /opt/kde3/%_lib/libkabc_file.la /opt/kde3/%_lib/libkabc_file.so /opt/kde3/%_lib/libkabc.la /opt/kde3/%_lib/libkabc_ldapkio.la /opt/kde3/%_lib/libkabc_ldapkio.so /opt/kde3/%_lib/libkabc.so /opt/kde3/%_lib/libkatepartinterfaces.la /opt/kde3/%_lib/libkatepartinterfaces.so /opt/kde3/%_lib/libkdecore.la /opt/kde3/%_lib/libkdecore.so /opt/kde3/%_lib/libkdefakes.la /opt/kde3/%_lib/libkdefakes.so /opt/kde3/%_lib/libkdefx.la /opt/kde3/%_lib/libkdefx.so /opt/kde3/%_lib/libkdemm.la /opt/kde3/%_lib/libkdemm.so /opt/kde3/%_lib/libkdeprint.la /opt/kde3/%_lib/libkdeprint_management.la /opt/kde3/%_lib/libkdeprint_management.so /opt/kde3/%_lib/libkdeprint.so /opt/kde3/%_lib/libkdesasl.la /opt/kde3/%_lib/libkdesasl.so /opt/kde3/%_lib/libkdesu.la /opt/kde3/%_lib/libkdesu.so /opt/kde3/%_lib/libkdeui.la /opt/kde3/%_lib/libkdeui.so /opt/kde3/%_lib/libkdnssd.la /opt/kde3/%_lib/libkdnssd.so /opt/kde3/%_lib/libkhtml.la /opt/kde3/%_lib/libkhtml.so /opt/kde3/%_lib/libkimproxy.la /opt/kde3/%_lib/libkimproxy.so /opt/kde3/%_lib/libkio.la /opt/kde3/%_lib/libkio.so /opt/kde3/%_lib/libkjava.la /opt/kde3/%_lib/libkjava.so /opt/kde3/%_lib/libkjs.la /opt/kde3/%_lib/libkjs.so /opt/kde3/%_lib/libkmdi2.la /opt/kde3/%_lib/libkmdi2.so /opt/kde3/%_lib/libkmdi.la /opt/kde3/%_lib/libkmdi.so /opt/kde3/%_lib/libkmediaplayer.la /opt/kde3/%_lib/libkmediaplayer.so /opt/kde3/%_lib/libkmid.la /opt/kde3/%_lib/libkmid.so /opt/kde3/%_lib/libknewstuff.la /opt/kde3/%_lib/libknewstuff.so /opt/kde3/%_lib/libkntlm.la /opt/kde3/%_lib/libkntlm.so /opt/kde3/%_lib/libkparts.la /opt/kde3/%_lib/libkparts.so /opt/kde3/%_lib/libkresources.la /opt/kde3/%_lib/libkresources.so /opt/kde3/%_lib/libkscreensaver.la /opt/kde3/%_lib/libkscreensaver.so /opt/kde3/%_lib/libkscript.la /opt/kde3/%_lib/libkscript.so /opt/kde3/%_lib/libkspell2.la /opt/kde3/%_lib/libkspell2.so /opt/kde3/%_lib/libkspell.la /opt/kde3/%_lib/libkspell.so /opt/kde3/%_lib/libktexteditor.la /opt/kde3/%_lib/libktexteditor.so /opt/kde3/%_lib/libkutils.la /opt/kde3/%_lib/libkutils.so /opt/kde3/%_lib/libkwalletbackend.la /opt/kde3/%_lib/libkwalletbackend.so /opt/kde3/%_lib/libkwalletclient.la /opt/kde3/%_lib/libkwalletclient.so /opt/kde3/%_lib/libnetworkstatus.la /opt/kde3/%_lib/libnetworkstatus.so /opt/kde3/%_lib/libconnectionmanager.la /opt/kde3/%_lib/libconnectionmanager.so %{_usr}/lib/rpm/suse_update_desktop_file_kde3.sh %{_rpmmacrodir}/macros.update-desktop-files-kde3 %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