SHA256
1
0
forked from pool/xemacs
Dr. Werner Fink 2009-12-07 09:00:27 +00:00 committed by Git OBS Bridge
parent 1f446eee18
commit d27fcf16a8

View File

@ -19,6 +19,9 @@
Name: xemacs
BuildRequires: canna-devel compface db-devel fdupes fwnndev gcc-c++ gdbm-devel gpm krb5 libpng-devel libtiff-devel ncurses-devel openldap2-devel texinfo update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel
%if %suse_version > 1020
BuildRequires: fdupes
%endif
%if "%(xft-config --prefix)" == "/usr"
%define appdefdir /usr/share/X11
%define xbindir /usr/bin
@ -464,7 +467,9 @@ install -m 0644 suse/README.SuSE $RPM_BUILD_ROOT/%{_docdir}/xemacs/README.SuSE
ln -sf /usr/share/xemacs/%{version}/etc $RPM_BUILD_ROOT/%{_docdir}/xemacs/etc
mkdir -p $RPM_BUILD_ROOT/etc/skel/.xemacs
install -m 0644 $RPM_SOURCE_DIR/skel.init.el $RPM_BUILD_ROOT/etc/skel/.xemacs/init.el
%if %suse_version > 1020
%fdupes $RPM_SOURCE_DIR/usr/share/xemacs
%endif
#
# replace buildroot in comments in .elc files by spaces with the same total length:
RPM_BUILD_ROOT_REPLACEMENT=$(echo "$RPM_BUILD_ROOT" | tr '[:print:]' ' ')