%patch0 -p1
%build
-%{__gettextize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
+# if ac/am/* rebuilding is necessary, do it in this order and add
+# appropriate BuildRequires
+#%%{__gettextize}
+#%%{__aclocal}
+#%%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
%configure
%{__make}
# create directories if necessary
#install -d $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+%{makeinstall}
%clean
rm -rf $RPM_BUILD_ROOT