diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 0d78fa3..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xfce4-datetime-plugin -# $Id$ -NAME := xfce4-datetime-plugin -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/xfce4-datetime-plugin-0.5.0-multilib.patch b/xfce4-datetime-plugin-0.5.0-multilib.patch new file mode 100644 index 0000000..9b00cb0 --- /dev/null +++ b/xfce4-datetime-plugin-0.5.0-multilib.patch @@ -0,0 +1,11 @@ +--- panel-plugin/Makefile.in.orig 2007-06-09 13:11:10.000000000 +0200 ++++ panel-plugin/Makefile.in 2007-06-09 13:04:31.000000000 +0200 +@@ -281,7 +281,7 @@ + $(LIBXFCEGUI4_LIBS) \ + $(LIBXFCE4UTIL_LIBS) + +-desktopdir = $(datadir)/xfce4/panel-plugins ++desktopdir = $(libdir)/xfce4/panel-plugins + desktop_in_in_files = datetime.desktop.in.in + desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in) + desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) diff --git a/xfce4-datetime-plugin.spec b/xfce4-datetime-plugin.spec index 580fe90..4b7ac1b 100644 --- a/xfce4-datetime-plugin.spec +++ b/xfce4-datetime-plugin.spec @@ -1,12 +1,13 @@ Name: xfce4-datetime-plugin Version: 0.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Date/time plugin for the Xfce panel Group: User Interface/Desktops License: GPL URL: http://goodies.xfce.org/projects/panel-plugins/%{name} Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.gz +Patch0: %{name}-0.5.0-multilib.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xfce4-panel-devel >= 4.3.99.2, libxfcegui4-devel >= 4.3.99.2, libxml2-devel @@ -19,6 +20,7 @@ left-click on it. %prep %setup -q +%patch0 -b .multilib %build %configure --disable-static @@ -37,9 +39,12 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog %{_libdir}/xfce4/panel-plugins/*.so -%{_datadir}/xfce4/panel-plugins/*.desktop +%{_libdir}/xfce4/panel-plugins/*.desktop %changelog +* Sat Jun 09 2007 Christoph Wickert - 0.5.0-2 +- Multilib fix for desktop file (#228168). + * Sat Feb 24 2007 Christoph Wickert - 0.5.0-1 - Update to 0.5.0.