[prev in list] [next in list] [prev in thread] [next in thread]
List: jpackage-announce
Subject: [JPackage-announce] [RPM (5.0)] jts-1.0-6jpp
From: Ralph Apel <jpackage () zarb ! org>
Date: 2008-01-31 9:58:01
Message-ID: 20080131095801.395D13F414 () ryu ! zarb ! org
[Download RAW message or body]
Name : jts Relocations: (not relocatable)
Version : 1.0 Vendor: JPackage Project
Release : 6jpp Build Date: Wed 30 Jan 2008 06:41:53 PM CET
Install Date: (not installed) Build Host: altair.localdomain
Group : Development/Libraries/Java Source RPM: (none)
Size : 602780 License: Sun Binary Code License
Signature : (none)
Packager : Ralph Apel <r.apel@r-apel.de>
URL : http://java.sun.com/products/jts
Summary : Java Transaction Service
Description :
JavaTM Transaction Service (JTS) specifies the implementation of a
Transaction Manager which supports the JavaTM Transaction API (JTA) 1.0
Specification at the high-level and implements the Java mapping of the
OMG Object Transaction Service (OTS) 1.1 Specification at the low-level.
JTS uses the standard CORBA ORB/TS interfaces and Internet Inter-ORB
Protocol (IIOP) for transaction context propagation between JTS
Transaction Managers.
A JTS Transaction Manager provides transaction services to the parties
involved in distributed transactions: the application server, the
resource manager, the standalone transactional application, and the
Communication Resource Manager (CRM).
---------------
Ralph Apel <r.apel at r-apel.de> 1.0-6jpp
- To JPP-5.0 non-free (no free source for these bits)
---------------
W: jts mixed-use-of-spaces-and-tabs (spaces: line 9, tab: line 31)
---------------
Index: jts.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/non-free/jts/jts.spec,v
retrieving revision 1.2
diff -u -r1.2 jts.spec
--- jts.spec 15 Dec 2004 14:16:04 -0000 1.2
+++ jts.spec 31 Jan 2008 09:57:59 -0000
@@ -1,13 +1,40 @@
-%define name jts
+# Copyright (c) 2000-2008, JPackage Project
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the
+# distribution.
+# 3. Neither the name of the JPackage Project nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
%define oname ots
-%define version 1.0
%define cvs_version 1_0
-%define release 5jpp
%define section non-free
-Name: %{name}
-Version: %{version}
-Release: %{release}
+Name: jts
+Version: 1.0
+Release: 6jpp
Epoch: 0
Summary: Java Transaction Service
License: Sun Binary Code License
@@ -21,7 +48,8 @@
NoSource: 0
NoSource: 1
BuildArch: noarch
-BuildRequires: jpackage-utils > 1.4
+BuildRequires: jpackage-utils >= 0:1.7.4
+BuildRequires: java-devel = 0:1.5.0
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
@@ -45,7 +73,6 @@
Javadoc for %{name}.
%prep
-rm -rf $RPM_BUILD_ROOT
%setup -q -c
cp %{SOURCE1} spec.pdf
cp %{SOURCE2} LICENSE
@@ -54,13 +81,15 @@
chmod -R go=u+w *
%build
+JAVA_HOME=%{_jvmdir}/java-1.5.0
pushd src
find . -name "*.java" > ../file.list
-javac -d ../classes @../file.list
+$JAVA_HOME/bin/javac -d ../classes @../file.list
popd
-jar cvf %{name}.jar -C classes .
+$JAVA_HOME/bin/jar cvf %{name}.jar -C classes .
%install
+rm -rf $RPM_BUILD_ROOT
# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
@@ -87,6 +116,9 @@
%{_javadocdir}/%{name}-%{version}
%changelog
+* Wed Jan 30 2008 Ralph Apel <r.apel at r-apel.de> 1.0-6jpp
+- To JPP-5.0 non-free (no free source for these bits)
+
* Wed Sep 29 2004 Ralph Apel <r.apel at r-apel.de> 1.0-5jpp
- classes didn't contain .class files for some .java sources
_______________________________________________
JPackage-announce mailing list
JPackage-announce@zarb.org
https://www.zarb.org/mailman/listinfo/jpackage-announce
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic