Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
kdeartwork3
kdeartwork3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdeartwork3.spec of Package kdeartwork3
# # spec file for package kdeartwork3 # # 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/ Name: kdeartwork3 BuildRequires: kdebase3-devel unsermake xscreensaver BuildRequires: fdupes %if %suse_version >= 1130 BuildRequires: xscreensaver-data-extra %endif BuildRequires: ImageMagick License: GPL-2.0+ Group: System/GUI/KDE Summary: KDE Themes BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 3.5.10 Release: 16 Url: http://www.kde.org/ Source: kdeartwork-%{version}.tar.bz2 Source1: network_traffic.png Source2: ikons-fixed.tar.bz2 Patch0: 3_5_BRANCH.diff Patch1: sounds-license.patch Patch2: fix-kde1-style-buttons.patch %description This package contains the KDE window manager and icon themes. %package xscreensaver License: MIT # usesubdirs kscreensaver/kxsconfig Summary: XScreensaver Support for KDE Requires: xscreensaver %if %suse_version >= 1130 Requires: xscreensaver-data-extra %endif Group: System/GUI/KDE %description xscreensaver This package allows using the more than 100 screensavers in the xscreensaver package for KDE. %package kscreensaver License: GPL-2.0+ # usesubdirs kscreensaver Summary: Screensaver from KDE Group: System/GUI/KDE Provides: kdeartwork3:/opt/kde3/bin/kclock.kss %description kscreensaver This package has a pretty small but nice collection of screensavers for KDE. %package sound License: CC-BY-SA-3.0 # usesubdirs sounds Summary: Sound themes for KDE Group: Productivity/Multimedia/Other %description sound extra sound files for KDE. %prep %setup -q -n kdeartwork-%{version} rm -rf ./IconThemes/ikons pushd IconThemes tar -xvf %{SOURCE2} popd %patch -P 0 %patch -P 1 -p1 %patch -P 2 -p1 . /etc/opt/kde3/common_options update_admin # fix icon sizes for avoiding misplacing Kmenu (boo#1199699) for t in IconThemes/*/; do pushd $t for i in *; do if [[ $i =~ ^[0-9]+x[0-9]+$ ]]; then find $i/ -type f | xargs -i sh -c "mv {} {}.orig; convert -resize $i {}.orig {}; rm {}.orig" fi done popd done %build . /etc/opt/kde3/common_options ./configure $configkde --without-arts unsermake %{?jobs:-j %jobs} %install . /etc/opt/kde3/common_options mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/apps/kthememgr/Themes/ unsermake DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET mkdir -p $RPM_BUILD_ROOT/usr/share rm -rf $RPM_BUILD_ROOT/opt/kde3/share/wallpapers # remove conflicting files rm $RPM_BUILD_ROOT/opt/kde3/share/icons/*/*/*/{bell,lskat,ktimemon,ktux,kspaceduel,gettext,kbabel,kspreadcalc}.png for i in $RPM_BUILD_ROOT/opt/kde3/share/applnk/System/ScreenSavers/*.desktop ; do sed -e '/^\[Desktop Entry\]/a\ Categories=Screensaver;' $i > ${i}_ mv ${i}_ $i %suse_update_desktop_file $i done cp %{SOURCE1} %{buildroot}/opt/kde3/share/icons/slick/22x22/actions %fdupes -s $RPM_BUILD_ROOT kde_post_install cp -f sounds/COPYING $RPM_BUILD_ROOT/opt/kde3/share/sounds cp -f sounds/copyright.txt $RPM_BUILD_ROOT/opt/kde3/share/sounds cp -f sounds/readme $RPM_BUILD_ROOT/opt/kde3/share/sounds %files %defattr(-,root,root) /opt/kde3/%_lib/kde3/kwin3_* /opt/kde3/%_lib/kde3/kwin_* /opt/kde3/%_lib/kde3/kstyle_phase_config.* /opt/kde3/%_lib/kde3/plugins/styles/* /opt/kde3/share/apps/kstyle/themes/dotnet.themerc /opt/kde3/share/apps/kstyle/themes/phase.themerc /opt/kde3/share/apps/kwin /opt/kde3/share/apps/kworldclock /opt/kde3/share/icons/Locolor /opt/kde3/share/icons/ikons /opt/kde3/share/icons/kdeclassic /opt/kde3/share/icons/slick /opt/kde3/share/icons/kids /opt/kde3/share/emoticons %files kscreensaver %defattr(-,root,root) /opt/kde3/bin/*.kss %dir /opt/kde3/share/applnk/System/ScreenSavers /opt/kde3/share/applnk/System/ScreenSavers/K* /opt/kde3/share/applnk/System/ScreenSavers/kpartsaver.desktop /opt/kde3/share/apps/kscreensaver /opt/kde3/share/applnk/System/ScreenSavers/klein.desktop /opt/kde3/share/apps/kfiresaver %files xscreensaver %defattr(-,root,root) /opt/kde3/bin/kxs* /opt/kde3/share/applnk/System/ScreenSavers/a* /opt/kde3/share/applnk/System/ScreenSavers/b* /opt/kde3/share/applnk/System/ScreenSavers/c* /opt/kde3/share/applnk/System/ScreenSavers/d* /opt/kde3/share/applnk/System/ScreenSavers/e* /opt/kde3/share/applnk/System/ScreenSavers/f* /opt/kde3/share/applnk/System/ScreenSavers/g* /opt/kde3/share/applnk/System/ScreenSavers/h* /opt/kde3/share/applnk/System/ScreenSavers/i* /opt/kde3/share/applnk/System/ScreenSavers/j* /opt/kde3/share/applnk/System/ScreenSavers/kaleidescope.desktop /opt/kde3/share/applnk/System/ScreenSavers/kumppa.desktop /opt/kde3/share/applnk/System/ScreenSavers/l* /opt/kde3/share/applnk/System/ScreenSavers/m* /opt/kde3/share/applnk/System/ScreenSavers/n* /opt/kde3/share/applnk/System/ScreenSavers/p* /opt/kde3/share/applnk/System/ScreenSavers/q* /opt/kde3/share/applnk/System/ScreenSavers/r* /opt/kde3/share/applnk/System/ScreenSavers/s* /opt/kde3/share/applnk/System/ScreenSavers/t* /opt/kde3/share/applnk/System/ScreenSavers/v* /opt/kde3/share/applnk/System/ScreenSavers/w* /opt/kde3/share/applnk/System/ScreenSavers/x* /opt/kde3/share/applnk/System/ScreenSavers/zoom.desktop %files sound %defattr(-,root,root) /opt/kde3/share/sounds/KDE_* %doc /opt/kde3/share/sounds/COPYING %doc /opt/kde3/share/sounds/copyright.txt %doc /opt/kde3/share/sounds/readme %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