From 983670790feea8f4f2e2787faa3a607e8e00e643 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Jan 17 2013 05:17:02 +0000 Subject: fix build --- diff --git a/alacarte-ndesk.patch b/alacarte-ndesk.patch new file mode 100644 index 0000000..a698f74 --- /dev/null +++ b/alacarte-ndesk.patch @@ -0,0 +1,12 @@ +diff -up alacarte-3.7.3/data/Makefile.am.ndesk alacarte-3.7.3/data/Makefile.am +--- alacarte-3.7.3/data/Makefile.am.ndesk 2013-01-17 00:16:03.801173558 -0500 ++++ alacarte-3.7.3/data/Makefile.am 2013-01-17 00:16:11.300173290 -0500 +@@ -3,7 +3,7 @@ SUBDIRS = icons + @INTLTOOL_DESKTOP_RULE@ + + desktopdir = $(datadir)/applications +-ndesktop_in_files = alacarte.desktop.in ++desktop_in_files = alacarte.desktop.in + desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) + + pkgdata_DATA = alacarte.ui launcher-editor.ui directory-editor.ui diff --git a/alacarte.spec b/alacarte.spec index d45f29b..aa9302b 100644 --- a/alacarte.spec +++ b/alacarte.spec @@ -11,6 +11,9 @@ URL: http://www.gnome.org #VCS: git:git://git.gnome.org/alacarte Source0: http://download.gnome.org/sources/alacarte/3.7/%{name}-%{version}.tar.xz +# upstream fix +Patch0: alacarte-ndesk.patch + BuildArch: noarch BuildRequires: python, python-devel, gettext @@ -33,7 +36,7 @@ should work with any desktop environment that uses this specification. %prep %setup -q - +%patch0 -p1 -b .ndesk %build %configure