%define base_name kde-style %define theme_name krisp %define name %{base_name}-%{theme_name} %define aname krisp %define version 0.2 %define release %mkrel 5 %define __libtoolize /bin/true %define __cputoolize /bin/true Name: %{name} Version: %{version} Release: %{release} Summary: Widget style based on the Plastik style License: GPL Group: Graphical desktop/KDE Source: %{theme_name}-%{version}.tar.bz2 URL: http://kde-look.org/content/show.php?content=18378 BuildRequires: kdebase-devel >= 3.2 BuildRoot: %{_tmppath}/%{name}-buildroot Provides: kde-theme-krisp Obsoletes: kde-theme-krisp %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 rm -rf $RPM_BUILD_ROOT %setup -n %{theme_name}-%{version} %build # Search for qt/kde libraries in the right directories (avoid patch) # NOTE: please don't regenerate configure scripts below perl -pi -e "s@/lib(\"|\b[^/])@/%_lib\1@g if /(kde|qt)_(libdirs|libraries)=/" configure %configure --disable-debug --disable-warnings --disable-rpath %make %install %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README AUTHORS COPYING ChangeLog INSTALL %{_libdir}/kde3/kstyle_%{aname}_config.la %{_libdir}/kde3/kstyle_%{aname}_config.so %{_libdir}/kde3/plugins/styles/%{aname}.la %{_libdir}/kde3/plugins/styles/%{aname}.so %{_datadir}/apps/kstyle/themes/%{aname}.themerc %changelog * Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.2-5mdv2008.1 + Revision: 140853 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * 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.