Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
kdebase4-openSUSE
kdebase4-openSUSE.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdebase4-openSUSE.spec of Package kdebase4-openSUSE
# # spec file for package kdebase4-openSUSE # # Copyright (c) 2012 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: kdebase4-openSUSE Version: 12.2 Release: 0 Summary: openSUSE KDE Extension License: GPL-2.0+ Group: System/GUI/KDE # git clone git://git.opensuse.org/projects/desktop/kdebase4-openSUSE.git Url: http://www.opensuse.org/ Source0: kdebase4-openSUSE-%{version}.tar.bz2 #svn export svn://anonsvn.kde.org/home/kde/trunk/playground/base/kio_sysinfo Source1: sysinfo.tar.bz2 Source2: plasma-change-defaults.diff Source3: sysinfo.suse.tar.bz2 Patch1: link-to-qtxml.patch Patch2: noproxy.diff Patch3: kdebase4-openSUSE-bnc721114.patch Patch4: sysinfo-fixed-opengl-detecting.patch Patch5: install_battery_png.diff Patch6: noakonadi.diff BuildRequires: fdupes BuildRequires: hwinfo-devel BuildRequires: kdebase4-workspace-branding-upstream BuildRequires: kdebase4-workspace-devel BuildRequires: libkde4-devel BuildRequires: oxygen-icon-theme BuildRequires: rpm-devel BuildRequires: wallpaper-branding-openSUSE PreReq: %fillup_prereq Requires: kdebase4-workspace Requires: plasmoid-folderview Recommends: %{name}-lang Recommends: kio_sysinfo = %{version} Provides: kdebase4-SuSE = %{version} Obsoletes: kdebase4-SuSE < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %requires_ge libqt4-x11 %kde4_runtime_requires %description This package contains the standard openSUSE desktop and extensions. %package -n kio_sysinfo Summary: System Information KIO-Slave Group: System/GUI/KDE Requires: kio_sysinfo-branding = %{version} Recommends: %{name}-lang # Provides glxinfo for get 3D driver information Recommends: Mesa-demo-x Provides: kde4-kio_sysinfo = %{version} Obsoletes: kde4-kio_sysinfo < %{version} %kde4_runtime_requires %description -n kio_sysinfo This package contains a KDE KIO-Slave showing system information. %package -n kdebase4-workspace-branding-openSUSE Summary: openSUSE KDE Extension Group: System/GUI/KDE PreReq: %fillup_prereq Requires: kdebase4-workspace Requires: ksplashx-branding-openSUSE = %{version} Requires: susegreeter-branding-openSUSE = %{version} Requires: wallpaper-branding-openSUSE = %{version} Supplements: packageand(kdebase4-workspace:branding-openSUSE) Provides: kdebase4-workspace-branding = %( echo `rpm -q --provides kdebase4-workspace-branding-upstream | grep 'kdebase4-workspace-branding =' | cut -d= -f2` ) Conflicts: otherproviders(kdebase4-workspace-branding) %kde4_runtime_requires %description -n kdebase4-workspace-branding-openSUSE This package contains the standard openSUSE desktop and extensions. %package -n kdebase4-runtime-branding-openSUSE Summary: The KDE Runtime Components Group: System/GUI/KDE PreReq: %fillup_prereq Supplements: packageand(kdebase4-runtime:branding-openSUSE) Provides: kdebase4-runtime-branding = %{version} Conflicts: otherproviders(kdebase4-runtime-branding) %kde4_runtime_requires %description -n kdebase4-runtime-branding-openSUSE This package contains all run-time dependencies of KDE applications. %package -n kio_sysinfo-branding-openSUSE Summary: System Information KIO-Slave Group: System/GUI/KDE Requires: kio_sysinfo Supplements: packageand(kio_sysinfo:branding-openSUSE) Provides: kde4-kio_sysinfo-branding-openSUSE = %{version} Provides: kio_sysinfo-branding = %{version} Obsoletes: kde4-kio_sysinfo-branding-openSUSE < %{version} Conflicts: otherproviders(kio_sysinfo-branding) %description -n kio_sysinfo-branding-openSUSE This package contains a KDE KIO-Slave showing system information. %lang_package %prep %setup -q -n %{name} -a 1 %patch1 %patch2 -p1 %patch3 -p1 cd sysinfo tar xvf %{SOURCE3} %patch4 -p1 %patch5 %patch6 %build %cmake_kde4 -d build -- -DSYSINFO_DISTRO:STRING=SUSE %make_jobs %install cd build %make_install cd .. for l in SUSEgreeter krpmview kde4-openSUSE kio_sysinfo; do %find_lang $l suse.lang done mv config-files/COPYING . for dir in %_kde4_appsdir/plasma-desktop/init %_kde4_appsdir/plasma-netbook/init %_kde4_appsdir/plasma/layout-templates; do mkdir -p %{buildroot}$dir cp -a $dir/* %{buildroot}$dir/ done cp -a config-files/* %{buildroot} gzip %{buildroot}%{_kde4_appsdir}/desktoptheme/openSUSEdefault/widgets/branding.svg mv %{buildroot}%{_kde4_appsdir}/desktoptheme/openSUSEdefault/widgets/branding.svg.gz %{buildroot}%{_kde4_appsdir}/desktoptheme/openSUSEdefault/widgets/branding.svgz chmod og-w -R %{buildroot} %suse_update_desktop_file -u SUSEgreeter System Documentation %fdupes -s %{buildroot}%{_kde4_configdir}/SuSE/default/ %kde_post_install cd %{buildroot} patch -p0 < %{SOURCE2} %post -n kdebase4-workspace-branding-openSUSE %{fillup_only -n windowmanager -s kde4} %post -n kio_sysinfo %{_kde4_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || : %postun -n kio_sysinfo %{_kde4_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || : %files lang -f suse.lang %defattr(-,root,root) %files %defattr(-,root,root) %{_kde4_applicationsdir}/konqfilemgr_rpm.desktop %{_kde4_appsdir}/krpmview %{_kde4_bindir}/kde_add_yast_source.sh %{_kde4_bindir}/kde4-migrate %{_kde4_bindir}/preloadkde %dir %{_kde4_configdir} %dir %{_kde4_configdir}/SuSE %dir %{_kde4_configdir}/SuSE/default %{_kde4_configdir}/SuSE/default/beagled-autostart.desktop.live %{_kde4_configdir}/SuSE/default/kupdateapplet-autostart.desktop.live %{_kde4_configdir}/SuSE/default/lowspacesuse.live %{_kde4_iconsdir}/hicolor/*/apps/Support.* %{_kde4_modulesdir}/libkrpmview.so %{_kde4_servicesdir}/krpmview.desktop %{_kde4_servicesdir}/searchproviders %files -n kdebase4-runtime-branding-openSUSE %defattr(-,root,root) %doc COPYING %dir %{_kde4_appsdir}/desktoptheme %{_kde4_appsdir}/desktoptheme/openSUSEdefault %files -n kdebase4-workspace-branding-openSUSE %defattr(-,root,root) %doc COPYING %{_datadir}/autostart/ %{_datadir}/opensuse-kiwi %{_kde4_applicationsdir}/SUSEgreeter.desktop %{_kde4_appsdir}/konsole/ %{_kde4_appsdir}/kwin/ %{_kde4_appsdir}/plasma-desktop %{_kde4_appsdir}/SUSEgreeter %{_kde4_bindir}/SUSEgreeter %dir %{_kde4_configdir} %dir %{_kde4_configdir}/SuSE %dir %{_kde4_configdir}/SuSE/default %{_kde4_configdir}/SuSE/default/MozillaFirefox.desktop %{_kde4_configdir}/SuSE/default/Office.desktop %{_kde4_configdir}/SuSE/default/Support.desktop %{_kde4_configdir}/SuSE/default/SuSE.desktop %{_kde4_configdir}/SuSE/default/live-installer.desktop %{_kde4_configdir}/SuSE/default/myComputer.desktop %{_kde4_configdir}/SuSE/default/documents.directory %{_kde4_configdir}/SuSE/default/clock-no-events.js.live %{_kde4_configdir}/SuSE/default/kcmnspluginrc.live %{_kde4_configdir}/SuSE/default/kdedrc.live %{_kde4_configdir}/SuSE/default/krunnerrc.live %{_kde4_configdir}/SuSE/default/kwallet.kwl.live %{_kde4_configdir}/SuSE/default/kwalletrc.live %{_kde4_configdir}/SuSE/default/mysql-local.conf.live %{_kde4_configdir}/SuSE/default/nepomukserverrc.live %{_kde4_configdir}/SuSE/default/feeds.opml %{_kde4_configdir}/SuSE/default/bookmarks.xml %{_kde4_iconsdir}/hicolor/*/apps/SUSEgreeter.* %{_kde4_iconsdir}/hicolor/*/apps/mycomp.* %{_kde4_iconsdir}/oxygen/ %{_kde4_sharedir}/env/ %{_localstatedir}/adm/fillup-templates/sysconfig.windowmanager-kde4 %config %{_sysconfdir}/kde4 %_kde4_appsdir/plasma-desktop %_kde4_appsdir/plasma-netbook %_kde4_appsdir/plasma %files -n kio_sysinfo %defattr(-,root,root) %{_datadir}/mime/packages/x-sysinfo.xml %{_kde4_applicationsdir}/kfmclient_sysinfo.desktop %{_kde4_modulesdir}/kio_sysinfo.so %{_kde4_modulesdir}/libksysinfopart.so %{_kde4_servicesdir}/ksysinfopart.desktop %{_kde4_servicesdir}/sysinfo.protocol %files -n kio_sysinfo-branding-openSUSE %defattr(-,root,root) %doc COPYING %{_kde4_appsdir}/sysinfo/ %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