File kbootsplash.spec of Package kbootsplash
#
# spec file for package kbootsplash (Version 0.4CR2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
BuildRequires: kdelibs3-devel
Name: kbootsplash
Summary: Use this KDE tool to change your bootsplash
Url: http://kbootsplash.sourceforge.net/
Version: 0.4CR2
Release: 1
License: GPL
Group: System/GUI/KDE
Source: %{name}-%{version}.tar.bz2
Source1: %{name}.desktop
Patch: kbootsplash-language.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%if %suse_version > 820
%define kdeprefix /opt/kde3
%endif
%description
kbootsplash ist a program to change your bootsplash in an easy way.
Just by using a graphical user interface, which lets install and
change installed splash screens for your Linux system.
Authors:
========
Ronny Kissing <ronny.kissing@gmx.net>
%prep
%setup -q
%patch
. /etc/opt/kde3/common_options
update_admin
%build
%{suse_update_config}
. /etc/opt/kde3/common_options
CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" \
%configure $configkde
%__make %{?jobs:-j%jobs}
%install
. /etc/opt/kde3/common_options
%__make $INSTALL_TARGET DESTDIR=%{buildroot}
%if %suse_version >= 1020
%suse_update_desktop_file -G "Change your bootsplash" kbootsplash System SystemSetup
%else
%suse_update_desktop_file kbootsplash System SystemSetup
%endif
%find_lang %name
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,0755)
%{kdeprefix}/bin/kbootsplash
%if %suse_version > 920
%{kdeprefix}/share/applications/kde/kbootsplash.desktop
%else
%{kdeprefix}/share/applnk/Utilities/kbootsplash.desktop
%endif
%{kdeprefix}/share/apps/kbootsplash
%{kdeprefix}/share/doc/HTML/en/kbootsplash
%{kdeprefix}/share/icons/hicolor/*/apps/kbootsplash.png
%changelog
* Sat Mar 31 2007 - lrupp@suse.de
- added libbz2 to BuildRequires for > 10.2
* Wed Jan 17 2007 - lrupp@suse.de
- build parallel
- find translations automatically
* Thu Dec 14 2006 - lrupp@suse.de
- fix desktop file syntax for suse_Version <= 1010
* Tue Dec 5 2006 - lrupp@suse.de
- Created initial package