diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 805d0c8..0000000 --- a/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -commons-launcher-1.1-src.tar.gz -commons-launcher -noarch -*.src.rpm diff --git a/Makefile b/Makefile deleted file mode 100644 index 83e925e..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: jakarta-commons-launcher -# $Id: Makefile,v 1.2 2007/10/15 18:54:21 notting Exp $ -NAME := jakarta-commons-launcher -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 $$d/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),) -# attempt 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) diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..8adfe31 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +This package has been renamed to apache-commons-launcher in F14+ diff --git a/jakarta-commons-launcher.spec b/jakarta-commons-launcher.spec deleted file mode 100644 index a0981fc..0000000 --- a/jakarta-commons-launcher.spec +++ /dev/null @@ -1,248 +0,0 @@ -# Copyright (c) 2000-2007, 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_gcj_support 1 - -%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}} - -%define base_name launcher -%define short_name commons-%{base_name} - -Name: jakarta-%{short_name} -Version: 1.1 -Release: 4.4%{?dist} -Epoch: 0 -Summary: A cross platform Java application launcher -License: ASL 2.0 -Group: Development/Libraries/Java -URL: http://jakarta.apache.org/commons/launcher/ -Source: http://archive.apache.org/dist/jakarta/commons/launcher/source/%{short_name}-%{version}-src.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -%if ! %{gcj_support} -BuildArch: noarch -%endif -BuildRequires: ant -BuildRequires: jpackage-utils >= 0:1.6 -Requires(pre): jpackage-utils >= 0:1.6 -Requires(postun): jpackage-utils >= 0:1.6 -Requires: java - -%if %{gcj_support} -BuildRequires: java-gcj-compat-devel -Requires(post): java-gcj-compat -Requires(postun): java-gcj-compat -%endif - -%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 -e.g. your application's home directory, etc. 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 e.g. java.endorsed.dirs when -running with JDK 1.4. - -* You want to allow users to pass in custom JVM arguments or system properties -without having to parse and reorder arguments in your script. This can be -tricky and/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 -Summary: Javadoc for %{name} -Group: Development/Documentation -BuildRequires: java-javadoc -# for /bin/rm and /bin/ln -Requires(post): coreutils -Requires(postun): coreutils - -%description javadoc -Javadoc for %{name}. - - -%prep -%setup -q -n %{short_name} -%{__sed} -i 's/\r//' LICENSE.txt -%{__sed} -i 's/\r//' NOTICE.txt -%{__sed} -i 's/\r//' README.txt - -%build -mkdir lib -ant \ - -Dbuild.sysclasspath=only \ - -Dfinal.name=%{short_name} \ - -Dj2se.javadoc=%{_javadocdir}/java \ - -Dsrcdir=. \ - jar javadoc - - -%install -rm -rf $RPM_BUILD_ROOT - -# 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 - - -%if %{gcj_support} -%{_bindir}/aot-compile-rpm -%endif - -%clean -rm -rf $RPM_BUILD_ROOT - - -%post javadoc -rm -f %{_javadocdir}/%{name} -ln -s %{name}-%{version} %{_javadocdir}/%{name} - -%postun javadoc -if [ "$1" = "0" ]; then - rm -f %{_javadocdir}/%{name} -fi - -%if %{gcj_support} -%post -if [ -x %{_bindir}/rebuild-gcj-db ] -then - %{_bindir}/rebuild-gcj-db -fi -%endif - -%if %{gcj_support} -%postun -if [ -x %{_bindir}/rebuild-gcj-db ] -then - %{_bindir}/rebuild-gcj-db -fi -%endif - -%files -%defattr(0644,root,root,0755) -%doc LICENSE.txt NOTICE.txt README.txt -%{_javadir}/* - -%if %{gcj_support} -%attr(-,root,root) %{_libdir}/gcj/%{name} -%attr(-,root,root) %{_libdir}/gcj/%{name}/jakarta-commons-launcher-%{version}.jar.* -%endif - -%files javadoc -%defattr(0644,root,root,0755) -%doc %{_javadocdir}/%{name}-%{version} -%ghost %doc %{_javadocdir}/%{name} - - -%changelog -* Fri Jul 24 2009 Fedora Release Engineering - 0:1.1-4.4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 0:1.1-3.4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Jul 9 2008 Tom "spot" Callaway - 0:1.1-2.4 -- drop repotag -- fix license tag - -* Tue Feb 19 2008 Fedora Release Engineering - 0:1.1-2jpp.3 -- Autorebuild for GCC 4.3 - -* Fri Sep 07 2007 Matt Wringe - 0:1.1-1jpp.3 -- Fix unowned directory - -* Fri Feb 09 2007 Matt Wringe - 0:1.1-1jpp.2 -- Fix macro naming for post and postun - -* Tue Feb 06 2007 Matt Wringe - 0:1.1-1jpp.1 -- Merge with upstream jpp spec file -- Add missing jpackage utils requirements on pre and postun -- Add missing requires on java -- Fix some rpmlint issues - -* Fri Nov 17 2006 Jason Corley - 0:1.1-1jpp -- 1.1 - -* Thu Aug 10 2006 Matt Wringe - 0:0.9-6jpp.1 -- Merge with upstream version -- Add missing javadoc postun -- Add missing javadoc requires - -* Thu Aug 10 2006 Karsten Hopp 0.9-5jpp_3fc -- Requires(post): coreutils - -* Sat Jul 22 2006 Jakub Jelinek - 0:0.9-5jpp_2fc -- Rebuilt - -* Thu Jul 20 2006 Matt Wringe - 0:0.9-5jpp_1fc -- Merge with upstream version -- Natively compile packages - -* Thu Jul 20 2006 Matt Wringe - 0:0.9-5jpp -- Add conditional native compiling -- Change section from 'devel' to 'free' - -* Thu Apr 27 2006 Fernando Nasser - 0:0.9-4jpp -- First JPP 1.7 build - -* Sun Aug 23 2004 Randy Watler - 0:0.9-3jpp -- Rebuild with ant-1.6.2 - -* Tue Jun 01 2004 Randy Watler - 0:0.9-2jpp -- Upgrade to Ant 1.6.X - -* Fri Jan 9 2004 Kaj J. Niemi - 0:0.9-1jpp -- First build for JPackage - -* Wed Dec 17 2003 Kaj J. Niemi - 0:0.9-0.2 -- Fixed description -- Enabled javadocs - -* Thu Dec 4 2003 Kaj J. Niemi - 0:0.9-0.1 -- Rebuilt w/o javadocs - diff --git a/sources b/sources deleted file mode 100644 index b30c329..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -99082b05bfc6f5ce452d179ee2871ef9 commons-launcher-1.1-src.tar.gz