-kde_appsdir="%{_desktopdir}"; export kde_appsdir
-kde_htmldir="%{_htmldir}"; export kde_htmldir
-kde_icondir="%{_pixmapsdir}"; export kde_icondir
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure --enable-final
+cp -f /usr/share/automake/config.sub admin
+export UNSERMAKE=/usr/share/unsermake/unsermake
+%{__make} -f admin/Makefile.common cvs
+
+%configure \
+ --enable-final \
+ --with-qt-libraries=%{_libdir}
+