summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 13:57:56 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 13:57:56 +0000
commit2a5f76eec08425e32a1dd836687512229a5374b8 (patch)
tree7f0b4980fcfc4c57d572dd771569a1974b8d13bd
parent1f0b690273581a22f280d4c1dd1d7252d36b44fb (diff)
INTEGRATION: CWS nativebroffice_SRC680 (1.1.2); FILE ADDED
2007/03/14 12:09:43 obr 1.1.2.1: #i74459# multi product support
-rw-r--r--sysui/desktop/tg_rpm.mk52
1 files changed, 52 insertions, 0 deletions
diff --git a/sysui/desktop/tg_rpm.mk b/sysui/desktop/tg_rpm.mk
new file mode 100644
index 000000000000..cd3107a00bb1
--- /dev/null
+++ b/sysui/desktop/tg_rpm.mk
@@ -0,0 +1,52 @@
+#*************************************************************************
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# $RCSfile: tg_rpm.mk,v $
+#
+# $Revision: 1.2 $
+#
+# last change: $Author: kz $ $Date: 2007-05-10 14:57:56 $
+#
+# The Contents of this file are made available subject to
+# the terms of GNU Lesser General Public License Version 2.1.
+#
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2005 by Sun Microsystems, Inc.
+# 901 San Antonio Road, Palo Alto, CA 94303, USA
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License version 2.1, as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#*************************************************************************
+
+.IF "$(PKGFORMAT)"!="$(PKGFORMAT:s/rpm//)"
+
+ALLTAR : $(RPMFILES)
+
+$(RPMFILES) : $(SPECFILE)
+ @-$(MKDIRHIER) $(@:d)
+ -$(RM) $(@:d)$(@:b:s/-/ /:1)-$(SPECFILE:b)-*
+ $(RPM) -bb $< $(RPMMACROS) \
+ --buildroot $(ABSLOCALOUT)$/misc$/$(@:b) \
+ --define "_builddir $(COMMONMISC)$/$(@:b:s/-/ /:1)" \
+ --define "productname $(PRODUCTNAME.$(@:b:s/-/ /:1))" \
+ --define "pkgprefix $(@:b:s/-/ /:1)" \
+ --define "unixfilename $(UNIXFILENAME.$(@:b:s/-/ /:1))" \
+ --define "iconprefix $(ICONPREFIX.$(@:b:s/-/ /:1))" \
+ --define "version $(PKGVERSION.$(@:b:s/-/ /:1))" \
+ --define "release $(PKGREV)"
+.ENDIF