SHA256
1
0
forked from pool/emacs
OBS User unknown 2007-12-10 22:54:14 +00:00 committed by Git OBS Bridge
parent 0731a05d63
commit 822a4615ea
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Dec 9 12:40:33 CET 2007 - schwab@suse.de
- Install all icon sizes.
-------------------------------------------------------------------
Thu Nov 22 14:23:04 CET 2007 - schwab@suse.de

View File

@ -20,7 +20,7 @@ Requires: emacs-info ctags emacs_program
Provides: ge_site ge_exec emacs-url Mule-UCS emacs-calc erc
AutoReqProv: on
Version: 22.1
Release: 62
Release: 65
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: GNU Emacs Base Package
Source: emacs-22.1.tar.bz2
@ -408,6 +408,12 @@ rm -vf %{buildroot}/usr/share/emacs/%{version}/lisp/COPYING
ln -sf ../etc/COPYING \
%{buildroot}/usr/share/emacs/%{version}/lisp/COPYING
##
for f in etc/images/icons/emacs_??.png; do
w=${f##*_} w=${w%.png}
icon_dir=%{buildroot}/usr/share/icons/hicolor/${w}x${w}/apps
mkdir -p $icon_dir
ln -s /usr/share/emacs/%{version}/$f $icon_dir/emacs.png
done
# install desktop file
cp etc/images/icons/emacs_32.png $RPM_SOURCE_DIR/emacs.png
%suse_update_desktop_file -i emacs TextEditor
@ -2089,6 +2095,7 @@ done
%{appDefaultsFile}
/usr/share/applications/emacs.desktop
/usr/share/pixmaps/emacs.png
/usr/share/icons/hicolor
%files -n emacs-info
%defattr(-, root, root)
@ -3192,6 +3199,8 @@ done
/usr/share/emacs/%{version}/lisp/xt-mouse.el.gz
%changelog
* Sun Dec 09 2007 - schwab@suse.de
- Install all icon sizes.
* Thu Nov 22 2007 - schwab@suse.de
- Fix buffer overflow in format [#342158].
- Remove obsolete patches.