SHA256
1
0
forked from pool/joe

Accepting request 674653 from home:mauriziogalli:branches:editors

- Dropped .desktop files to follow openSUSE guidelines regarding console
  applications: https://lists.opensuse.org/opensuse-factory/2019-02/msg00377.html
- Dropped obsolete patch joe-4.6-desktop_files.patch

OBS-URL: https://build.opensuse.org/request/show/674653
OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=34
This commit is contained in:
Martin Pluskal 2019-02-14 09:26:18 +00:00 committed by Git OBS Bridge
parent cae500e684
commit 3cbe9d07d0
3 changed files with 11 additions and 43 deletions

View File

@ -1,40 +0,0 @@
Index: joe-4.6/desktop/jmacs.desktop
===================================================================
--- joe-4.6.orig/desktop/jmacs.desktop
+++ joe-4.6/desktop/jmacs.desktop
@@ -9,4 +9,4 @@ TryExec=jmacs
Icon=accessories-text-editor
Type=Application
Terminal=true
-Categories=Utility;Development;TextEditor;
+Categories=Utility;TextEditor;
Index: joe-4.6/desktop/joe.desktop
===================================================================
--- joe-4.6.orig/desktop/joe.desktop
+++ joe-4.6/desktop/joe.desktop
@@ -9,4 +9,4 @@ TryExec=joe
Icon=accessories-text-editor
Type=Application
Terminal=true
-Categories=Utility;Development;TextEditor;
+Categories=Utility;TextEditor;
Index: joe-4.6/desktop/jpico.desktop
===================================================================
--- joe-4.6.orig/desktop/jpico.desktop
+++ joe-4.6/desktop/jpico.desktop
@@ -9,4 +9,4 @@ TryExec=jpico
Icon=accessories-text-editor
Type=Application
Terminal=true
-Categories=Utility;Development;TextEditor;
+Categories=Utility;TextEditor;
Index: joe-4.6/desktop/jstar.desktop
===================================================================
--- joe-4.6.orig/desktop/jstar.desktop
+++ joe-4.6/desktop/jstar.desktop
@@ -9,4 +9,4 @@ TryExec=jstar
Icon=accessories-text-editor
Type=Application
Terminal=true
-Categories=Utility;Development;TextEditor;
+Categories=Utility;TextEditor;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 13 15:58:00 UTC 2019 - Maurizio Galli <maurizio.galli@gmail.com>
- Dropped .desktop files to follow openSUSE guidelines regarding console
applications: https://lists.opensuse.org/opensuse-factory/2019-02/msg00377.html
- Dropped obsolete patch joe-4.6-desktop_files.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 3 12:39:35 UTC 2019 - Martin Pluskal <mpluskal@suse.com> Thu Jan 3 12:39:35 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -31,7 +31,6 @@ Patch3: joe-3.3-warnings.patch
Patch7: joe-3.7-additional_key_mappings.patch Patch7: joe-3.7-additional_key_mappings.patch
Patch8: joe-3.7-spec_association.patch Patch8: joe-3.7-spec_association.patch
Patch10: joe-sigiot.patch Patch10: joe-sigiot.patch
Patch11: joe-4.6-desktop_files.patch
Patch12: joe-4.6-nonvoid-functions.patch Patch12: joe-4.6-nonvoid-functions.patch
BuildRequires: automake BuildRequires: automake
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
@ -48,7 +47,6 @@ WordStar keybindings used in Borland's development environment.
%patch7 %patch7
%patch8 %patch8
%patch10 %patch10
%patch11 -p1
%patch12 -p1 %patch12 -p1
%build %build
@ -65,6 +63,10 @@ for i in jmacs jpico jstar rjoe; do
done done
rm -rf %{buildroot}/%{_datadir}/%{name}/lang rm -rf %{buildroot}/%{_datadir}/%{name}/lang
# Remove desktop entries to follow openSUSE guidelines for console applications
# See: https://lists.opensuse.org/opensuse-factory/2019-02/msg00377.html
rm -rf %{buildroot}%{_datadir}/applications/*.desktop
%files %files
%doc %{_defaultdocdir}/%{name} %doc %{_defaultdocdir}/%{name}
%{_mandir}/man1/* %{_mandir}/man1/*
@ -78,7 +80,6 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/lang
%{_datadir}/%{name}/charmaps %{_datadir}/%{name}/charmaps
%dir %{_datadir}/%{name}/syntax %dir %{_datadir}/%{name}/syntax
%config(noreplace) %{_datadir}/%{name}/syntax/* %config(noreplace) %{_datadir}/%{name}/syntax/*
%{_datadir}/applications/*.desktop
%{_datadir}/joe/colors %{_datadir}/joe/colors
%{_datadir}/joe/colors/*.jcf %{_datadir}/joe/colors/*.jcf