remove emacsclient.desktop (#1175969)

emacsclient.desktop listed among other desktop applications is highly
confusing. It doesn't start a new emacs instance as other desktop files.

Resolves: #1175969
This commit is contained in:
Jan Synacek 2016-01-05 10:33:03 +01:00
parent 046bcbfc15
commit 1b003d3a54
2 changed files with 2 additions and 16 deletions

View File

@ -11,7 +11,6 @@ URL: http://www.gnu.org/software/emacs/
Group: Applications/Editors Group: Applications/Editors
Source0: ftp://ftp.gnu.org/gnu/emacs/emacs-%{version}.tar.xz Source0: ftp://ftp.gnu.org/gnu/emacs/emacs-%{version}.tar.xz
Source1: emacs.desktop Source1: emacs.desktop
Source2: emacsclient.desktop
Source3: dotemacs.el Source3: dotemacs.el
Source4: site-start.el Source4: site-start.el
Source5: default.el Source5: default.el
@ -327,8 +326,7 @@ install -p -m 0644 %SOURCE3 %{buildroot}%{_sysconfdir}/skel/.emacs
mkdir -p %{buildroot}/%{pkgconfig} mkdir -p %{buildroot}/%{pkgconfig}
install -p -m 0644 emacs.pc %{buildroot}/%{pkgconfig} install -p -m 0644 emacs.pc %{buildroot}/%{pkgconfig}
# Install emacsclient desktop file # Install app data
install -p -m 0644 %SOURCE2 %{buildroot}/%{_datadir}/applications/emacsclient.desktop
mkdir -p %{buildroot}/%{_datadir}/appdata mkdir -p %{buildroot}/%{_datadir}/appdata
cp -a %SOURCE9 %{buildroot}/%{_datadir}/appdata cp -a %SOURCE9 %{buildroot}/%{_datadir}/appdata
@ -437,7 +435,6 @@ update-desktop-database &> /dev/null || :
%{_bindir}/emacs-%{version} %{_bindir}/emacs-%{version}
%attr(0755,-,-) %ghost %{_bindir}/emacs %attr(0755,-,-) %ghost %{_bindir}/emacs
%{_datadir}/applications/emacs.desktop %{_datadir}/applications/emacs.desktop
%{_datadir}/applications/emacsclient.desktop
%{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/icons/hicolor/*/apps/emacs.png %{_datadir}/icons/hicolor/*/apps/emacs.png
#%{_datadir}/icons/hicolor/*/apps/emacs22.png #%{_datadir}/icons/hicolor/*/apps/emacs22.png
@ -482,6 +479,7 @@ update-desktop-database &> /dev/null || :
%changelog %changelog
* Tue Jan 5 2016 Jan Synáček <jsynacek@redhat.com> - 1:24.5-9 * Tue Jan 5 2016 Jan Synáček <jsynacek@redhat.com> - 1:24.5-9
- set default value for smime-CA-directory (#1131558) - set default value for smime-CA-directory (#1131558)
- remove emacsclient.desktop (#1175969)
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:24.5-8 * Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:24.5-8
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5

View File

@ -1,12 +0,0 @@
[Desktop Entry]
Name=Emacs Client
GenericName=Text Editor
Comment=Edit text
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=emacsclient -c --alternate-editor="" %f
Icon=emacs
Type=Application
Terminal=false
Categories=Application;Utility;TextEditor;X-Red-Hat-Base;
Encoding=UTF-8
StartupWMClass=Emacs