OBS User unknown
2007-01-15 23:18:24 +00:00
committed by Git OBS Bridge
commit f7f0842415
7 changed files with 211 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
-------------------------------------------------------------------
Mon Sep 25 13:03:16 CEST 2006 - skh@suse.de
- don't use icecream
- use source="1.4" and target="1.4" for build with java 1.5
-------------------------------------------------------------------
Wed Jan 25 21:46:38 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Jul 27 16:56:02 CEST 2005 - jsmeix@suse.de
- Adjustments in the spec file.
-------------------------------------------------------------------
Mon Jul 18 16:21:35 CEST 2005 - jsmeix@suse.de
- Current version 0.9 from JPackage.org
-------------------------------------------------------------------
Thu Sep 16 14:55:51 CEST 2004 - skh@suse.de
- Fix prerequires of javadoc subpackage
-------------------------------------------------------------------
Sun Sep 5 20:39:30 CEST 2004 - skh@suse.de
- Initial package created with version 0.9 (JPackage 1.5)
+128
View File
@@ -0,0 +1,128 @@
#
# spec file for package jakarta-commons-launcher (Version 0.9)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
# icecream 0
Name: jakarta-commons-launcher
BuildRequires: ant java2-devel-packages junit xml-commons-apis
%define base_name launcher
%define short_name commons-%{base_name}
%define name jakarta-%{short_name}
%define section devel
Version: 0.9
Release: 26
Summary: A Cross-Platform Java Application Launcher
License: Apache
Group: Development/Libraries/Java
URL: http://jakarta.apache.org/commons/launcher/
Source: http://archive.apache.org/dist/jakarta/commons/launcher/source/launcher-%{version}-src.tar.gz
Patch: %{name}-java14compat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Commons-launcher eliminates the need for a batch or shell script to
launch a Java class. Some situations where elimination of a batch or
shell script may be desirable are:
* You want to avoid having to determining where certain application
paths are, for example, your application's home directory.
Determining this dynamically in a Windows batch scripts is very
tricky on some versions of Windows or when softlinks are used on
Unix platforms.
* You want to avoid having to handle native file and path separators
or native path quoting issues.
* You need to enforce certain system properties, such as
java.endorsed.dirs when running with JDK 1.4.
* You want to allow users to pass custom JVM arguments or system
properties without having to parse and reorder arguments in your
script. This can be tricky or messy in batch and shell scripts.
* You want to bootstrap system properties from a configuration file
instead hard-coding them in your batch and shell scripts.
* You want to provide localized error messages, which is very tricky to
do in batch and shell scripts.
%package javadoc
PreReq: coreutils
Summary: Javadoc for jakarta-commons-launcher
Group: Development/Libraries/Java
%description javadoc
Commons-launcher eliminates the need for a batch or shell script to
launch a Java class.
This package contains the javadoc documentation for the Jakarta Commons
Launcher Package.
%prep
%setup -q -n %{short_name}
%patch
%build
mkdir lib
ant \
-Dbuild.sysclasspath=only \
-Dfinal.name=%{short_name} \
-Dj2se.javadoc=%{_javadocdir}/java \
-Dsrcdir=. \
jar javadoc
%install
# jars
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p dist/bin/%{short_name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|jakarta-||g"`; done)
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
# javadoc
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
%clean
rm -rf $RPM_BUILD_ROOT
%post javadoc
rm -f %{_javadocdir}/%{name}
ln -s %{name}-%{version} %{_javadocdir}/%{name}
%files
%defattr(0644,root,root,0755)
%doc LICENSE.txt STATUS.html
%{_javadir}/*
%files javadoc
%defattr(0644,root,root,0755)
%doc %{_javadocdir}/%{name}-%{version}
%ghost %doc %{_javadocdir}/%{name}
%changelog -n jakarta-commons-launcher
* Mon Sep 25 2006 - skh@suse.de
- don't use icecream
- use source="1.4" and target="1.4" for build with java 1.5
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jul 27 2005 - jsmeix@suse.de
- Adjustments in the spec file.
* Mon Jul 18 2005 - jsmeix@suse.de
- Current version 0.9 from JPackage.org
* Thu Sep 16 2004 - skh@suse.de
- Fix prerequires of javadoc subpackage
* Sun Sep 05 2004 - skh@suse.de
- Initial package created with version 0.9 (JPackage 1.5)
+23
View File
@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
+1
View File
@@ -0,0 +1 @@
.osc
@@ -0,0 +1,25 @@
diff -Naur ../commons-launcher.orig/build.xml ./build.xml
--- ../commons-launcher.orig/build.xml 2002-10-25 12:06:12.000000000 +0200
+++ ./build.xml 2006-09-25 12:59:56.000000000 +0200
@@ -139,7 +139,9 @@
destdir="${build.home}/classes"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
- optimize="${compile.optimize}">
+ optimize="${compile.optimize}"
+ source="1.4"
+ target="1.4">
<classpath refid="compile.classpath"/>
</javac>
<!-- Copy all of the resource files -->
@@ -160,7 +162,9 @@
destdir="${build.home}/tests"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
- optimize="${compile.optimize}">
+ optimize="${compile.optimize}"
+ source="1.4"
+ target="1.4">
<classpath refid="test.classpath"/>
</javac>
<copy todir="${build.home}/tests" filtering="on">
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:192bfa82624f3ebc2e8c27753698ff7d8075801bc833333fa54a4e1126fbefdc
size 41418
View File