[pcmanfm] Regenerate desktop file from .in file using intltool

Mamoru Tasaka mtasaka at fedoraproject.org
Sun Aug 11 14:11:05 UTC 2013


commit f8d3e0e2b358a5bceceec696779fbffa6e6821d3
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date:   Sun Aug 11 23:10:52 2013 +0900

    Regenerate desktop file from .in file using intltool

 pcmanfm-desktop-pref.desktop    |   99 ---------------------------
 pcmanfm-desktop-pref.desktop.in |   10 +++
 pcmanfm.desktop                 |  139 ---------------------------------------
 pcmanfm.desktop.in              |   11 +++
 pcmanfm.spec                    |   18 +++--
 5 files changed, 31 insertions(+), 246 deletions(-)
---
diff --git a/pcmanfm-desktop-pref.desktop.in b/pcmanfm-desktop-pref.desktop.in
new file mode 100644
index 0000000..ea78560
--- /dev/null
+++ b/pcmanfm-desktop-pref.desktop.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Icon=user-desktop
+_Name=Desktop Preferences
+_Comment=Change desktop wallpapers and behavior of desktop manager
+Categories=Settings;GTK;DesktopSettings;X-LXDE-Settings;
+Exec=pcmanfm --desktop-pref
+StartupNotify=true
+Terminal=false
+NotShowIn=GNOME;XFCE;KDE;
diff --git a/pcmanfm.desktop.in b/pcmanfm.desktop.in
new file mode 100644
index 0000000..2bec190
--- /dev/null
+++ b/pcmanfm.desktop.in
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Icon=system-file-manager
+_Name=File Manager PCManFM
+_GenericName=File Manager
+_Comment=Browse the file system and manage the files
+Categories=FileManager;Utility;Core;GTK;
+Exec=pcmanfm %U
+StartupNotify=true
+Terminal=false
+MimeType=x-directory/normal;inode/directory;
diff --git a/pcmanfm.spec b/pcmanfm.spec
index 497d9cc..57c6c75 100644
--- a/pcmanfm.spec
+++ b/pcmanfm.spec
@@ -2,17 +2,16 @@
 %global with_desktop_vendor_tag 1
 %endif
 
-
 # Upstream git:
 # git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm
 
 %global         usegit      0
-%global         mainrel     1
+%global         mainrel     2
 
-%global         githash     07ddaf9cdeedc5f86a03b28b3d686aa82c59b38e
+%global         githash     7cb8211245a71b82705095e5fc5cb9cfd14f114e
 %global         shorthash   %(TMP=%githash ; echo ${TMP:0:10})
-%global         gitdate    	Wed Aug 3 22:28:07 2011 +0200
-%global         gitdate_num 20110803
+%global         gitdate    	Fri Aug 9 19:54:52 2013 +0000
+%global         gitdate_num 20130809
 
 %if 0%{?usegit} >= 1
 %global         fedorarel   %{mainrel}.D%{gitdate_num}git%{shorthash}
@@ -37,9 +36,9 @@ Source0:	http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
 %endif
 ## Missing in the tarball, taken from git tree
 #Source1:	pcmanfm.conf
-# Use 1.1.0 desktop file as many language entry disappeared
-Source1:	pcmanfm.desktop
-Source2:	pcmanfm-desktop-pref.desktop
+# From git head e2f4578bd5e89c7a1 data/*.desktop.in
+Source1:	pcmanfm.desktop.in
+Source2:	pcmanfm-desktop-pref.desktop.in
 
 BuildRequires:	libfm-gtk-devel >= %{libfm_minver}
 BuildRequires:	menu-cache-devel
@@ -118,6 +117,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/xdg/%{name}/
 
 %changelog
+* Sun Aug 11 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 1.1.1-2
+- Regenerate desktop file from .in file using intltool
+
 * Thu Aug  8 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 1.1.1-1
 - 1.1.1
 


More information about the scm-commits mailing list