File thinkeramik.spec of Package thinkeramik

#
# spec file for package thinkeramik (Version 3.2.1)
#
# Copyright (c) 2008 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


Name:           thinkeramik
BuildRequires:  kdebase3-devel
%if %suse_version < 1010
BuildRequires:  update-desktop-files
%endif
Url:            http://prefsx1.hp.infoseek.co.jp/tk040429/index.html
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Thin Keramik style for KDE
Version:        3.2.1
Release:        227
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       thinkeramik-style
Source0:        %{name}-%{version}.tar.bz2
Patch0:         default-sidebar-width.diff
Patch1:         thinkeramik-colors.diff
Patch2:         remove-kdefx-dependency.diff
Patch3:         fix-combobox-edit-fields.diff
Patch4:         gcc-4.1.diff
Patch5:         fix-pixmaploader.diff

%description
This is a plain-looking modification of the Keramik style.



Authors:
--------
    Arumi Kitajima <prefsx1@yahoo.co.jp>
    
    Keramik engine by:
    Malte Starostik <malte@kde.org>
    Maksim Orlovich <mo002j@mail.rochester.edu>

%package style
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Thin Keramik style for Qt

%description style
This is a plain-looking modification of the Keramik style.



Authors:
--------
    Arumi Kitajima <konro@lycos.jp>
    
    Keramik engine by:
    Malte Starostik <malte@kde.org>
    Maksim Orlovich <mo002j@mail.rochester.edu>

%prep
%setup -q
%if %suse_version > 900
%patch0
%endif
%patch1
%patch2
%patch3
%patch4
%patch5
. /etc/opt/kde3/common_options
update_admin

%build
. /etc/opt/kde3/common_options
./configure $configkde
do_make %{?jobs:-j %jobs}

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
mkdir -p $RPM_BUILD_ROOT/usr/lib/qt3/plugins/
mv $RPM_BUILD_ROOT/opt/kde3/%_lib/kde3/plugins/styles \
   $RPM_BUILD_ROOT/usr/lib/qt3/plugins/
rm -f $RPM_BUILD_ROOT/usr/lib/qt3/plugins/styles/thinkeramik*la
if [ %_lib = lib64 ]; then
 for i in $RPM_BUILD_ROOT/usr/lib/qt3/plugins/*/*.so; do
   mv "$i" "${i%.so}.%_lib.so"
 done
fi
%suse_update_desktop_file -u %name Settings

%post
%run_ldconfig

%postun
%run_ldconfig

%files
%defattr(-,root,root)
/opt/kde3/%_lib/kde3/kstyle_thinkeramik_config.*
/opt/kde3/%_lib/kde3/kwin3_thinkeramik.*
/opt/kde3/%_lib/kde3/kwin_thinkeramik_config.*
/opt/kde3/share/apps/kwin/thinkeramik.desktop
/opt/kde3/share/apps/kstyle/themes/thinkeramik.themerc
/opt/kde3/share/apps/kdisplay/color-schemes/thinkeramik-II.kcsrc
/opt/kde3/share/apps/kdisplay/color-schemes/thinkeramik.kcsrc

%files style
%defattr(-,root,root)
/usr/lib/qt3/plugins/styles

%changelog
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Mon Jul 10 2006 dmueller@suse.de
- fix memory leak in pixmap loader (#190110)
* Thu Jun 15 2006 dmueller@suse.de
- build parallel
* Wed May 31 2006 dmueller@suse.de
- fix uninitialized variable accesses (#160557)
* Tue May 30 2006 adrian@suse.de
- fix build for < 10.1
* Fri Jan 27 2006 dmueller@suse.de
- fix sequence point warnings (#137753)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 06 2004 adrian@suse.de
- fix QComboBox with edit field for OOo (#45365)
* Tue Sep 21 2004 adrian@suse.de
- split style plugin into extra package and remove dependency to
  libkdefx. We need this to be able to use it as default plugin for
  YaST (#44803)
* Fri Jul 09 2004 adrian@suse.de
- update to version 3.2.1
* Mon Apr 26 2004 adrian@suse.de
- update to version 3.2
* Thu Mar 18 2004 coolo@suse.de
- fixing scrollbar colors (#36480)
* Tue Mar 02 2004 adrian@suse.de
- adjust menu sideborder, depending on icon size
* Tue Mar 02 2004 adrian@suse.de
- update to version 3.0.6
* Wed Jan 28 2004 adrian@suse.de
- update to version 2.8.1
- disable kwin deco, because it is not yet ported to KDE 3.2
* Wed Sep 03 2003 adrian@suse.de
- mark thinkeramik menu entry as unimportant
* Sat Aug 23 2003 adrian@suse.de
- update to version 2.7.1
* Wed Aug 20 2003 adrian@suse.de
- update to version 2.7
* Wed Aug 13 2003 adrian@suse.de
- update to version 2.5
- remove double desktop file in applications
* Mon Aug 11 2003 adrian@suse.de
- update to version 2.4.1
* Thu Aug 07 2003 adrian@suse.de
- update to version 2.3
* Tue Aug 05 2003 adrian@suse.de
- update to version 2.1
  * including a window decoration
* Sat Jul 26 2003 adrian@suse.de
- update to version 1.9
  * including a kcm modul
* Fri Jul 25 2003 adrian@suse.de
- initial package of version 1.7
openSUSE Build Service is sponsored by