SPECS: gtk2-engines.spec - arch confdir gtk+2 compatible - release 2

megabajt megabajt at pld-linux.org
Mon Apr 7 10:17:32 CEST 2008


Author: megabajt                     Date: Mon Apr  7 08:17:32 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- arch confdir gtk+2 compatible
- release 2

---- Files affected:
SPECS:
   gtk2-engines.spec (1.59 -> 1.60) 

---- Diffs:

================================================================
Index: SPECS/gtk2-engines.spec
diff -u SPECS/gtk2-engines.spec:1.59 SPECS/gtk2-engines.spec:1.60
--- SPECS/gtk2-engines.spec:1.59	Tue Mar 11 15:53:41 2008
+++ SPECS/gtk2-engines.spec	Mon Apr  7 10:17:27 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Motywy do GTK+2
 Name:		gtk2-engines
 Version:	2.14.0
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2+ and LGPL v2+
 Group:		Themes/GTK+
@@ -17,6 +17,7 @@
 BuildRequires:	intltool >= 0.37.0
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+Requires(post):	gtk+2 >= 2:2.12.9-3
 Requires:	gtk+2 >= 2:2.12.8
 Provides:	gnome-themes-Clearlooks
 Provides:	gnome-themes-ThinIce
@@ -34,6 +35,15 @@
 Obsoletes:	gtk2-theme-engine-lighthouseblue
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%if "%{_lib}" != "lib"
+%define		libext		%(lib="%{_lib}"; echo ${lib#lib})
+%define		_gtkconfdir	/etc/gtk%{libext}-2.0
+%define		pqext		-%{libext}
+%else
+%define		_gtkconfdir	/etc/gtk-2.0
+%define		pqext		%{nil}
+%endif
+
 %description
 These are the graphical engines for the various GTK+ toolkit themes.
 
@@ -67,7 +77,7 @@
 
 %post
 umask 022
-%{_bindir}/gdk-pixbuf-query-loaders >%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
+gdk-pixbuf-query-loaders%{pqext} > %{_gtkconfdir}/gdk-pixbuf.loaders
 exit 0
 
 %files -f gtk-engines.lang
@@ -91,6 +101,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.60  2008-04-07 08:17:27  megabajt
+- arch confdir gtk+2 compatible
+- release 2
+
 Revision 1.59  2008-03-11 14:53:41  megabajt
 - updated to 2.14.0; merged changes from DEVEL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gtk2-engines.spec?r1=1.59&r2=1.60&f=u



More information about the pld-cvs-commit mailing list