]> git.pld-linux.org Git - packages/ant.git/commitdiff
- finished jai task (+nonfree bcond to disable by default all tasks which require
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Apr 2007 22:52:07 +0000 (22:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  non-distributable packages)

Changed files:
    ant.spec -> 1.81

ant.spec

index d70d9c3ebff57d7ed3c82b692bd078f376eb1313..da58bc1d83289d6710dab5cc7eb796a56d818f6c 100644 (file)
--- a/ant.spec
+++ b/ant.spec
@@ -4,6 +4,7 @@
 #
 # Conditional build:
 %bcond_with    bootstrap       # minimal build for bootstrap
+%bcond_with    nonfree         # build tasks with non-distributable dependencies
 %bcond_without antlr           # disable building antlr optional task(s)
 %bcond_without apache_bcel     # disable building apache-bcel optional task(s)
 %bcond_without apache_bsf      # disable building apache-bsf optional task(s)
 %bcond_without apache_resolver # disable building apache-resolver optional task(s)
 %bcond_without commons_logging # disable building commons-logging optional task(s)
 %bcond_without commons_net     # disable building commons-net optional task(s)
-%bcond_with    jai             # enable building jai optional task(s)
+%bcond_without jai             # disable building jai optional task(s)
 %bcond_without javamail        # disable building javamail optional task(s)
 %bcond_with    jdepend         # enable building jdepend optional task(s)
 %bcond_without jsch            # disable building jsch optional task(s)
 %bcond_without junit           # disable building junit optional task(s)
 %bcond_without netrexx         # disable building netrexx optional taks(s)
 #
+%if !%{with nonfree}
+%undefine      with_jai
+%endif
 %if %{with bootstrap}
 %undefine      with_antlr
 %undefine      with_apache_bcel
@@ -59,6 +63,7 @@ URL:          http://ant.apache.org/
 %{?with_commons_net:BuildRequires:     jakarta-commons-net}
 %{?with_apache_oro:BuildRequires:      jakarta-oro}
 %{?with_apache_regexp:BuildRequires:   jakarta-regexp}
+%{?with_jai:BuildRequires:     jai}
 %{?with_javamail:BuildRequires:        javamail}
 BuildRequires: jaxp_parser_impl
 BuildRequires: jdk
@@ -537,7 +542,7 @@ required_jars="jaxp_parser_impl"
 %{?with_apache_resolver:required_jars="$required_jars resolver"}
 %{?with_commons_logging:required_jars="$required_jars commons-logging"}
 %{?with_commons_net:required_jars="$required_jars commons-net"}
-%{?with_jai:required_jars="$required_jars jait"}
+%{?with_jai:required_jars="$required_jars jai_core jai_codec"}
 %{?with_apache_bcel:required_jars="$required_jars bcel"}
 %{?with_apache_log4j:required_jars="$required_jars log4j"}
 %{?with_apache_oro:required_jars="$required_jars oro"}
This page took 0.083896 seconds and 4 git commands to generate.