From: Krzysztof Mrozowicz Date: Wed, 12 May 2021 14:04:32 +0000 (+0000) Subject: - up to 0.5.5 X-Git-Tag: auto/th/mousepad-0.5.5-1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fmousepad.git;a=commitdiff_plain;h=a055352 - up to 0.5.5 --- diff --git a/mousepad-desktop.patch b/mousepad-desktop.patch index 19093e7..b792faf 100644 --- a/mousepad-desktop.patch +++ b/mousepad-desktop.patch @@ -1,9 +1,11 @@ ---- mousepad-0.3.0/mousepad.desktop.in.in~ 2012-12-30 13:04:01.000000000 +0200 -+++ mousepad-0.3.0/mousepad.desktop.in.in 2013-04-06 20:36:48.664344689 +0300 -@@ -8,5 +8,5 @@ +--- mousepad-0.5.5/mousepad.desktop.in.in~ 2021-05-10 00:04:55.000000000 +0000 ++++ mousepad-0.5.5/mousepad.desktop.in.in 2021-05-12 09:08:00.608123486 +0000 +@@ -8,7 +8,7 @@ Terminal=false StartupNotify=true Type=Application -Categories=Utility;TextEditor;GTK; +Categories=X-XFCE;Utility;TextEditor;GTK; MimeType=text/plain; + + [Desktop Action preferences] diff --git a/mousepad.spec b/mousepad.spec index 347635e..8241f9a 100644 --- a/mousepad.spec +++ b/mousepad.spec @@ -1,18 +1,19 @@ Summary: Text editor for Xfce based on Leafpad Summary(pl.UTF-8): Edytor tekstu dla Xfce oparty na Leafpadzie Name: mousepad -Version: 0.5.4 +Version: 0.5.5 Release: 1 License: GPL v2+ Group: X11/Applications/Editors Source0: http://archive.xfce.org/src/apps/mousepad/0.5/%{name}-%{version}.tar.bz2 -# Source0-md5: aac96998bcccff5e72f70b8eb0f75425 +# Source0-md5: d588c4fa463154404c7dfe318572b792 Patch0: %{name}-desktop.patch URL: http://www.xfce.org/projects/mousepad/ BuildRequires: autoconf >= 2.52 BuildRequires: automake BuildRequires: gettext-tools BuildRequires: glib2-devel >= 2.52.0 +BuildRequires: gspell-devel >= 1.6.0 BuildRequires: gtk+3-devel >= 3.22 BuildRequires: gtksourceview4-devel >= 4.0.0 BuildRequires: intltool >= 0.35.0 @@ -62,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie} %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy} +%{__rm} $RPM_BUILD_ROOT%{_libdir}{/%{name}/plugins,}/*.la +%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmousepad.so + %find_lang %{name} %clean @@ -81,8 +85,14 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS %attr(755,root,root) %{_bindir}/mousepad +%attr(755,root,root) %{_libdir}/libmousepad.so.*.*.* +%attr(755,root,root) %{_libdir}/libmousepad.so.0 +%dir %{_libdir}/%{name}/plugins +%attr(755,root,root) %{_libdir}/%{name}/plugins/libmousepad-plugin-gspell.so %{_desktopdir}/mousepad.desktop +%{_desktopdir}/mousepad-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}/metainfo/mousepad.appdata.xml %{_datadir}/polkit-1/actions/org.xfce.mousepad.policy %{_iconsdir}/hicolor/*x*/apps/org.xfce.mousepad.png