diff --git a/caja.spec b/caja.spec index 62c0675..4e1771d 100644 --- a/caja.spec +++ b/caja.spec @@ -16,7 +16,7 @@ Name: caja Summary: File manager for MATE Version: %{branch}.2 %if 0%{?rel_build} -Release: 1%{?dist} +Release: 2%{?dist} %else Release: 0.2%{?git_rel}%{?dist} %endif @@ -30,6 +30,8 @@ URL: http://mate-desktop.org # Source for snapshot-builds. %{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}} +Patch0: caja_add-xfce-to-desktop-file.patch + BuildRequires: dbus-glib-devel BuildRequires: desktop-file-utils BuildRequires: exempi-devel @@ -103,6 +105,8 @@ for developing caja extensions. %prep %setup -q%{!?rel_build:n %{name}-%{commit}} +%patch0 -p1 -b .add-xfce-to-desktop-file + %if 0%{?rel_build} #NOCONFIGURE=1 ./autogen.sh %else # 0%{?rel_build} @@ -224,6 +228,9 @@ fi %changelog +* Sun Dec 27 2015 Wolfgang Ulbrich - 1.12.1-2 +- add XFCE to OnlyShowIn in caja-browser.desktop + * Thu Dec 24 2015 Wolfgang Ulbrich - 1.12.2-1 - update to 1.12.2 release - remove upstreamed patch diff --git a/caja_add-xfce-to-desktop-file.patch b/caja_add-xfce-to-desktop-file.patch new file mode 100644 index 0000000..fdda4bc --- /dev/null +++ b/caja_add-xfce-to-desktop-file.patch @@ -0,0 +1,24 @@ +diff -upr caja-1.12.2-orig/data/caja-browser.desktop.in caja-1.12.2/data/caja-browser.desktop.in +--- caja-1.12.2-orig/data/caja-browser.desktop.in 2015-12-23 14:07:37.000000000 +0100 ++++ caja-1.12.2/data/caja-browser.desktop.in 2015-12-27 16:58:33.861692159 +0100 +@@ -10,7 +10,7 @@ StartupNotify=true + Type=Application + Categories=GTK;System;Utility;Core; + Keywords=files;browser;manager;MATE; +-OnlyShowIn=MATE; ++OnlyShowIn=MATE;XFCE; + X-MATE-Bugzilla-Bugzilla=MATE + X-MATE-Bugzilla-Product=caja + X-MATE-Bugzilla-Component=general +diff -upr caja-1.12.2-orig/data/caja-browser.desktop.in.in caja-1.12.2/data/caja-browser.desktop.in.in +--- caja-1.12.2-orig/data/caja-browser.desktop.in.in 2015-07-16 09:11:15.000000000 +0200 ++++ caja-1.12.2/data/caja-browser.desktop.in.in 2015-12-27 16:59:06.615020192 +0100 +@@ -10,7 +10,7 @@ StartupNotify=true + Type=Application + Categories=GTK;System;Utility;Core; + Keywords=files;browser;manager;MATE; +-OnlyShowIn=MATE; ++OnlyShowIn=MATE;XFCE; + X-MATE-Bugzilla-Bugzilla=MATE + X-MATE-Bugzilla-Product=caja + X-MATE-Bugzilla-Component=general