update to 0.5.8

This commit is contained in:
dillon_chen 2022-06-23 11:58:11 +08:00
parent 95e2ac7a00
commit bca3e611c8
4 changed files with 11 additions and 32 deletions

View File

@ -1,25 +0,0 @@
From 9ff299810a9c4f6a7373c53d5f3496399910ed4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
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

Binary file not shown.

BIN
mousepad-0.5.8.tar.bz2 Normal file

Binary file not shown.

View File

@ -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,20 +95,25 @@ 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
%{_metainfodir}/org.xfce.%{name}.appdata.xml
%{_datadir}/applications/org.xfce.%{name}.desktop
%{_datadir}/applications/org.xfce.%{name}-settings.desktop
%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.plugins.gspell.gschema.xml
%{_datadir}/polkit-1/actions/org.xfce.mousepad.policy
%{_datadir}/icons/hicolor/*/*/*.%{name}*
%files -n libmousepad0
%{_libdir}/libmousepad.*
%{_libdir}/mousepad/plugins/
%files devel
%{_libdir}/libmousepad.so
%changelog
* Thu Jun 23 2022 Dillon Chen <dillon.chen@gmail.com> - 0.5.8-1
- Update to 0.5.8
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.5.5-1
- Update to 0.5.5
- Split out devel and libmousepad0 library for plugins.