forked from pool/xemacs
.
OBS-URL: https://build.opensuse.org/package/show/M17N/xemacs?expand=0&rev=10
This commit is contained in:
parent
1f446eee18
commit
d27fcf16a8
@ -19,6 +19,9 @@
|
|||||||
|
|
||||||
Name: xemacs
|
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
|
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"
|
%if "%(xft-config --prefix)" == "/usr"
|
||||||
%define appdefdir /usr/share/X11
|
%define appdefdir /usr/share/X11
|
||||||
%define xbindir /usr/bin
|
%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
|
ln -sf /usr/share/xemacs/%{version}/etc $RPM_BUILD_ROOT/%{_docdir}/xemacs/etc
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/skel/.xemacs
|
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
|
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
|
%fdupes $RPM_SOURCE_DIR/usr/share/xemacs
|
||||||
|
%endif
|
||||||
#
|
#
|
||||||
# replace buildroot in comments in .elc files by spaces with the same total length:
|
# replace buildroot in comments in .elc files by spaces with the same total length:
|
||||||
RPM_BUILD_ROOT_REPLACEMENT=$(echo "$RPM_BUILD_ROOT" | tr '[:print:]' ' ')
|
RPM_BUILD_ROOT_REPLACEMENT=$(echo "$RPM_BUILD_ROOT" | tr '[:print:]' ' ')
|
||||||
|
Loading…
Reference in New Issue
Block a user