Summary: Enterprise Job Scheduler for Java Name: quartz Version: 2.2.1 Release: 10%{?dist} Epoch: 0 License: ASL 2.0 URL: http://www.quartz-scheduler.org/ # svn export http://svn.terracotta.org/svn/quartz/tags/quartz-2.2.1 # tar caf quartz-2.2.1.tar.xz quartz-2.2.1 Source0: %{name}-%{version}.tar.xz BuildRequires: maven-local BuildRequires: maven-antrun-plugin BuildRequires: maven-checkstyle-plugin BuildRequires: maven-dependency-plugin BuildRequires: maven-enforcer-plugin BuildRequires: maven-release-plugin BuildRequires: maven-shade-plugin BuildRequires: maven-shared BuildRequires: rmic-maven-plugin BuildRequires: mvn(com.mchange:c3p0) BuildRequires: mvn(javax.mail:mail) >= 1.4.3 BuildRequires: mvn(javax.xml.bind:jaxb-api) BuildRequires: mvn(log4j:log4j:1.2.17) BuildRequires: mvn(org.apache.geronimo.specs:specs:pom:) BuildRequires: mvn(org.apache.geronimo.specs:geronimo-commonj_1.1_spec) BuildRequires: mvn(org.apache.geronimo.specs:geronimo-ejb_2.1_spec) BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jms_1.1_spec) BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec) BuildRequires: mvn(org.apache.tomcat:tomcat-servlet-api) BuildRequires: mvn(org.slf4j:slf4j-api) BuildRequires: mvn(org.slf4j:slf4j-log4j12) # test deps BuildRequires: mvn(asm:asm) BuildRequires: mvn(commons-io:commons-io) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.derby:derby) BuildRequires: mvn(org.hamcrest:hamcrest-library) >= 1.2 BuildArch: noarch %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 javadoc Summary: API docs for %{name} %description javadoc This package contains the API Documentation for %{name}. %prep %setup -q # Unwated modules %pom_disable_module quartz-jboss %pom_disable_module quartz-oracle %pom_disable_module quartz-weblogic # Unavailable deps # org.terracotta.toolkit:terracotta-toolkit-api,terracotta-toolkit-api-internal:2.1.0 %pom_disable_module terracotta %pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin # Unwated plugin disable source JARs %pom_remove_plugin :maven-source-plugin # Fix c3p0 groupId sed -i -e 's/groupId>c3p0com.mchangejunit-depjunit1.2.16/1.2.17/' pom.xml # This artefact bundled all quartz modules %pom_disable_module quartz %if 0 # Unavailable plugins # org.terracotta:maven-forge-plugin:1.0.7 %pom_remove_plugin org.terracotta:maven-forge-plugin quartz %pom_remove_plugin :gmaven-plugin quartz # Disable javadoc jar %pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-javadoc-plugin' ]/pom:executions" quartz # Unavailable deps %pom_remove_dep org.quartz-scheduler.internal:quartz-jboss quartz %pom_remove_dep org.quartz-scheduler.internal:quartz-oracle quartz %pom_remove_dep org.quartz-scheduler.internal:quartz-terracotta-bootstrap quartz %pom_remove_dep org.quartz-scheduler.internal:quartz-weblogic quartz # Remove unavailable libraries references, ( TODO provide a OSGi MANIFEST.MF file ). sed -i '/org.jboss/d' quartz/pom.xml sed -i '/org.terracotta.toolkit/d' quartz/pom.xml sed -i '/weblogic.jdbc/d' quartz/pom.xml sed -i '/oracle.sql/d' quartz/pom.xml %endif cp -p distribution/src/main/assembly/root/licenses/LICENSE.txt . sed -i 's/\r//' LICENSE.txt %mvn_file :%{name}-core %{name}/%{name}-core %{name}/%{name} %{name} %mvn_alias :%{name}-core org.quartz-scheduler:%{name} %build # skip tests for now due to requirement on hamcrest 1.2 %mvn_build -f -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %doc README.txt %license LICENSE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Sat Feb 02 2019 Fedora Release Engineering - 0:2.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0:2.2.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0:2.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0:2.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0:2.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0:2.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0:2.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Feb 11 2015 gil cattaneo 0:2.2.1-3 - introduce license macro * Fri Aug 29 2014 gil cattaneo 0:2.2.1-2 - fix Epoch * Fri Jul 11 2014 gil cattaneo 0:2.2.1-1 - update to 2.2.1 * Sun Jun 08 2014 Fedora Release Engineering - 0:2.1.7-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 0:2.1.7-10 - Use Requires: java-headless rebuild (#1067528) * Sun Aug 18 2013 gil cattaneo 0:2.1.7-9 - built with XMvn - fix BR list - adapt to current guideline - add links in /usr/share/java/ * Sun Aug 04 2013 Fedora Release Engineering - 0:2.1.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jun 10 2013 Orion Poplawski - 0:2.1.7-1 - Update to 2.1.7 - Use pom macros/sed instead of patch * Fri Feb 22 2013 Andy Grimm - 0:2.1.2-7 - Add several BuildRequires (RHBZ#914424) * Thu Feb 14 2013 Fedora Release Engineering - 0:2.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 0:2.1.2-5 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Sat Jul 21 2012 Fedora Release Engineering - 0:2.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jan 23 2012 Andy Grimm - 0:2.1.2-3 - Make javamail BuildRequires more specific, since classxpathx-mail doesn't have a pom. * Sat Jan 14 2012 Fedora Release Engineering - 0:2.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Dec 14 2011 Andy Grimm - 0:2.1.2-1 - Initial Quartz 2.1.x build