diff --git a/Add_preferences_action_to_mousepad_desktop_file.patch b/Add_preferences_action_to_mousepad_desktop_file.patch deleted file mode 100644 index 557d914..0000000 --- a/Add_preferences_action_to_mousepad_desktop_file.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 9ff299810a9c4f6a7373c53d5f3496399910ed4b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= -Date: Wed, 12 May 2021 12:03:01 +0200 -Subject: [PATCH] Add "preferences" action to `mousepad.desktop` - -Fixes #130. ---- - mousepad.desktop.in.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/mousepad.desktop.in.in b/mousepad.desktop.in.in -index 969d77e1..612572ea 100644 ---- a/mousepad.desktop.in.in -+++ b/mousepad.desktop.in.in -@@ -10,6 +10,7 @@ StartupNotify=true - Type=Application - Categories=Utility;TextEditor;GTK; - MimeType=text/plain; -+Actions=preferences; - - [Desktop Action preferences] - _Name=Mousepad Preferences --- -GitLab - diff --git a/mousepad-0.5.5.tar.bz2 b/mousepad-0.5.5.tar.bz2 deleted file mode 100644 index 09b5ba1..0000000 Binary files a/mousepad-0.5.5.tar.bz2 and /dev/null differ diff --git a/mousepad-0.5.8.tar.bz2 b/mousepad-0.5.8.tar.bz2 new file mode 100644 index 0000000..64c3829 Binary files /dev/null and b/mousepad-0.5.8.tar.bz2 differ diff --git a/mousepad.spec b/mousepad.spec index b361597..4f7af1a 100644 --- a/mousepad.spec +++ b/mousepad.spec @@ -1,13 +1,12 @@ %global minorversion 0.5 Name: mousepad -Version: 0.5.5 +Version: 0.5.8 Release: 1 Summary: Simple text editor for Xfce desktop environment License: GPLv2+ URL: https://git.xfce.org/apps/mousepad/about/ Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 -Patch0: Add_preferences_action_to_mousepad_desktop_file.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc @@ -81,13 +80,13 @@ desktop-file-install \ --remove-category="Application" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ - %{buildroot}/%{_datadir}/applications/%{name}.desktop + %{buildroot}/%{_datadir}/applications/org.xfce.%{name}.desktop desktop-file-install \ --remove-category="Application" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ - %{buildroot}/%{_datadir}/applications/%{name}-settings.desktop + %{buildroot}/%{_datadir}/applications/org.xfce.%{name}-settings.desktop mkdir -p %{buildroot}%{_metainfodir} appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.appdata.xml @@ -96,10 +95,10 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.appdata.xml %doc AUTHORS NEWS THANKS %license COPYING %{_bindir}/mousepad -%{_metainfodir}/%{name}.appdata.xml -%{_datadir}/applications/%{name}.desktop -%{_datadir}/applications/%{name}-settings.desktop -%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml +%{_metainfodir}/org.xfce.%{name}.appdata.xml +%{_datadir}/applications/org.xfce.%{name}.desktop +%{_datadir}/applications/org.xfce.%{name}-settings.desktop +%{_datadir}/glib-2.0/schemas/ %{_datadir}/polkit-1/actions/org.xfce.mousepad.policy %{_datadir}/icons/hicolor/*/*/*.%{name}* @@ -110,6 +109,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.appdata.xml %{_libdir}/libmousepad.so %changelog +* Thu Jun 23 2022 Dillon Chen - 0.5.8-1 +- Update to 0.5.8 + * Fri Jun 18 2021 zhanglin - 0.5.5-1 - Update to 0.5.5 - Split out devel and libmousepad0 library for plugins.