Summary: A free and corrected port of Red Hat's GTK+/Qt theme
Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
Name: QtCurve
-Version: 0.35.1
+Version: 0.38
Release: 1
License: GPL
Group: Themes
Source0: http://www.cpdrummond.freeuk.com/%{name}-%{version}.tar.gz
-# Source0-md5: c66328fcb43cc34a61caafdc515220c8
-#Patch0: %{name}-gcc34.patch
-URL: http://www.kde-look.org/content/show.php?content=5065
+# Source0-md5: 1e9145e20e2df5a1f572767d158f66d5
+URL: http://www.kde-look.org/content/show.php?content=40492
BuildRequires: autoconf
BuildRequires: automake
-%{?with_gtk:BuildRequires: gtk-devel}
+%{?with_gtk:BuildRequires: gtk+-devel}
%{?with_gtk2:BuildRequires: gtk+2-devel}
BuildRequires: kdelibs-devel >= 3.1
BuildRequires: pkgconfig
+BuildRequires: sed > 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
-#`%patch0 -p1
+sed -i "s#/lib/gtk/#/%{_lib}/gtk/#g" gtk/Makefile.am
+sed -i "s#/lib/gtk-2.0/#/%{_lib}/gtk-2.0/#g" gtk2/Makefile.am
%build
cp /usr/share/automake/config.sub admin
%{__make} -f admin/Makefile.common cvs
-%configure
+%configure \
+ --with-qt-libraries=%{_libdir}
%{__make}