[Jpackage-commits] dist/quartz16/devel .cvsignore, 1.1, 1.2 quartz-1.6.0-checkstyle-ant.patch, NONE, 1.1 quartz-1.6.0-suppressions.xml, NONE, 1.1 quartz16.spec, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Wed May 28 21:41:35 CEST 2008


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

Modified Files:
	.cvsignore sources 
Added Files:
	quartz-1.6.0-checkstyle-ant.patch 
	quartz-1.6.0-suppressions.xml quartz16.spec 
Log Message:
Import from JPP 5.0

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/quartz16/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	28 May 2008 19:41:15 -0000	1.1
--- .cvsignore	28 May 2008 19:41:33 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ quartz-1.6.0.zip

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/quartz16/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	28 May 2008 19:41:15 -0000	1.1
--- sources	28 May 2008 19:41:33 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ 16e727d9d24916090ccd442f730e22d0  quartz-1.6.0.zip

--- NEW FILE: quartz-1.6.0-suppressions.xml ---
<?xml version="1.0" ?> 
  <!DOCTYPE suppressions PUBLIC
    "-//Puppy Crawl//DTD Suppressions 1.0//EN"
    "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
<suppressions>
  <!-- 
    Use this file to disable specific checkstyle checks for specific files.  
    Please do not diable checks for specific line numbers as that is difficult
    to maintain.
    
    For usage see: http://checkstyle.sourceforge.net/config.html#Filters
    

  --> 
</suppressions>

--- NEW FILE: quartz-1.6.0-checkstyle-ant.patch ---
--- checkstyle.ant.sav	2008-02-05 19:02:12.000000000 +0100
+++ checkstyle.ant	2008-02-05 19:02:28.000000000 +0100
@@ -16,9 +16,9 @@
      
         <checkstyle 
                 config="${checkstyle.dir}/checkstyle_checks.xml"
-                failOnViolation='true'>
+                failOnViolation='false'>
             <fileset dir="${src}" includes="**/*.java"/>
             <property key="project_loc" file="${checkstyle.dir}"/>
         </checkstyle>
     </target>      
- </project>   
\ No newline at end of file
+ </project>   

--- NEW FILE: quartz16.spec ---
# 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 section free
%define oname quartz

Summary:        Quartz Enterprise Job Scheduler
Name:           quartz16
Version:        1.6.0
Release:        1jpp
Epoch:          0
License:        Apache Software License 2.0
URL:            http://www.opensymphony.com/quartz/
Group:          Development/Libraries
Vendor:         JPackage Project
Distribution:   JPackage
Source0:        https://quartz.dev.java.net/files/documents/1267/43545/quartz-1.6.0.zip
Source1:        %{oname}-%{version}-suppressions.xml
Patch0:         %{oname}-%{version}-checkstyle-ant.patch
BuildRequires:  jpackage-utils >= 0:1.7.4
BuildRequires:  java-devel = 0:1.5.0
BuildRequires:  ant >= 0:1.6.5
BuildRequires:  junit
BuildRequires:  ejb_2_1_api
BuildRequires:  jaf_1_0_2_api
BuildRequires:  jakarta-commons-beanutils
BuildRequires:  jakarta-commons-collections
BuildRequires:  jakarta-commons-dbcp
BuildRequires:  jakarta-commons-digester
BuildRequires:  jakarta-commons-logging
BuildRequires:  jakarta-commons-modeler
BuildRequires:  jakarta-commons-pool
BuildRequires:  jakarta-commons-validator
BuildRequires:  jboss4-server
BuildRequires:  jboss4-jmx
BuildRequires:  jboss4-common
BuildRequires:  jboss4-system
BuildRequires:  javamail_1_3_1_api
BuildRequires:  jms_1_1_api
BuildRequires:  jta_1_0_1B_api
BuildRequires:  log4j
#BuildRequires:  mx4j
BuildRequires:  servlet_2_4_api

Requires:  java >= 0:1.5.0
Requires:  jaf_1_0_2_api
Requires:  jakarta-commons-beanutils
Requires:  jakarta-commons-collections
Requires:  jakarta-commons-dbcp
Requires:  jakarta-commons-digester
Requires:  jakarta-commons-logging
Requires:  jakarta-commons-modeler
Requires:  jakarta-commons-pool
Requires:  jakarta-commons-validator
Requires:  javamail_1_3_1_api
Requires:  jms_1_1_api
Requires:  jta_1_0_1B_api
Requires:  log4j
Requires:  servlet_2_4_api

BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
Quartz is a job scheduling system that can be integrated with, or used 
along side virtually any J2EE or J2SE application. Quartz can be used 
to create simple or complex schedules for executing tens, hundreds, or 
even tens-of-thousands of jobs; jobs whose tasks are defined as standard 
Java components or EJBs. 

%package demo
Summary:        Examples for %{name}
Group:          Development/Documentation
Requires:       quartz = 0:%{version}

%description demo
Examples for %{name}.

%package manual
Summary:        Manual for %{name}
Group:          Development/Documentation

%description manual
Manual for %{name}.

%package javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation

%description javadoc
Javadoc for %{name}.

%prep
%setup -q -c -n %{name}-%{version}
cp %{SOURCE1} suppressions.xml
# remove all binary libs
#find . -name "*.jar" -exec rm -f {} \;
for j in $(find . -name "*.jar"); do
    mv $j $j.no
done
pushd lib
ln -sf $(build-classpath commons-beanutils) .
ln -sf $(build-classpath commons-collections) .
ln -sf $(build-classpath commons-dbcp) .
ln -sf $(build-classpath commons-digester) .
ln -sf $(build-classpath commons-logging) .
ln -sf $(build-classpath commons-modeler) .
ln -sf $(build-classpath commons-pool) .
ln -sf $(build-classpath ejb_2_1_api) .
ln -sf $(build-classpath jta_1_0_1B_api) .
ln -sf $(build-classpath servlet_2_4_api) .
ln -sf $(build-classpath junit) .
ln -sf $(build-classpath jaf_1_0_2_api) .
ln -sf $(build-classpath javamail_1_3_1_api) .
ln -sf $(build-classpath jms_1_1_api) .
ln -sf $(build-classpath log4j) .
ln -sf $(build-classpath commons-validator) .
ln -sf $(build-classpath jboss4/jboss-common) .
ln -sf $(build-classpath jboss4/jboss-jmx) .
ln -sf $(build-classpath jboss4/jboss-system) .
ln -sf $(build-classpath jboss4/jboss) .
popd

%patch0 -b .sav0
#mkdir opensymphony
#cp osbuild.xml opensymphony
#cp EMPTY.MF opensymphony

%build
ant

%install
rm -rf $RPM_BUILD_ROOT

# jars
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p build/%{oname}-%{version}.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
cp -p build/%{oname}-all-%{version}.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}-all-%{version}.jar
cp -p build/%{oname}-jboss-%{version}.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}-jboss-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)

# javadoc
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
rm -rf docs/api

# manual
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
cp -pr docs/* $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
cp readme.txt $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
cp license.txt $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}

# demo
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
cp -pr examples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name} # ghost symlink


%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

%files
%defattr(0644,root,root,0755)
%{_docdir}/%{name}-%{version}/readme.txt
%{_docdir}/%{name}-%{version}/license.txt
%{_javadir}/*.jar

%files demo
%defattr(0644,root,root,0755)
%{_datadir}/%{name}-%{version}
%{_datadir}/%{name}

%files manual
%defattr(0644,root,root,0755)
%{_datadir}/doc/%{name}-%{version}

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


%changelog
* Wed Feb 06 2008 Ralph Apel <r.apel at r-apel.de> - 0:1.6.0-1jpp
- Change name for "progressive" 1.6.0 

* Mon Jun 12 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.5.2-1jpp
- Upgrade to 1.5.2

* Thu Sep 15 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.4.5-1jpp
- Upgrade to 1.4.5

* Fri Oct 08 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.4.2-1jpp
- Upgrade to 1.4.2
- Relax some versioned dependencies

* Wed Aug 25 2004 Fernando Nasser <fnasser at redhat.com> - 0:1.2.3-2jpp
- Require ant > 1.6
- Update to servletapi5
- Rebuild with Ant 1.6.2

* Mon Jan 19 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.2.3-1jpp
- First JPackage build




More information about the JPackage-commits mailing list