Группа :: Графические оболочки/KDE
Пакет: kdeartwork
Главная Изменения Спек Патчи Загрузить Bugs and FR
%undefine __libtoolize
%define qtdir /usr/lib/qt3
%define cvsdate 20020401
%define unstable 0
%define with_xscreensaver 1
%define with_scr_menu 0
%add_findprov_lib_path %_libdir/kde3
Name: kdeartwork
Version: 3.3.2
Release: alt0.0.M24
Group: Graphical desktop/KDE
Summary: Kdeartwork (empty package)
License: GPL
Requires: %name-icon-theme-ikons = %version-%release
Requires: %name-icon-theme-kdeclassic = %version-%release
Requires: %name-icon-theme-kids = %version-%release
Requires: %name-icon-theme-locolor = %version-%release
Requires: %name-icon-theme-slick = %version-%release
Requires: %name-icon-theme-technical = %version-%release
Requires: %name-styles-cde = %version-%release
Requires: %name-styles-cde-kwin = %version-%release
Requires: %name-styles-dotnet = %version-%release
Requires: %name-styles-dotnet-widgets = %version-%release
Requires: %name-styles-glow = %version-%release
Requires: %name-styles-glow-kwin = %version-%release
Requires: %name-styles-icewm = %version-%release
Requires: %name-styles-icewm-kwin = %version-%release
Requires: %name-styles-kde1 = %version-%release
Requires: %name-styles-kde1-kwin = %version-%release
Requires: %name-styles-kstep = %version-%release
Requires: %name-styles-kstep-kwin = %version-%release
Requires: %name-styles-openlook = %version-%release
Requires: %name-styles-openlook-kwin = %version-%release
Requires: %name-styles-plastik = %version-%release
Requires: %name-styles-plastik-kwin = %version-%release
Requires: %name-styles-plastik-widgets = %version-%release
Requires: %name-styles-system = %version-%release
Requires: %name-styles-system-kwin = %version-%release
Requires: %name-sounds = %version-%release
Requires: %name-wallpapers = %version-%release
Requires: %name-kworldclock = %version-%release
Requires: %name-screensavers = %version-%release
%if %with_xscreensaver
Requires: %name-xscreensaver = %version-%release
%endif
Source0: kdeartwork-%version.tar.bz2
#Source0: kdeartwork-3.0.98.tar.bz2
Patch1: 3.2.0-flags.patch
# Automatically added by buildreq on Wed Oct 16 2002
#BuildRequires: XFree86-devel XFree86-libs fontconfig-devel freetype2 gcc-c++ kde-common kde-config kdebase-devel kdelibs-devel libGLU-devel libart_lgpl-devel libarts-devel libexpat libjpeg-devel liblcms libmng libpng-devel libqt3-devel libstdc++-devel objprelink xscreensaver zlib-devel
BuildRequires: XFree86-devel XFree86-libs fontconfig-devel freetype2
BuildRequires: gcc-c++ kde-common kdebase-devel
BuildRequires: libGLU-devel libart_lgpl-devel libarts-devel libexpat
BuildRequires: libjpeg-devel liblcms libmng libpng-devel libqt3-devel
BuildRequires: libstdc++-devel zlib-devel
BuildRequires: kdelibs-devel-cxx = %__gcc_version_base
BuildRequires: kdelibs > 3.0 kdelibs-devel > 3.0
%if %with_xscreensaver
BuildRequires: xscreensaver-hacks, xscreensaver-hacks-gl
%endif
%description
Additional artwork (themes, sound themes, icons,etc...) for KDE.
This is empty package for compatibility. You don't need them.
%package common
Summary: Common empty package for %name
Group: Graphical desktop/KDE
Requires: kde-common >= 3.2
Conflicts: kdeartwork <= 3.0
Conflicts: kdeartwork-base < 3.2.99
#
%description common
Common empty package for %name
%package styles-plastik
Summary: Plastik style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-plastik-kwin %name-styles-plastik-widgets
Provides: kde-styles-plastik = %version-%release
Obsoletes: kde-styles-plastik <= %version-%release
%description styles-plastik
Plastik style for KDE
%package styles-plastik-kwin
Summary: Plastik style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-plastik-kwin = %version-%release
Obsoletes: kde-styles-plastik-kwin <= %version-%release
%description styles-plastik-kwin
Plastik style for KDE window manager
%package styles-plastik-widgets
Summary: Plastik style for KDE/QT widgets
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-plastik-widgets = %version-%release
Obsoletes: kde-styles-plastik-widgets <= %version-%release
%description styles-plastik-widgets
Plastik style for KDE/QT widgets
%package styles-icewm
Summary: IceWM style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-icewm-kwin
Provides: kde-styles-icewm = %version-%release
Obsoletes: kde-styles-icewm <= %version-%release
%description styles-icewm
IceWM style for KDE
%package styles-icewm-kwin
Summary: IceWM style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-icewm-kwin = %version-%release
Obsoletes: kde-styles-icewm-kwin <= %version-%release
%description styles-icewm-kwin
IceWM style for KDE window manager
%package styles-glow
Summary: Glow style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-glow-kwin
Provides: kde-styles-glow = %version-%release
Obsoletes: kde-styles-glow <= %version-%release
%description styles-glow
Glow style for KDE
%package styles-glow-kwin
Summary: Glow style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-glow-kwin = %version-%release
Obsoletes: kde-styles-glow-kwin <= %version-%release
%description styles-glow-kwin
Glow style for KDE window manager
%package styles-cde
Summary: CDE style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-cde-kwin
Provides: kde-styles-cde = %version-%release
Obsoletes: kde-styles-cde <= %version-%release
%description styles-cde
CDE style for KDE
%package styles-cde-kwin
Summary: CDE style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-cde-kwin = %version-%release
Obsoletes: kde-styles-cde-kwin <= %version-%release
%description styles-cde-kwin
CDE style for KDE window manager
%package styles-kde1
Summary: CDE style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-kde1-kwin
Provides: kde-styles-kde1 = %version-%release
Obsoletes: kde-styles-kde1 <= %version-%release
%description styles-kde1
CDE style for KDE
%package styles-kde1-kwin
Summary: KDE1 style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-kde1-kwin = %version-%release
Obsoletes: kde-styles-kde1-kwin <= %version-%release
%description styles-kde1-kwin
KDE1 style for KDE window manager
%package styles-kstep
Summary: KStep style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-kstep-kwin
Provides: kde-styles-kstep = %version-%release
Obsoletes: kde-styles-kstep <= %version-%release
%description styles-kstep
KStep style for KDE
%package styles-kstep-kwin
Summary: KStep style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-kstep-kwin = %version-%release
Obsoletes: kde-styles-kstep-kwin <= %version-%release
%description styles-kstep-kwin
KStep style for KDE window manager
%package styles-openlook
Summary: OpenLook style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-openlook-kwin
Provides: kde-styles-openlook = %version-%release
Obsoletes: kde-styles-openlook <= %version-%release
%description styles-openlook
OpenLook style for KDE
%package styles-openlook-kwin
Summary: OpenLook style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-openlook-kwin = %version-%release
Obsoletes: kde-styles-openlook-kwin <= %version-%release
%description styles-openlook-kwin
OpenLook style for KDE window manager
%package styles-system
Summary: System style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-system-kwin
Provides: kde-styles-system = %version-%release
Obsoletes: kde-styles-system <= %version-%release
%description styles-system
System style for KDE
%package styles-system-kwin
Summary: System style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-system-kwin = %version-%release
Obsoletes: kde-styles-system-kwin <= %version-%release
%description styles-system-kwin
System style for KDE window manager
%package styles-dotnet
Summary: DotNet style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-dotnet-widgets
Provides: kde-styles-dotnet = %version-%release
Obsoletes: kde-styles-dotnet <= %version-%release
%description styles-dotnet
DotNet style for KDE
%package styles-dotnet-widgets
Summary: DotNet style for KDE/QT widgets
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-dotnet-widgets = %version-%release
Obsoletes: kde-styles-dotnet-widgets <= %version-%release
%description styles-dotnet-widgets
DotNet style for KDE/QT widgets
%package sounds
Summary: Additional sounds for KDE
Group: Sound
Requires: %name-common = %version-%release
Provides: sounds-%name = %version-%release
Obsoletes: sounds-%name <= %version-%release
#
%description sounds
Additional sounds for KDE
%package wallpapers
Summary: Additional wallpapers for KDE
Group: Graphics
Requires: %name-common = %version-%release
Provides: wallpapers-%name = %version-%release
Obsoletes: wallpapers-%name <= %version-%release
#
%description wallpapers
Additional wallpapers for KDE
%package icon-theme-locolor
Summary: Low-color icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-locolor = %version-%release
Obsoletes: kde-icon-theme-locolor <= %version-%release
Provides: kdeartwork-locolor = %version-%release
Obsoletes: kdeartwork-locolor <= %version-%release
#
%description icon-theme-locolor
Low-color icons for KDE.
Install this package if you intend to use KDE on a display
that supports 256 or less colors.
%package icon-theme-kdeclassic
Summary: Classic icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-kdeclassic = %version-%release
Obsoletes: kde-icon-theme-kdeclassic <= %version-%release
#
%description icon-theme-kdeclassic
Classic icons for KDE
%package icon-theme-ikons
Summary: Ikons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-ikons = %version-%release
Obsoletes: kde-icon-theme-ikons <= %version-%release
#
%description icon-theme-ikons
Ikons for KDE
%package icon-theme-kids
Summary: Kids icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-kids = %version-%release
Obsoletes: kde-icon-theme-kids <= %version-%release
#
%description icon-theme-kids
Kids icons for KDE
%package icon-theme-slick
Summary: Slick icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-slick = %version-%release
Obsoletes: kde-icon-theme-slick <= %version-%release
#
%description icon-theme-slick
Slick icons for KDE
%package icon-theme-technical
Summary: Technical icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-technical = %version-%release
Obsoletes: kde-icon-theme-technical <= %version-%release
#
%description icon-theme-technical
Technical icons for KDE
%package screensavers
Summary: Additional screensavers for KDE
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: kdebase-wm
#
%description screensavers
Additional screensavers for KDE.
kdeartwork-screensavers includes the kbanner, kblob, kbouboule, klorenz,
kmorph3d, kpartsaver, kpipes, kpolygon, kpyro, krock, kscience,
kslidescreen, kslideshow, kspace, kswarm and kvm screensavers.
%package xscreensaver
Summary: Frontend to xscreensaver screensavers
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: kdebase-wm
Requires: xscreensaver-hacks, xscreensaver-hacks-gl
#
%description xscreensaver
This package contains frontend to xscreensaver
to give additional screensavers for KDE.
%package kworldclock
Summary: Themes for KWorldClock
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: kdetoys-kworldclock
#
%description kworldclock
Themes for KWorldClock.
%prep
%setup -q -nkdeartwork-%version
#%setup -q -nkdeartwork-3.0.98
%patch1 -p1
find -type f -name Makefile.am | \
while read f
do
subst "s/kde_libraries)\/libkdecorations\.la/kde_libraries)\/libkdecorations\.so/" $f
done
subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
subst "s/\.la/.so/g" admin/acinclude.m4.in
make -f admin/Makefile.common cvs ||:
%build
export QTDIR=%qtdir
export KDEDIR=%prefix
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L%buildroot/%_libdir -L%buildroot/%_libdir/kde3 -L%_libdir"
%configure \
%if %unstable
--enable-debug=full \
%else
--disable-debug \
%endif
--enable-final \
--enable-shared \
--disable-static \
--disable-objprelink \
--disable-embedded \
--disable-qtopia \
--disable-rpath \
--with-gnu-ld \
--with-pic \
--program-transform-name="" \
--with-xinerama
%make_build
%install
%if %unstable
%set_strip_method none
%endif
export PATH=%_bindir:$PATH
%make DESTDIR=%buildroot install
[ -d %buildroot/%_iconsdir/Locolor -a ! -d %buildroot/%_iconsdir/locolor ] && \
mv %buildroot/%_iconsdir/Locolor %buildroot/%_iconsdir/locolor
[ -d %buildroot/%_iconsdir/Technical -a ! -d %buildroot/%_iconsdir/technical ] && \
mv %buildroot/%_iconsdir/Technical %buildroot/%_iconsdir/technical
pushd %buildroot/%_iconsdir
find . -type d -name .xvpics | while read n; do rm -rf $n; done
find . -type f -exec chmod a-x {} \;
find . -type f -name index.theme -exec subst "s/^Inherits\=.*/Inherits=hicolor,default.kde/" {} \;
popd
find %buildroot/%_iconsdir -type f -name go.png| \
while read n
do
n=`dirname $n`
ln -s go.png $n/kmenu.png ||:
done
install -d %buildroot/%_menudir/
%if %with_scr_menu
# %%_datadir/applnk/System/ScreenSavers
pushd %buildroot/%_datadir/applnk/System/ScreenSavers/
find * -type f -name K\*.desktop | \
while read f
do
SCR_NAME=`echo $f| cut -d. -f1`
%Kd2m %name-screensavers System/ScreenSavers $f %Kb_menudir/kdeartwork-"$SCR_NAME" kde
done
find * -type f -name \*.desktop | grep -v -e^K | \
while read f
do
SCR_NAME=`echo $f| cut -d. -f1`
%Kd2m %name-xscreensaver System/ScreenSavers $f %Kb_menudir/kdeartwork-"$SCR_NAME" kde
done
popd
%endif
%if %with_scr_menu
%post screensavers
%update_menus
%postun screensavers
%clean_menus
%endif
%if %with_scr_menu
%post xscreensaver
%update_menus
%postun xscreensaver
%clean_menus
%endif
%files
%files common
%files styles-plastik
%files styles-plastik-kwin
%_libdir/kde3/kwin_plastik_config.*
%_libdir/kde3/kwin3_plastik.*
%_datadir/apps/kwin/plastik.desktop
%files styles-plastik-widgets
%_libdir/kde3/plugins/styles/plastik.*
%_libdir/kde3/kstyle_plastik_config.*
%_datadir/apps/kstyle/themes/plastik.themerc
%files styles-icewm
%files styles-icewm-kwin
%_libdir/kde3/kwin3_icewm.*
%_libdir/kde3/kwin_icewm_config.*
%_datadir/apps/kwin/icewm-themes/
%_datadir/apps/kwin/icewm.desktop
%files styles-glow
%files styles-glow-kwin
%_libdir/kde3/kwin3_glow.*
%_libdir/kde3/kwin_glow_config.*
%_datadir/apps/kwin/glow-themes/
%_datadir/apps/kwin/glow.desktop
%files styles-cde
%files styles-cde-kwin
%_libdir/kde3/kwin3_cde.*
%_libdir/kde3/kwin_cde_config.*
%_datadir/apps/kwin/cde.desktop
%files styles-kde1
%files styles-kde1-kwin
%_libdir/kde3/kwin3_kde1.*
%_datadir/apps/kwin/kde1.desktop
%files styles-kstep
%files styles-kstep-kwin
%_libdir/kde3/kwin3_kstep.*
%_datadir/apps/kwin/kstep.desktop
%files styles-openlook
%files styles-openlook-kwin
%_libdir/kde3/kwin3_openlook.*
%_datadir/apps/kwin/openlook.desktop
%files styles-system
%files styles-system-kwin
%_libdir/kde3/kwin3_system.*
%_datadir/apps/kwin/system.desktop
%files styles-dotnet
%files styles-dotnet-widgets
%_libdir/kde3/plugins/styles/dotnet.*
%_datadir/apps/kstyle/themes/dotnet.themerc
%files sounds
%_datadir/sounds/*.wav
%files wallpapers
%_datadir/wallpapers/*.jpg
%_datadir/wallpapers/*.png
%files icon-theme-kdeclassic
%_iconsdir/kdeclassic
%files icon-theme-ikons
%_iconsdir/ikons
%files icon-theme-kids
%_iconsdir/kids
%files icon-theme-slick
%_iconsdir/slick
%files icon-theme-technical
%_iconsdir/technical
%files icon-theme-locolor
%_datadir/icons/locolor
%files screensavers
%_bindir/*.kss
%_datadir/apps/kfiresaver
%_datadir/apps/kscreensaver/*.png
%_datadir/applnk/System/ScreenSavers/K*.desktop
%if %with_scr_menu
%_menudir/%name-K*
%endif
%if %with_xscreensaver
%files xscreensaver
%_bindir/kxsconfig
%_bindir/kxsrun
%_datadir/applnk/System/ScreenSavers/*.desktop
%exclude %_datadir/applnk/System/ScreenSavers/K*.desktop
%if %with_scr_menu
%_menudir/*
%exclude %_menudir/%name-K*
%endif
%endif
%files kworldclock
%_datadir/apps/kworldclock/maps/*
%changelog
…
Полный changelog можно просмотреть здесь
%define qtdir /usr/lib/qt3
%define cvsdate 20020401
%define unstable 0
%define with_xscreensaver 1
%define with_scr_menu 0
%add_findprov_lib_path %_libdir/kde3
Name: kdeartwork
Version: 3.3.2
Release: alt0.0.M24
Group: Graphical desktop/KDE
Summary: Kdeartwork (empty package)
License: GPL
Requires: %name-icon-theme-ikons = %version-%release
Requires: %name-icon-theme-kdeclassic = %version-%release
Requires: %name-icon-theme-kids = %version-%release
Requires: %name-icon-theme-locolor = %version-%release
Requires: %name-icon-theme-slick = %version-%release
Requires: %name-icon-theme-technical = %version-%release
Requires: %name-styles-cde = %version-%release
Requires: %name-styles-cde-kwin = %version-%release
Requires: %name-styles-dotnet = %version-%release
Requires: %name-styles-dotnet-widgets = %version-%release
Requires: %name-styles-glow = %version-%release
Requires: %name-styles-glow-kwin = %version-%release
Requires: %name-styles-icewm = %version-%release
Requires: %name-styles-icewm-kwin = %version-%release
Requires: %name-styles-kde1 = %version-%release
Requires: %name-styles-kde1-kwin = %version-%release
Requires: %name-styles-kstep = %version-%release
Requires: %name-styles-kstep-kwin = %version-%release
Requires: %name-styles-openlook = %version-%release
Requires: %name-styles-openlook-kwin = %version-%release
Requires: %name-styles-plastik = %version-%release
Requires: %name-styles-plastik-kwin = %version-%release
Requires: %name-styles-plastik-widgets = %version-%release
Requires: %name-styles-system = %version-%release
Requires: %name-styles-system-kwin = %version-%release
Requires: %name-sounds = %version-%release
Requires: %name-wallpapers = %version-%release
Requires: %name-kworldclock = %version-%release
Requires: %name-screensavers = %version-%release
%if %with_xscreensaver
Requires: %name-xscreensaver = %version-%release
%endif
Source0: kdeartwork-%version.tar.bz2
#Source0: kdeartwork-3.0.98.tar.bz2
Patch1: 3.2.0-flags.patch
# Automatically added by buildreq on Wed Oct 16 2002
#BuildRequires: XFree86-devel XFree86-libs fontconfig-devel freetype2 gcc-c++ kde-common kde-config kdebase-devel kdelibs-devel libGLU-devel libart_lgpl-devel libarts-devel libexpat libjpeg-devel liblcms libmng libpng-devel libqt3-devel libstdc++-devel objprelink xscreensaver zlib-devel
BuildRequires: XFree86-devel XFree86-libs fontconfig-devel freetype2
BuildRequires: gcc-c++ kde-common kdebase-devel
BuildRequires: libGLU-devel libart_lgpl-devel libarts-devel libexpat
BuildRequires: libjpeg-devel liblcms libmng libpng-devel libqt3-devel
BuildRequires: libstdc++-devel zlib-devel
BuildRequires: kdelibs-devel-cxx = %__gcc_version_base
BuildRequires: kdelibs > 3.0 kdelibs-devel > 3.0
%if %with_xscreensaver
BuildRequires: xscreensaver-hacks, xscreensaver-hacks-gl
%endif
%description
Additional artwork (themes, sound themes, icons,etc...) for KDE.
This is empty package for compatibility. You don't need them.
%package common
Summary: Common empty package for %name
Group: Graphical desktop/KDE
Requires: kde-common >= 3.2
Conflicts: kdeartwork <= 3.0
Conflicts: kdeartwork-base < 3.2.99
#
%description common
Common empty package for %name
%package styles-plastik
Summary: Plastik style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-plastik-kwin %name-styles-plastik-widgets
Provides: kde-styles-plastik = %version-%release
Obsoletes: kde-styles-plastik <= %version-%release
%description styles-plastik
Plastik style for KDE
%package styles-plastik-kwin
Summary: Plastik style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-plastik-kwin = %version-%release
Obsoletes: kde-styles-plastik-kwin <= %version-%release
%description styles-plastik-kwin
Plastik style for KDE window manager
%package styles-plastik-widgets
Summary: Plastik style for KDE/QT widgets
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-plastik-widgets = %version-%release
Obsoletes: kde-styles-plastik-widgets <= %version-%release
%description styles-plastik-widgets
Plastik style for KDE/QT widgets
%package styles-icewm
Summary: IceWM style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-icewm-kwin
Provides: kde-styles-icewm = %version-%release
Obsoletes: kde-styles-icewm <= %version-%release
%description styles-icewm
IceWM style for KDE
%package styles-icewm-kwin
Summary: IceWM style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-icewm-kwin = %version-%release
Obsoletes: kde-styles-icewm-kwin <= %version-%release
%description styles-icewm-kwin
IceWM style for KDE window manager
%package styles-glow
Summary: Glow style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-glow-kwin
Provides: kde-styles-glow = %version-%release
Obsoletes: kde-styles-glow <= %version-%release
%description styles-glow
Glow style for KDE
%package styles-glow-kwin
Summary: Glow style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-glow-kwin = %version-%release
Obsoletes: kde-styles-glow-kwin <= %version-%release
%description styles-glow-kwin
Glow style for KDE window manager
%package styles-cde
Summary: CDE style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-cde-kwin
Provides: kde-styles-cde = %version-%release
Obsoletes: kde-styles-cde <= %version-%release
%description styles-cde
CDE style for KDE
%package styles-cde-kwin
Summary: CDE style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-cde-kwin = %version-%release
Obsoletes: kde-styles-cde-kwin <= %version-%release
%description styles-cde-kwin
CDE style for KDE window manager
%package styles-kde1
Summary: CDE style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-kde1-kwin
Provides: kde-styles-kde1 = %version-%release
Obsoletes: kde-styles-kde1 <= %version-%release
%description styles-kde1
CDE style for KDE
%package styles-kde1-kwin
Summary: KDE1 style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-kde1-kwin = %version-%release
Obsoletes: kde-styles-kde1-kwin <= %version-%release
%description styles-kde1-kwin
KDE1 style for KDE window manager
%package styles-kstep
Summary: KStep style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-kstep-kwin
Provides: kde-styles-kstep = %version-%release
Obsoletes: kde-styles-kstep <= %version-%release
%description styles-kstep
KStep style for KDE
%package styles-kstep-kwin
Summary: KStep style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-kstep-kwin = %version-%release
Obsoletes: kde-styles-kstep-kwin <= %version-%release
%description styles-kstep-kwin
KStep style for KDE window manager
%package styles-openlook
Summary: OpenLook style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-openlook-kwin
Provides: kde-styles-openlook = %version-%release
Obsoletes: kde-styles-openlook <= %version-%release
%description styles-openlook
OpenLook style for KDE
%package styles-openlook-kwin
Summary: OpenLook style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-openlook-kwin = %version-%release
Obsoletes: kde-styles-openlook-kwin <= %version-%release
%description styles-openlook-kwin
OpenLook style for KDE window manager
%package styles-system
Summary: System style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-system-kwin
Provides: kde-styles-system = %version-%release
Obsoletes: kde-styles-system <= %version-%release
%description styles-system
System style for KDE
%package styles-system-kwin
Summary: System style for KDE window manager
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-system-kwin = %version-%release
Obsoletes: kde-styles-system-kwin <= %version-%release
%description styles-system-kwin
System style for KDE window manager
%package styles-dotnet
Summary: DotNet style for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: %name-styles-dotnet-widgets
Provides: kde-styles-dotnet = %version-%release
Obsoletes: kde-styles-dotnet <= %version-%release
%description styles-dotnet
DotNet style for KDE
%package styles-dotnet-widgets
Summary: DotNet style for KDE/QT widgets
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kde-styles-dotnet-widgets = %version-%release
Obsoletes: kde-styles-dotnet-widgets <= %version-%release
%description styles-dotnet-widgets
DotNet style for KDE/QT widgets
%package sounds
Summary: Additional sounds for KDE
Group: Sound
Requires: %name-common = %version-%release
Provides: sounds-%name = %version-%release
Obsoletes: sounds-%name <= %version-%release
#
%description sounds
Additional sounds for KDE
%package wallpapers
Summary: Additional wallpapers for KDE
Group: Graphics
Requires: %name-common = %version-%release
Provides: wallpapers-%name = %version-%release
Obsoletes: wallpapers-%name <= %version-%release
#
%description wallpapers
Additional wallpapers for KDE
%package icon-theme-locolor
Summary: Low-color icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-locolor = %version-%release
Obsoletes: kde-icon-theme-locolor <= %version-%release
Provides: kdeartwork-locolor = %version-%release
Obsoletes: kdeartwork-locolor <= %version-%release
#
%description icon-theme-locolor
Low-color icons for KDE.
Install this package if you intend to use KDE on a display
that supports 256 or less colors.
%package icon-theme-kdeclassic
Summary: Classic icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-kdeclassic = %version-%release
Obsoletes: kde-icon-theme-kdeclassic <= %version-%release
#
%description icon-theme-kdeclassic
Classic icons for KDE
%package icon-theme-ikons
Summary: Ikons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-ikons = %version-%release
Obsoletes: kde-icon-theme-ikons <= %version-%release
#
%description icon-theme-ikons
Ikons for KDE
%package icon-theme-kids
Summary: Kids icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-kids = %version-%release
Obsoletes: kde-icon-theme-kids <= %version-%release
#
%description icon-theme-kids
Kids icons for KDE
%package icon-theme-slick
Summary: Slick icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-slick = %version-%release
Obsoletes: kde-icon-theme-slick <= %version-%release
#
%description icon-theme-slick
Slick icons for KDE
%package icon-theme-technical
Summary: Technical icons for KDE
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Provides: kde-icon-theme-technical = %version-%release
Obsoletes: kde-icon-theme-technical <= %version-%release
#
%description icon-theme-technical
Technical icons for KDE
%package screensavers
Summary: Additional screensavers for KDE
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: kdebase-wm
#
%description screensavers
Additional screensavers for KDE.
kdeartwork-screensavers includes the kbanner, kblob, kbouboule, klorenz,
kmorph3d, kpartsaver, kpipes, kpolygon, kpyro, krock, kscience,
kslidescreen, kslideshow, kspace, kswarm and kvm screensavers.
%package xscreensaver
Summary: Frontend to xscreensaver screensavers
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: kdebase-wm
Requires: xscreensaver-hacks, xscreensaver-hacks-gl
#
%description xscreensaver
This package contains frontend to xscreensaver
to give additional screensavers for KDE.
%package kworldclock
Summary: Themes for KWorldClock
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
Requires: kdetoys-kworldclock
#
%description kworldclock
Themes for KWorldClock.
%prep
%setup -q -nkdeartwork-%version
#%setup -q -nkdeartwork-3.0.98
%patch1 -p1
find -type f -name Makefile.am | \
while read f
do
subst "s/kde_libraries)\/libkdecorations\.la/kde_libraries)\/libkdecorations\.so/" $f
done
subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
subst "s/\.la/.so/g" admin/acinclude.m4.in
make -f admin/Makefile.common cvs ||:
%build
export QTDIR=%qtdir
export KDEDIR=%prefix
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L%buildroot/%_libdir -L%buildroot/%_libdir/kde3 -L%_libdir"
%configure \
%if %unstable
--enable-debug=full \
%else
--disable-debug \
%endif
--enable-final \
--enable-shared \
--disable-static \
--disable-objprelink \
--disable-embedded \
--disable-qtopia \
--disable-rpath \
--with-gnu-ld \
--with-pic \
--program-transform-name="" \
--with-xinerama
%make_build
%install
%if %unstable
%set_strip_method none
%endif
export PATH=%_bindir:$PATH
%make DESTDIR=%buildroot install
[ -d %buildroot/%_iconsdir/Locolor -a ! -d %buildroot/%_iconsdir/locolor ] && \
mv %buildroot/%_iconsdir/Locolor %buildroot/%_iconsdir/locolor
[ -d %buildroot/%_iconsdir/Technical -a ! -d %buildroot/%_iconsdir/technical ] && \
mv %buildroot/%_iconsdir/Technical %buildroot/%_iconsdir/technical
pushd %buildroot/%_iconsdir
find . -type d -name .xvpics | while read n; do rm -rf $n; done
find . -type f -exec chmod a-x {} \;
find . -type f -name index.theme -exec subst "s/^Inherits\=.*/Inherits=hicolor,default.kde/" {} \;
popd
find %buildroot/%_iconsdir -type f -name go.png| \
while read n
do
n=`dirname $n`
ln -s go.png $n/kmenu.png ||:
done
install -d %buildroot/%_menudir/
%if %with_scr_menu
# %%_datadir/applnk/System/ScreenSavers
pushd %buildroot/%_datadir/applnk/System/ScreenSavers/
find * -type f -name K\*.desktop | \
while read f
do
SCR_NAME=`echo $f| cut -d. -f1`
%Kd2m %name-screensavers System/ScreenSavers $f %Kb_menudir/kdeartwork-"$SCR_NAME" kde
done
find * -type f -name \*.desktop | grep -v -e^K | \
while read f
do
SCR_NAME=`echo $f| cut -d. -f1`
%Kd2m %name-xscreensaver System/ScreenSavers $f %Kb_menudir/kdeartwork-"$SCR_NAME" kde
done
popd
%endif
%if %with_scr_menu
%post screensavers
%update_menus
%postun screensavers
%clean_menus
%endif
%if %with_scr_menu
%post xscreensaver
%update_menus
%postun xscreensaver
%clean_menus
%endif
%files
%files common
%files styles-plastik
%files styles-plastik-kwin
%_libdir/kde3/kwin_plastik_config.*
%_libdir/kde3/kwin3_plastik.*
%_datadir/apps/kwin/plastik.desktop
%files styles-plastik-widgets
%_libdir/kde3/plugins/styles/plastik.*
%_libdir/kde3/kstyle_plastik_config.*
%_datadir/apps/kstyle/themes/plastik.themerc
%files styles-icewm
%files styles-icewm-kwin
%_libdir/kde3/kwin3_icewm.*
%_libdir/kde3/kwin_icewm_config.*
%_datadir/apps/kwin/icewm-themes/
%_datadir/apps/kwin/icewm.desktop
%files styles-glow
%files styles-glow-kwin
%_libdir/kde3/kwin3_glow.*
%_libdir/kde3/kwin_glow_config.*
%_datadir/apps/kwin/glow-themes/
%_datadir/apps/kwin/glow.desktop
%files styles-cde
%files styles-cde-kwin
%_libdir/kde3/kwin3_cde.*
%_libdir/kde3/kwin_cde_config.*
%_datadir/apps/kwin/cde.desktop
%files styles-kde1
%files styles-kde1-kwin
%_libdir/kde3/kwin3_kde1.*
%_datadir/apps/kwin/kde1.desktop
%files styles-kstep
%files styles-kstep-kwin
%_libdir/kde3/kwin3_kstep.*
%_datadir/apps/kwin/kstep.desktop
%files styles-openlook
%files styles-openlook-kwin
%_libdir/kde3/kwin3_openlook.*
%_datadir/apps/kwin/openlook.desktop
%files styles-system
%files styles-system-kwin
%_libdir/kde3/kwin3_system.*
%_datadir/apps/kwin/system.desktop
%files styles-dotnet
%files styles-dotnet-widgets
%_libdir/kde3/plugins/styles/dotnet.*
%_datadir/apps/kstyle/themes/dotnet.themerc
%files sounds
%_datadir/sounds/*.wav
%files wallpapers
%_datadir/wallpapers/*.jpg
%_datadir/wallpapers/*.png
%files icon-theme-kdeclassic
%_iconsdir/kdeclassic
%files icon-theme-ikons
%_iconsdir/ikons
%files icon-theme-kids
%_iconsdir/kids
%files icon-theme-slick
%_iconsdir/slick
%files icon-theme-technical
%_iconsdir/technical
%files icon-theme-locolor
%_datadir/icons/locolor
%files screensavers
%_bindir/*.kss
%_datadir/apps/kfiresaver
%_datadir/apps/kscreensaver/*.png
%_datadir/applnk/System/ScreenSavers/K*.desktop
%if %with_scr_menu
%_menudir/%name-K*
%endif
%if %with_xscreensaver
%files xscreensaver
%_bindir/kxsconfig
%_bindir/kxsrun
%_datadir/applnk/System/ScreenSavers/*.desktop
%exclude %_datadir/applnk/System/ScreenSavers/K*.desktop
%if %with_scr_menu
%_menudir/*
%exclude %_menudir/%name-K*
%endif
%endif
%files kworldclock
%_datadir/apps/kworldclock/maps/*
%changelog
…
Полный changelog можно просмотреть здесь