.
OBS-URL: https://build.opensuse.org/package/show/M17N/xemacs?expand=0&rev=48
This commit is contained in:
parent
31548fb92b
commit
91f1d337d5
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 31 14:51:02 UTC 2012 - werner@suse.de
|
||||||
|
|
||||||
|
- Make /var/lib/xemacs/lock/ optional (bnc#764887)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 30 10:58:22 UTC 2012 - werner@suse.de
|
Wed May 30 10:58:22 UTC 2012 - werner@suse.de
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ BuildRequires: gpm-devel
|
|||||||
%else
|
%else
|
||||||
BuildRequires: gpm
|
BuildRequires: gpm
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define appdefdir /usr/share/X11
|
%define appdefdir /usr/share/X11
|
||||||
%define xbindir /usr/bin
|
%define xbindir /usr/bin
|
||||||
%define xincludes /usr/include
|
%define xincludes /usr/include
|
||||||
@ -96,6 +95,8 @@ Patch292811: bugzilla-292811-make-x-make-font-bold-italic-xft-work.patch
|
|||||||
Patch301352: bugzilla-301352-fix-wrong-incrementing-in-macros.patch
|
Patch301352: bugzilla-301352-fix-wrong-incrementing-in-macros.patch
|
||||||
%define _default_patch_fuzz 2
|
%define _default_patch_fuzz 2
|
||||||
|
|
||||||
|
%bcond_with lock
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is the current version of XEmacs, formerly known as Lucid-Emacs.
|
This is the current version of XEmacs, formerly known as Lucid-Emacs.
|
||||||
It is related to other versions of Emacs, in particular GNU Emacs. Its
|
It is related to other versions of Emacs, in particular GNU Emacs. Its
|
||||||
@ -379,8 +380,10 @@ set +o posix
|
|||||||
#
|
#
|
||||||
mkdir -p %{buildroot}/usr/share/xemacs/site-lisp/lisp
|
mkdir -p %{buildroot}/usr/share/xemacs/site-lisp/lisp
|
||||||
mkdir -p %{buildroot}/usr/share/xemacs/site-packages/lisp/term
|
mkdir -p %{buildroot}/usr/share/xemacs/site-packages/lisp/term
|
||||||
|
%if %{with lock}
|
||||||
mkdir -p %{buildroot}/var/lib/xemacs/lock
|
mkdir -p %{buildroot}/var/lib/xemacs/lock
|
||||||
chmod 1777 %{buildroot}/var/lib/xemacs/lock
|
chmod 1777 %{buildroot}/var/lib/xemacs/lock
|
||||||
|
%endif
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
mv %{buildroot}%{xbindir}/xemacs-21.?-??? %{buildroot}%{xbindir}/xemacs
|
mv %{buildroot}%{xbindir}/xemacs-21.?-??? %{buildroot}%{xbindir}/xemacs
|
||||||
# fix up the load-history to make it possible to use find-function
|
# fix up the load-history to make it possible to use find-function
|
||||||
@ -528,6 +531,7 @@ cat xe-list-el-without-elc xe-list-elc-without-el xe-list-elc-with-el \
|
|||||||
# packages:
|
# packages:
|
||||||
rm -rf %{buildroot}/usr/lib/xemacs/%{version}/*-suse-linux/include/
|
rm -rf %{buildroot}/usr/lib/xemacs/%{version}/*-suse-linux/include/
|
||||||
|
|
||||||
|
%if %{with lock}
|
||||||
%if %{defined verify_permissions}
|
%if %{defined verify_permissions}
|
||||||
%verifyscript
|
%verifyscript
|
||||||
%verify_permissions -e /var/lib/xemacs/lock
|
%verify_permissions -e /var/lib/xemacs/lock
|
||||||
@ -537,6 +541,7 @@ rm -rf %{buildroot}/usr/lib/xemacs/%{version}/*-suse-linux/include/
|
|||||||
%post
|
%post
|
||||||
%set_permissions /var/lib/xemacs/lock
|
%set_permissions /var/lib/xemacs/lock
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -606,7 +611,9 @@ rm -rf %{buildroot}
|
|||||||
%dir /usr/share/xemacs/site-lisp/
|
%dir /usr/share/xemacs/site-lisp/
|
||||||
%dir /usr/share/xemacs/site-lisp/lisp/
|
%dir /usr/share/xemacs/site-lisp/lisp/
|
||||||
%dir /var/lib/xemacs/
|
%dir /var/lib/xemacs/
|
||||||
|
%if %{with lock}
|
||||||
%dir %verify(not mode group) %attr(1775,root,trusted) /var/lib/xemacs/lock/
|
%dir %verify(not mode group) %attr(1775,root,trusted) /var/lib/xemacs/lock/
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n xemacs-info
|
%files -n xemacs-info
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user