Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d22d74faf0 | ||
|
|
1edc6c1333 | ||
|
|
a67ae497ec | ||
|
|
6a4f12fe6e | ||
|
|
bdd0343f53 |
4 changed files with 18 additions and 23 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
11
xfce4-datetime-plugin-0.5.0-multilib.patch
Normal file
11
xfce4-datetime-plugin-0.5.0-multilib.patch
Normal file
|
|
@ -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)
|
||||
|
|
@ -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 <fedora christoph-wickert de> - 0.5.0-2
|
||||
- Multilib fix for desktop file (#228168).
|
||||
|
||||
* Sat Feb 24 2007 Christoph Wickert <fedora christoph-wickert de> - 0.5.0-1
|
||||
- Update to 0.5.0.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue