File kde-kids-theme.spec of Package kde_kids_theme
#
# spec file for package kde-kids-theme
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild
Name: kde-kids-theme
Summary: Kids theme for the KDE Desktop
Version: 1.0
Release: 1
License: GPL-2.0 and LGPL-2.1
Group: System/GUI/KDE
BuildRequires: kdebase3-kdm coreutils fdupes
## Source: http://www.iconbase.com/addicons/dl.php?id_icon=64&filename=kid.tar.gz
Source: kid.tar.bz2
## Source1: http://www.kde-look.org/CONTENT/content-files/9146-kids.jpg
Source1: wallpaper.tar.bz2
Source2: kids.xml
Source3: kde-kids-backgroundrc
Source4: kde-kids-kdmrc
Source5: kde-kids-color.kcsrc
Url: http://www.everaldo.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Vendor: openSUSE-Education
BuildArch: noarch
%define kdedir /opt/kde3
%description
Kids theme (iconset and wallpaper) for KDE.
This theme contains icons from http://www.everaldo.com/.
Authors:
--------
Everaldo Coelho
%prep
%setup -q -n kids -a1
%build
%install
install -m 755 -d %{buildroot}/%{kdedir}/share/icons/kids
install -m 755 -d %{buildroot}/%{kdedir}/share/apps/kthememanager/themes/kids/wallpapers
cp -a * %{buildroot}/%{kdedir}/share/icons/kids/
install -m 644 *.jpg %{buildroot}/%{kdedir}/share/apps/kthememanager/themes/kids/wallpapers/
#cp -a EDU*.jpg %{buildroot}/%{kdedir}/share/apps/kthememanager/themes/kids/wallpapers/
install -m 644 %{SOURCE2} %buildroot%kdedir/share/apps/kthememanager/themes/kids/
%fdupes %{buildroot}
%post
%files
%defattr(-, root, root)
%dir %{kdedir}/share/apps/kthememanager/
%dir %{kdedir}/share/apps/kthememanager/themes
%dir %{kdedir}/share/apps/kthememanager/themes/kids
%dir %{kdedir}/share/apps/kthememanager/themes/kids/wallpapers
%dir %{kdedir}/share/icons/kids
%dir %{kdedir}
%dir %{kdedir}/share
%dir %{kdedir}/share/apps
%dir %{kdedir}/share/icons
%kdedir/share/apps/kthememanager/themes/kids/*
%kdedir/share/icons/kids/*
#%kdedir/share/apps/kdm/themes/kids
#%kdedir/share/config/kdm/kde-kids-kdmrc
#%kdedir/share/config/kdm/kde-kids-backgroundrc
#%ghost %config(missingok,noreplace) %kdedir/share/config/kdm/kdmrc
#%ghost %config(missingok,noreplace) %kdedir/share/config/kdm/backgroundrc
%changelog