Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
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) 2011 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 %if %suse_version > 1140 %define with_hal 0 %else %define with_hal 1 %endif Name: kdebase3-SuSE BuildRequires: ImageMagick db-devel dbus-1-qt3-devel desktop-data-openSUSE BuildRequires: hwinfo-devel kdebase3-devel libelf-devel lzma-alpha-devel rpm-devel yast2 yast2-theme-openSUSE BuildRequires: kdebase3 > 3.5.1 %if %suse_version <= 1210 BuildRequires: libpng14-compat-devel %endif %if %with_hal == 1 BuildRequires: hal-devel Requires: kde3-kio_sysinfo %endif BuildRequires: unsermake License: GPL-2.0 Group: System/GUI/KDE Summary: SUSE KDE Extension Obsoletes: kdebase-SuSE kdebase3-BILD Provides: kdebase-SuSE kdebase3-BILD Obsoletes: kdebase-yast2, susehelpcenter, SuSE-Wizard, susewm-kcmyast, kdebase3-NLD Provides: kdebase-yast2, susehelpcenter, suse_help_viewer, base3-theme, SuSE-Wizard, susewm-kcmyast, kdebase3-NLD Requires: kdebase3 > 3.5.1 yast2_theme susehelp zypper kde-susetranslations # 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: 1 Source0: kdebase-SuSE-%{version}.tar.bz2 Source2: kdebase3-SuSE-displaymanager.fillup Source3: kdebase3-SuSE-windowmanager.fillup Source4: media.desktop Requires: desktop-branding Requires: %{name}-lang Requires: %{name}-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 %description This package contains the standard SUSE desktop and menu extensions for the Kpanel. %package -n kde3-kio_sysinfo License: GPL-2.0+ Summary: System Information KIO-Slave 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 Summary: SUSE KDE Extension 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 %patch0 -p1 %if %{suse_version} > 1140 %patch1 -p1 %endif %patch2 -p1 %if %suse_version <= 1210 %patch3 -p1 %else rm -rf ksplashx %endif 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 make %{?jobs:-j %jobs} %install . /etc/opt/kde3/common_options make 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/var/adm/fillup-templates install %SOURCE2 $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.displaymanager-kdebase3-SuSE install %SOURCE3 $RPM_BUILD_ROOT/var/adm/fillup-templates/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 -p /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 -p /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/applications/kde/konqfilemgr_rpm.desktop /opt/kde3/share/apps/kthememanager /opt/kde3/share/apps/kicker/wallpapers/SuSE.png /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/libkrpmview.* /opt/kde3/%_lib/kde3/plugins/integration /opt/kde3/%_lib/kde3/kded_kdeintegration.* /opt/kde3/share/services/kded/kdeintegration.desktop /opt/kde3/share/services/krpmview.desktop %exclude /etc/X11/qt_gtk_fnt2fntrc /opt/kde3/share/apps/konqueror /var/adm/fillup-templates/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 /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