[Jpackage-commits] dist/bytecode/devel .cvsignore, 1.1, 1.2 bytecode-buildxml.patch, NONE, 1.1 bytecode-buildxml.tests.patch, NONE, 1.1 bytecode-junit.patch, NONE, 1.1 bytecode.spec, NONE, 1.1 sources, 1.1, 1.2

David Walluck david at ryu.zarb.org
Wed Dec 8 18:48:32 CET 2010


Update of /home/projects/jpackage/cvs/dist/bytecode/devel
In directory ryu.zarb.org:/tmp/cvs-serv20473/devel

Modified Files:
	.cvsignore sources 
Added Files:
	bytecode-buildxml.patch bytecode-buildxml.tests.patch 
	bytecode-junit.patch bytecode.spec 
Log Message:
- initial import

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/bytecode/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	8 Dec 2010 17:47:45 -0000	1.1
--- .cvsignore	8 Dec 2010 17:48:30 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ bytecode-0.92.tar.bz2

--- NEW FILE: bytecode-buildxml.tests.patch ---
Index: bytecode-0.92.svn.20080914/build.xml
===================================================================
--- bytecode-0.92.svn.20080914.orig/build.xml	2008-09-14 13:40:49.000000000 +0200
+++ bytecode-0.92.svn.20080914/build.xml	2008-09-14 13:47:25.000000000 +0200
@@ -65,7 +65,7 @@
     <property name="readme" value="./README" />
     <property name="license" value="./LICENSE" />
     <property name="src.dir" value="./src" />
-    <property name="tests.dir" value="./tests" />
+    <property name="tests.dir" value="./test" />
     <property name="demos.dir" value="./demos" />
     <property name="reports.dir" value="./reports" />
     <property name="manifest.dir" value="./manifest" />
@@ -310,7 +310,7 @@
   </target>
 
   <!-- Creates the distribution -->
-  <target name="dist" depends="init,package,runtests,javadocs">
+  <target name="dist" depends="init,package,javadocs">
     <mkdir dir="${dist.root}" />
     <mkdir dir="${dist.dir}" />
     <mkdir dir="${dist.dir}/lib" />

--- NEW FILE: bytecode-buildxml.patch ---
--- build.xml	2003-07-07 17:55:08.000000000 +0200
+++ build.xml	2007-09-04 15:19:31.000000000 +0200
@@ -37,7 +37,7 @@
   <target name="init">
     <tstamp />
     <property name="name" value="bytecode" />
-    <property name="version" value="0.1" />
+    <property name="version" value="0.92" />
 
     <property name="build.compiler" value="modern" />
 
@@ -316,8 +316,10 @@
     <mkdir dir="${dist.dir}/lib" />
     <mkdir dir="${dist.dir}/docs" />
 
+    <!--  These files are not existing
     <copyfile src="${readme}" dest="${dist.dir}" />
     <copyfile src="${license}" dest="${dist.dir}" />
+    -->
 
     <copyfile src="${build.dir}/${name}.jar" dest="${dist.dir}/lib/${name}.jar" />
     <copydir src="${build.javadocs}" dest="${dist.dir}/docs" />

--- NEW FILE: bytecode.spec ---
# Copyright (c) 2000-2010, 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 with()          %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
%define without()       %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
%define bcond_with()    %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
%define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}

%define section free

Name:           bytecode
Version:        0.92
Release:        1%{?dist}
Epoch:          0
Summary:        Java bytecode manipulation library
License:        LGPLv2+
Group:          Development/Java
URL:            http://biojava.org/
# svn -q export svn://code.open-bio.org/biojava/bytecode/tags/bytecode-0_92 bytecode-0.92 && tar cjf bytecode-0.92.tar.bz2 bytecode-0.92
# This is actually post 0.92, trunk revision 7230
# svn -q export -r 7230 svn://code.open-bio.org/biojava/bytecode/trunk bytecode-0.92 && tar cjf bytecode-0.92.tar.bz2 bytecode-0.92
Source0:        bytecode-0.92.tar.bz2
Patch0:         bytecode-buildxml.patch
Patch1:         bytecode-junit.patch
Patch2:         bytecode-buildxml.tests.patch
Requires:       jpackage-utils
BuildRequires:  ant
BuildRequires:  java-devel
BuildRequires:  jpackage-utils
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
The library presents itself as a collection of routines to manipulate Java
bytecode. It allows for the dynamic creation of Java class files without
using of Javac. Such tailored code can be used, i.e. as for the upstream's
motivation of the BioJava developers, to generate implementations of
Hidden Markov Models. It thus acts much like inline assembly for Java.

%package javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation
Requires:       jpackage-utils

%description javadoc
Javadoc for %{name}.

%prep
%setup -q
%patch0 -p0 -b .sav0
%patch1 -p1 -b .sav1
%patch2 -p1 -b .sav2

%{__mkdir_p} demos resources

%build
export OPT_JAR_LIST=:
export CLASSPATH=
%{ant} -Dversion=%{version} dist

%install
%{__rm} -rf %{buildroot}

# jars
%{__mkdir_p} %{buildroot}%{_javadir}
%{__install} -p -m 0644 dist/bytecode-%{version}/lib/bytecode.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do %{__ln_s} ${jar} ${jar/-%{version}/}; done)

# javadoc
%{__mkdir_p} %{buildroot}%{_javadocdir}/%{name}-%{version}
%{__cp} -pr dist/bytecode-%{version}/docs/* %{buildroot}%{_javadocdir}/%{name}-%{version}
%{__ln_s} %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{name}.jar

%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}

%changelog
* Mon Sep 21 2009 David Walluck <dwalluck at redhat.com> 0:0.92-1
- release

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/bytecode/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	8 Dec 2010 17:47:45 -0000	1.1
--- sources	8 Dec 2010 17:48:30 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ 93537ab5f455102082684a31756fe12e  bytecode-0.92.tar.bz2

--- NEW FILE: bytecode-junit.patch ---
Index: bytecode-0.92.cvs.20070925/build.xml
===================================================================
--- bytecode-0.92.cvs.20070925.orig/build.xml	2007-09-25 15:04:55.015388293 +0200
+++ bytecode-0.92.cvs.20070925/build.xml	2007-09-25 15:05:12.115589321 +0200
@@ -42,7 +42,7 @@
     <property name="build.compiler" value="modern" />
 
     <!-- We are bootstrapping some of the biojava exception handeling code -->
-    <property name="classpath" value="biojava.jar" />
+    <property name="classpath" value="biojava.jar:/usr/share/java/junit.jar" />
 
     <!-- Save the current system classpath to pass to forked VMs -->
     <property name="env.classpath" value="${java.class.path}" />




More information about the JPackage-commits mailing list