Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
kdebase3-SuSE
kdebase3-SuSE.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdebase3-SuSE.spec of Package kdebase3-SuSE
# # spec file for package kdebase3-SuSE # # 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/ # #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} %define _fillupdir /var/adm/fillup-templates %endif %if %suse_version > 1140 %define with_hal 0 %else %define with_hal 1 %endif Name: kdebase3-SuSE BuildRequires: ImageMagick BuildRequires: db-devel BuildRequires: dbus-1-qt3-devel BuildRequires: desktop-data-openSUSE BuildRequires: hwinfo-devel BuildRequires: kdebase3 > 3.5.1 BuildRequires: kdebase3-devel BuildRequires: libelf-devel BuildRequires: lzma-alpha-devel BuildRequires: rpm-devel BuildRequires: yast2 %if %{defined sle_version} %if %sle_version < 150100 BuildRequires: yast2-theme-openSUSE %endif %endif %if %suse_version <= 1210 BuildRequires: libpng14-compat-devel %endif %if %with_hal == 1 BuildRequires: hal-devel Requires: kde3-kio_sysinfo %endif BuildRequires: unsermake Summary: SUSE KDE Extension License: GPL-2.0 Group: System/GUI/KDE Obsoletes: kdebase-SuSE Obsoletes: kdebase3-BILD Provides: kdebase-SuSE Provides: kdebase3-BILD Obsoletes: SuSE-Wizard Obsoletes: kdebase-yast2 Obsoletes: kdebase3-NLD Obsoletes: susehelpcenter Obsoletes: susewm-kcmyast Provides: SuSE-Wizard Provides: base3-theme Provides: kdebase-yast2 Provides: kdebase3-NLD Provides: suse_help_viewer Provides: susehelpcenter Provides: susewm-kcmyast Requires: kde-susetranslations Requires: kdebase3 Requires: susehelp Requires: xdpyinfo Requires: yast2_theme Requires: zypper # opened by suseplugger Suggests: yast2-bluetooth,yast2-country,yast2-mouse,yast2-network,yast2-printer,yast2-scanner,yast2-sound,yast2-storage,yast2-tv,yast2-x11 Obsoletes: kdebase3-Personal Recommends: kwin-decor-suse2 PreReq: %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 11.3 Release: 0 Source0: kdebase-SuSE-%{version}.tar.bz2 Source2: kdebase3-SuSE-displaymanager.fillup Source3: kdebase3-SuSE-windowmanager.fillup Source4: media.desktop Requires: %{name}-branding Requires: %{name}-lang Requires: desktop-branding Recommends: kde3-gtk-qt-engine kde3-knemo Patch0: adjust-settings.patch Patch1: branding-12_1.patch Patch2: kwin-show-desktop.patch Patch3: kdebase3-suse-libpng14.patch Patch4: enable-shadows.patch Patch5: libreoffice-desktop.patch Patch6: kdebase-SuSE-fix-bashisms.patch %description This package contains the standard SUSE desktop and menu extensions for the Kpanel. %package -n kde3-kio_sysinfo Summary: System Information KIO-Slave License: GPL-2.0+ Group: System/GUI/KDE Provides: kdebase3-SuSE:/opt/kde3/share/services/ksysinfopart.desktop Requires: %{name}-branding = %{version} %description -n kde3-kio_sysinfo This package contains a KDE KIO-Slave showing system information. %package branding-openSUSE Summary: SUSE KDE Extension License: GPL-2.0+ Group: System/GUI/KDE Provides: %{name}-branding = %{version} Supplements: packageand(kdebase3-SuSE:branding-openSUSE) Conflicts: otherproviders(%{name}-branding) #BRAND: FIXME %description branding-openSUSE This package contains the openSUSE branding of the SUSE KDE Extensions. %lang_package %prep %setup -q -n kdebase-SuSE . /etc/opt/kde3/common_options %if %with_hal == 0 rm -rf suseplugger rm -rf kryptomedia rm -rf sysinfo cp -f %{SOURCE4} config-files/opt/kde3/share/config/SuSE/default/myComputer.desktop %endif %patch -P 0 -p1 %if %{suse_version} > 1140 %patch -P 1 -p1 %endif %patch -P 2 -p1 %if %{suse_version} <= 1210 %patch -P 3 -p1 %else rm -rf ksplashx %endif %patch -P 4 -p1 %patch -P 5 -p1 %if %{suse_version} > 1310 rm -rf krpmview %endif %patch -P 6 -p1 update_admin %build . /etc/opt/kde3/common_options rm -f po/*/kpres.po # --disable-warnings is needed for kernel header files, which do not # compile with -ansi anymore ./configure $configkde --disable-final --disable-warnings unsermake %{?jobs:-j %jobs} %install . /etc/opt/kde3/common_options unsermake DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET %find_lang SUSEgreeter suse.lang %find_lang suseplugger suse.lang %find_lang kfiledialog suse.lang %find_lang krpmview suse.lang #%find_lang susetranslations_missing suse.lang %find_lang kio_sysinfo suse.lang %find_lang kryptomedia suse.lang cp -a config-files/* $RPM_BUILD_ROOT chmod og-w -R "${RPM_BUILD_ROOT}" # # translate desktop templates # for i in $RPM_BUILD_ROOT/opt/kde3/share/apps/konqueror/servicemenus/publish.desktop \ $RPM_BUILD_ROOT/etc/opt/kde3/share/applications/kde/Help.desktop do %suse_update_desktop_file "$i" done #suse_update_desktop_file suseplugger System Applet %suse_update_desktop_file -u SUSEgreeter System Documentation mkdir -p $RPM_BUILD_ROOT%{_fillupdir} install %SOURCE2 $RPM_BUILD_ROOT%{_fillupdir}/sysconfig.displaymanager-kdebase3-SuSE install %SOURCE3 $RPM_BUILD_ROOT%{_fillupdir}/sysconfig.windowmanager-kdebase3-SuSE rm -f ${RPM_BUILD_ROOT}/opt/kde3/share/config/kdeglobals.orig mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/apps/krpmview cp -a meta/* $RPM_BUILD_ROOT/opt/kde3/share/apps/krpmview kde_post_install %post /sbin/ldconfig %{fillup_only -n displaymanager -s kdebase3-SuSE} %{fillup_only -n windowmanager -s kdebase3-SuSE} %pre kioslaverc=/etc/opt/kde3/share/config/kioslaverc if test -f $kioslaverc && grep -q "written by SuSEconfig.kde" $kioslaverc; then rm -f $kioslaverc fi %postun /sbin/ldconfig %files lang -f suse.lang %files branding-openSUSE %defattr(-,root,root) /opt/kde3/bin/SUSEgreeter /opt/kde3/share/apps/SUSEgreeter /opt/kde3/share/applications/kde/SUSEgreeter.desktop /opt/kde3/share/autostart/SUSEgreeter.desktop /opt/kde3/share/apps/konqsidebartng %if %with_hal == 1 /opt/kde3/share/apps/sysinfo/about/images/background.png %endif %files %defattr(-,root,root) %dir /etc/opt/kde3/share %dir /etc/opt/kde3/share/config %config /etc/opt/kde3/share/config/ipv6blacklist /etc/opt/kde3/share/apps /etc/opt/kde3/share/applications /etc/opt/kde3/share/doc/ /etc/opt/kde3/share/mimelnk /opt/kde3/bin/YaSTadminSession /opt/kde3/bin/kde-open /opt/kde3/bin/kde_add_yast_source.sh /opt/kde3/bin/kde_iso_mount /opt/kde3/bin/kfiledialog %if %suse_version <= 1210 /opt/kde3/bin/ksplashx /opt/kde3/bin/ksplashx_scale /opt/kde3/share/apps/ksplash %endif /opt/kde3/bin/publish_item /opt/kde3/bin/startkde.pick_wallpaper /opt/kde3/bin/startkde.theme /opt/kde3/bin/startkde.update101 /opt/kde3/bin/startkde.update102 /opt/kde3/bin/startprint /opt/kde3/share/mimelnk/application/*.desktop /opt/kde3/share/icons/* %config(noreplace) /etc/opt/kde3/share/config/*rc /opt/kde3/env /usr/share/wallpapers /opt/kde3/share/autostart/kmix_autostart.desktop /opt/kde3/share/autostart/kxkb_autostart.desktop /opt/kde3/share/apps/kthememanager /opt/kde3/share/apps/kicker/wallpapers/SuSE.png %if %{suse_version} <= 1310 /opt/kde3/share/applications/kde/konqfilemgr_rpm.desktop /opt/kde3/share/services/krpmview.desktop /opt/kde3/%_lib/kde3/libkrpmview.* %endif /opt/kde3/share/apps/krpmview /opt/kde3/share/applnk/.hidden/kdeymp.desktop /opt/kde3/share/applnk/.hidden/kdeymu.desktop /opt/kde3/share/doc /opt/kde3/share/config/SuSE /opt/kde3/share/mimelnk/text/x-suse-ymp.desktop /opt/kde3/share/mimelnk/text/x-suse-ymu.desktop /opt/kde3/share/services/searchproviders/rpm.desktop %config(noreplace) /etc/X11/kstylerc %config(noreplace) /opt/kde3/share/config/*rc %config(noreplace) /opt/kde3/share/config/kdeglobals /opt/kde3/%_lib/kde3/plugins/integration /opt/kde3/%_lib/kde3/kded_kdeintegration.* /opt/kde3/share/services/kded/kdeintegration.desktop %exclude /etc/X11/qt_gtk_fnt2fntrc /opt/kde3/share/apps/konqueror %{_fillupdir}/sysconfig.*-kdebase3-SuSE /var/lib/kde-profiles %dir /opt/kde3/env /opt/kde3/env/startkde.proxy.sh /opt/kde3/env/startkde.suse.sh /opt/kde3/env/startkde.update.sh %if %with_hal == 1 /opt/kde3/bin/floppy_configure.sh /opt/kde3/bin/suseplugger /opt/kde3/bin/update_fstab.sh /opt/kde3/share/autostart/suseplugger.desktop /opt/kde3/share/apps/suseplugger /opt/kde3/%_lib/libkdeinit_suse* /opt/kde3/%_lib/kde3/suse* /opt/kde3/bin/kryptomedia /opt/kde3/share/mimelnk/application/x-sysinfo.desktop %dir /opt/kde3/share/applications /opt/kde3/share/applications/kde/kfmclient_sysinfo.desktop %files -n kde3-kio_sysinfo %defattr(-,root,root) /opt/kde3/%_lib/kde3/libksysinfopart.* %exclude /opt/kde3/share/apps/sysinfo/about/images/background.png /opt/kde3/share/apps/sysinfo /opt/kde3/share/services/ksysinfopart.desktop #/opt/kde3/share/mimelnk/application/x-sysinfo.desktop /opt/kde3/%_lib/kde3/kio_sysinfo.* /opt/kde3/share/services/sysinfo.protocol %endif %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