forked from pool/emacs
Accepting request 109242 from home:msmeissn:branches:editors
fix build on factory OBS-URL: https://build.opensuse.org/request/show/109242 OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=72
This commit is contained in:
parent
8feb0b52d3
commit
1f360fae00
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 14 10:31:33 CET 2012 - meissner@suse.de
|
||||||
|
|
||||||
|
- add %dir /usr/share/X11/app-defaults to fix factory build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 10 14:53:41 UTC 2012 - werner@suse.de
|
Tue Jan 10 14:53:41 UTC 2012 - werner@suse.de
|
||||||
|
|
||||||
|
48
emacs.spec
48
emacs.spec
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: emacs
|
Name: emacs
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
@ -49,11 +50,24 @@ BuildRequires: gpm
|
|||||||
Url: http://www.gnu.org/software/emacs/
|
Url: http://www.gnu.org/software/emacs/
|
||||||
Version: 23.3
|
Version: 23.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Obsoletes: ge_exec ge_site emacmisc emacsger emacs-url Mule-UCS emacs-calc erc
|
Obsoletes: Mule-UCS
|
||||||
|
Obsoletes: emacmisc
|
||||||
|
Obsoletes: emacs-calc
|
||||||
|
Obsoletes: emacs-url
|
||||||
|
Obsoletes: emacsger
|
||||||
|
Obsoletes: erc
|
||||||
|
Obsoletes: ge_exec
|
||||||
|
Obsoletes: ge_site
|
||||||
|
Requires: ctags
|
||||||
Requires: emacs-info = %{version}
|
Requires: emacs-info = %{version}
|
||||||
Requires: emacs_program = %{version}-%{release}
|
Requires: emacs_program = %{version}-%{release}
|
||||||
Requires: ctags
|
Provides: Mule-UCS
|
||||||
Provides: ge_site ge_exec emacs-url Mule-UCS emacs-calc erc emacmisc
|
Provides: emacmisc
|
||||||
|
Provides: emacs-calc
|
||||||
|
Provides: emacs-url
|
||||||
|
Provides: erc
|
||||||
|
Provides: ge_exec
|
||||||
|
Provides: ge_site
|
||||||
Summary: GNU Emacs Base Package
|
Summary: GNU Emacs Base Package
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Productivity/Editors/Emacs
|
Group: Productivity/Editors/Emacs
|
||||||
@ -90,13 +104,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%define _x11data %{_exec_prefix}/lib/X11
|
%define _x11data %{_exec_prefix}/lib/X11
|
||||||
%define _libx11 %{_x11data}
|
%define _libx11 %{_x11data}
|
||||||
%define _x11inc %{_exec_prefix}/include
|
%define _x11inc %{_exec_prefix}/include
|
||||||
%define appDefaultsFile %{_x11data}/app-defaults/Emacs
|
%define appDefaultsDir %{_x11data}/app-defaults
|
||||||
|
%define appDefaultsFile %{appDefaultsDir}/Emacs
|
||||||
%else
|
%else
|
||||||
%define _x11lib %{_libdir}
|
%define _x11lib %{_libdir}
|
||||||
%define _x11data %{_datadir}/X11
|
%define _x11data %{_datadir}/X11
|
||||||
%define _libx11 %{_exec_prefix}/lib/X11
|
%define _libx11 %{_exec_prefix}/lib/X11
|
||||||
%define _x11inc %{_includedir}
|
%define _x11inc %{_includedir}
|
||||||
%define appDefaultsFile %{_x11data}/app-defaults/Emacs
|
%define appDefaultsDir %{_x11data}/app-defaults
|
||||||
|
%define appDefaultsFile %{appDefaultsDir}/Emacs
|
||||||
%endif
|
%endif
|
||||||
%define info_files elisp emacs eintr ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse ede ediff edt eieio emacs-mime epa erc eshell eudc efaq flymake forms gnus idlwave info mairix-el message mh-e newsticker nxml-mode org pcl-cvs pgg rcirc remember reftex sasl sc semantic ses sieve smtpmail speedbar tramp url vip viper widget woman
|
%define info_files elisp emacs eintr ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse ede ediff edt eieio emacs-mime epa erc eshell eudc efaq flymake forms gnus idlwave info mairix-el message mh-e newsticker nxml-mode org pcl-cvs pgg rcirc remember reftex sasl sc semantic ses sieve smtpmail speedbar tramp url vip viper widget woman
|
||||||
|
|
||||||
@ -108,7 +124,8 @@ emacs-nox.
|
|||||||
PreReq: fileutils
|
PreReq: fileutils
|
||||||
Obsoletes: emac_nox
|
Obsoletes: emac_nox
|
||||||
Requires: emacs = %{version}-%{release}
|
Requires: emacs = %{version}-%{release}
|
||||||
Provides: emacs_program = %{version}-%{release}, emac_nox
|
Provides: emac_nox
|
||||||
|
Provides: emacs_program = %{version}-%{release}
|
||||||
Summary: GNU Emacs-nox: An Emacs Binary without X Window System Support
|
Summary: GNU Emacs-nox: An Emacs Binary without X Window System Support
|
||||||
Group: Productivity/Editors/Emacs
|
Group: Productivity/Editors/Emacs
|
||||||
|
|
||||||
@ -124,8 +141,10 @@ PreReq: fileutils
|
|||||||
Obsoletes: emacsbin
|
Obsoletes: emacsbin
|
||||||
Requires: emacs = %{version}-%{release}
|
Requires: emacs = %{version}-%{release}
|
||||||
Enhances: xorg-x11-libs
|
Enhances: xorg-x11-libs
|
||||||
Provides: emacs_program = %{version}-%{release} emacsbin
|
Provides: emacs:/usr/bin/emacs
|
||||||
Provides: emacs:/usr/bin/emacs ge_exec:/usr/bin/emacs
|
Provides: emacs_program = %{version}-%{release}
|
||||||
|
Provides: emacsbin
|
||||||
|
Provides: ge_exec:/usr/bin/emacs
|
||||||
Summary: GNU Emacs: Emacs binary with X Window System Support
|
Summary: GNU Emacs: Emacs binary with X Window System Support
|
||||||
Group: Productivity/Editors/Emacs
|
Group: Productivity/Editors/Emacs
|
||||||
|
|
||||||
@ -152,8 +171,16 @@ Several Lisp files not needed for running GNU Emacs. Most of these
|
|||||||
files are pre-byte compiled and therefore not necessary.
|
files are pre-byte compiled and therefore not necessary.
|
||||||
|
|
||||||
%package -n emacs-info
|
%package -n emacs-info
|
||||||
Obsoletes: ge_info elispman elisp-manual elispint emacs-lisp-intro
|
Obsoletes: elisp-manual
|
||||||
Provides: elispman elisp-manual elispint emacs-lisp-intro ge_info
|
Obsoletes: elispint
|
||||||
|
Obsoletes: elispman
|
||||||
|
Obsoletes: emacs-lisp-intro
|
||||||
|
Obsoletes: ge_info
|
||||||
|
Provides: elisp-manual
|
||||||
|
Provides: elispint
|
||||||
|
Provides: elispman
|
||||||
|
Provides: emacs-lisp-intro
|
||||||
|
Provides: ge_info
|
||||||
Summary: Info files for GNU Emacs
|
Summary: Info files for GNU Emacs
|
||||||
Group: Productivity/Editors/Emacs
|
Group: Productivity/Editors/Emacs
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
@ -2889,6 +2916,7 @@ done
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_bindir}/emacs-x11
|
%{_bindir}/emacs-x11
|
||||||
%{_bindir}/emacs-gtk
|
%{_bindir}/emacs-gtk
|
||||||
|
%dir %{appDefaultsDir}
|
||||||
%{appDefaultsFile}
|
%{appDefaultsFile}
|
||||||
%{_datadir}/applications/emacs.desktop
|
%{_datadir}/applications/emacs.desktop
|
||||||
%{_datadir}/pixmaps/emacs.png
|
%{_datadir}/pixmaps/emacs.png
|
||||||
|
Loading…
Reference in New Issue
Block a user