File kde-style-krisp.spec of Package kde-style-krisp

%define base_name       kde3-style
%define theme_name      krisp
%define name            %{base_name}-%{theme_name}
%define aname		krisp
%define version         0.2
%define release 1
%define __libtoolize /bin/true
%define __cputoolize /bin/true
%define         _prefix /opt/kde3


Name:                   %{name}
Version:                %{version}
Release:                1
Summary:                Widget style based on the Plastik style
License:                GPL-2.0
Group:                  System/GUI/KDE
Source:                 %{theme_name}-%{version}.tar.bz2
URL:                    http://kde-look.org/content/show.php?content=18378
BuildRequires:          kdebase3-devel >= 3.2
BuildRoot:              %{_tmppath}/%{name}


%description
PlastiQ styles. Krisp also has the following features:
--all new menu bar widgets
--a bunch of other small tweaks
--some things I'm probably forgetting

%prep
%setup -n %{theme_name}-%{version}
. /etc/opt/kde3/common_options
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
# Search for qt/kde libraries in the right directories (avoid patch)
# NOTE: please don't regenerate configure scripts below
export QTDIR=/usr/lib/qt3/%_lib
./configure $configkde 

make

%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/%{_libdir}/kde3/kstyle_%{aname}_config.so
rm -f $RPM_BUILD_ROOT/%{_libdir}/kde3/kstyle_%{aname}_config.la

%files
%defattr(-,root,root)
%doc README AUTHORS COPYING ChangeLog INSTALL 
%{_libdir}/kde3/plugins/styles/%{aname}.la
%{_libdir}/kde3/plugins/styles/%{aname}.so
%{_datadir}/apps/kstyle/themes/%{aname}.themerc

%changelog
* Fri Jul 14 2006 Nicolas L�cureuil <neoclust@mandriva.org> 0.2-5mdv2007.0
- Rebuild

* Mon Dec 26 2005 Nicolas L�cureuil <neoclust@mandriva.org> 0.2-4mdk
- Remove redundant Buildrequires

* Thu Dec 22 2005 Nicolas L�cureuil <neoclust@mandriva.org> 0.2-3mdk
- Rebuild for missing package
- use mkrel

* Tue Sep 06 2005 Laurent MONTEL <lmontel@mandriva.com> 0.2-2mdk
- Rebuild

* Mon Aug 08 2005 Laurent MONTEL <lmontel@mandriva.com> 0.2-1mdk
- 0.2 (fix conflict)

* Fri May 06 2005 Sebastien Savarin <plouf@mandriva.org> 0.1-2mdk
- Fix build on amd64 change name kde-theme to kde-style

* Sat Mar 05 2005 Sebastien Savarin <plouf@mandrake.org> 0.1-1mdk
- Initial Release.


openSUSE Build Service is sponsored by