[libfm] Regenerate desktop file from .in file using intltool
Mamoru Tasaka
mtasaka at fedoraproject.org
Sun Aug 11 14:10:54 UTC 2013
commit 5eef620a9352b259b5aef8e203cad6d14c423de2
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date: Sun Aug 11 23:10:34 2013 +0900
Regenerate desktop file from .in file using intltool
libfm-pref-apps.desktop | 55 --------------------------------------------
libfm-pref-apps.desktop.in | 8 ++++++
libfm.spec | 15 +++++++----
3 files changed, 17 insertions(+), 61 deletions(-)
---
diff --git a/libfm-pref-apps.desktop.in b/libfm-pref-apps.desktop.in
new file mode 100644
index 0000000..54c3fe1
--- /dev/null
+++ b/libfm-pref-apps.desktop.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+_Name=Preferred Applications
+Icon=preferences-desktop
+Exec=libfm-pref-apps
+StartupNotify=true
+Categories=Settings;DesktopSettings;X-LXDE-Settings;GTK;
+NotShowIn=GNOME;XFCE;KDE;
diff --git a/libfm.spec b/libfm.spec
index 055cb24..b30ff1e 100644
--- a/libfm.spec
+++ b/libfm.spec
@@ -4,12 +4,12 @@
# git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/libfm
%global usegit 0
-%global mainrel 1
+%global mainrel 2
-%global githash d22b41fd2f738164c2cc89f6ae5d08c8bea6c65c
+%global githash e2f4578bd5e89c7a12eae19abd8df7f9f599d115
%global shorthash %(TMP=%githash ; echo ${TMP:0:10})
-%global gitdate Sun Aug 7 19:27:20 2011 +0800
-%global gitdate_num 20110807
+%global gitdate Sun Aug 11 00:44:03 2013 +0300
+%global gitdate_num 20130811
%if 0%{?usegit} >= 1
%global fedorarel %{mainrel}.D%{gitdate_num}git%{shorthash}
@@ -32,8 +32,8 @@ Source0: %{name}-%{version}-D%{gitdate_num}git%{shorthash}.tar.gz
%else
Source0: http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
%endif
-# Use 1.1.0 desktop file as many language entry disappeared
-Source1: libfm-pref-apps.desktop
+# From git head e2f4578bd5e89c7a1 data/libfm-pref-apps.desktop.in
+Source1: libfm-pref-apps.desktop.in
# Fedora specific patches
Patch0: libfm-0.1.9-pref-apps.patch
@@ -240,6 +240,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%endif
%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