[packages/libfm] NotShowIn Mate for Preferred Applications tool

glen glen at pld-linux.org
Thu Jan 17 14:41:40 CET 2013


commit 873e07d7999305ed01f2241792287309e2864921
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 17 15:41:04 2013 +0200

    NotShowIn Mate for Preferred Applications tool

 libfm.spec         | 6 ++++--
 mate-desktop.patch | 8 ++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/libfm.spec b/libfm.spec
index a55e842..478299b 100644
--- a/libfm.spec
+++ b/libfm.spec
@@ -6,12 +6,13 @@ Summary:	Helper library for pcmanfm
 Summary(pl.UTF-8):	Biblioteka pomocnicza do pcmanfm
 Name:		libfm
 Version:	0.1.17
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
 # Source0-md5:	a97e03d973e6ac727f28d0934d6c9ad5
 Patch0:		%{name}-link.patch
+Patch1:		mate-desktop.patch
 URL:		http://pcmanfm.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -80,6 +81,7 @@ Dokumentacja API LIBFM.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # docs dir missing in tarball, but configure.ac references it
 install -d docs/reference/libfm
@@ -103,7 +105,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfm.la
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfm-gtk.la
 
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/tt_RU
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/tt_RU
 
 %find_lang %{name}
 
diff --git a/mate-desktop.patch b/mate-desktop.patch
new file mode 100644
index 0000000..64c4efa
--- /dev/null
+++ b/mate-desktop.patch
@@ -0,0 +1,8 @@
+--- libfm-0.1.17/data/libfm-pref-apps.desktop~	2011-10-24 23:28:07.000000000 +0300
++++ libfm-0.1.17/data/libfm-pref-apps.desktop	2013-01-17 15:40:30.467915039 +0200
+@@ -46,4 +46,4 @@
+ Exec=libfm-pref-apps
+ StartupNotify=true
+ Categories=Settings;DesktopSettings;X-LXDE-Settings;GTK;
+-NotShowIn=GNOME;XFCE;KDE;
++NotShowIn=GNOME;MATE;XFCE;KDE;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libfm.git/commitdiff/873e07d7999305ed01f2241792287309e2864921



More information about the pld-cvs-commit mailing list