Hi,
I updated the gtk-themes package and added the missing theme engine libs.
The src.rpm is on the ftp server, see the attached diff to the spec file and
the patch.

CU
-- 
   Goetz Waschk <> student of computer science  <> university Rostock    
 http://www.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--
--- gtk-themes-1.0-3mdk.src/gtk-themes.spec     Mon Sep 11 09:19:39 2000
+++ SPECS/gtk-themes.spec       Fri Sep  8 17:58:22 2000
@@ -1,20 +1,22 @@
 %define name   gtk-themes 
 %define version 1.0
-%define release 3mdk
+%define release 4mdk
 
 Name:          %{name}
 Version:       %{version}
 Release:       %{release}
 Copyright:     GPL
 Summary:       Themes for GTK
-Summary(fr):Th�mes pour GTK
+Summary(fr):    Th�mes pour GTK
 Group:         Graphical desktop/Other
-BuildRequires: XFree86-devel imlib-devel
-Source0:               gtk-themes.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires:  XFree86-devel imlib-devel
+Source0:       gtk-themes.tar.bz2
+Patch:          gtk-themes-xenophobia.patch.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 Requires:      gtk+, gtk-engines
-BuildArchitectures: noarch
-URL: http://gtk.themes.org
+Obsoletes:      gtkstep
+URL:            http://gtk.themes.org
+
 
 %description
 This package contains some nice themes for GTK
@@ -23,17 +25,28 @@
 Ce package contient des th�mes pour GTK
 
 %prep
-
+%setup -q -c
+%patch -p1
+if [ -e MindMachine ]; then chmod -R +w MindMachine;fi
+mv usr/share/themes/* .
+rm -rf usr
 %build
+# find out the themes with their own theme engines and build them
+for DIR in `find . -name configure`;
+  do (cd `dirname $DIR`;%configure;%make);
+done
 
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/themes/
+# find out the themes with their own theme engines and install them
+for DIR in */; 
+  do if [ -f $DIR/Makefile ]; 
+       then (cd $DIR;%makeinstall RPM_BUILD_ROOT=$RPM_BUILD_ROOT); 
+       else cp -pr $DIR $RPM_BUILD_ROOT%{_datadir}/themes/;
+     fi;
+done
 
-cd $RPM_BUILD_ROOT%{_datadir}/themes/
-bzcat %{SOURCE0} | tar xv
-chmod -R u+Xwr $RPM_BUILD_ROOT%{_datadir}/themes/
-chmod -R go+rX $RPM_BUILD_ROOT%{_datadir}/themes/
 rm -rf $RPM_BUILD_ROOT%{_datadir}/themes/BrushedMetal
 rm -rf $RPM_BUILD_ROOT%{_datadir}/themes/Cheese
 rm -rf $RPM_BUILD_ROOT%{_datadir}/themes/Stone
@@ -44,8 +57,14 @@
 %files
 %defattr (-,root,root)
 %{_datadir}/themes/
-
+%{_libdir}/gtk/themes/engines/*la
+%{_libdir}/gtk/themes/engines/*so*
 %changelog
+* Fri Sep  8 2000 G�tz Waschk <[EMAIL PROTECTED]> 1.0-4mdk
+- added missing theme engines
+- no noarch anymore, we have some libs in this package now
+- obsoletes gtkstep
+
 * Mon Aug 21 2000 DindinX <[EMAIL PROTECTED]> 1.0-3mdk
 - BM
 - removed the themes which conflicted with gtk-engines
--- gtk-themes-1.0/Xenophilia-0.4/Makefile      Fri Mar 10 19:37:18 2000
+++ gtk-themes-1.0-new/Xenophilia-0.4/Makefile  Fri Sep  8 18:08:57 2000
@@ -23,8 +23,8 @@
 COMPILE                = $(CC) $(CFLAGS)  -c
 LINK           = $(CC) $(LIBS)
 
-LIB_PATH       = $(PREFIX)/lib/gtk/themes/engines
-DATA_PATH      = $(PREFIX)/share/themes
+LIB_PATH       = $(RPM_BUILD_ROOT)$(PREFIX)/lib/gtk/themes/engines
+DATA_PATH      = $(RPM_BUILD_ROOT)$(PREFIX)/share/themes
 
 OBJECTS                = xeno_theme_draw.o xeno_theme_main.o xeno_theme_patches.o 
xeno_theme_color.o
 SONAME         = libxeno.so.0.4

PGP signature

Reply via email to