|
|
23a92f |
%{?scl:%scl_package maven-script-interpreter}
|
|
|
23a92f |
%{!?scl:%global pkg_name %{name}}
|
|
|
23a92f |
|
|
|
23a92f |
%bcond_without groovy
|
|
|
23a92f |
|
|
|
23a92f |
Name: %{?scl_prefix}maven-script-interpreter
|
|
|
23a92f |
Version: 1.1
|
|
|
23a92f |
Release: 9.2%{?dist}
|
|
|
23a92f |
Summary: Maven Script Interpreter
|
|
|
23a92f |
License: ASL 2.0
|
|
|
23a92f |
URL: http://maven.apache.org/shared/maven-script-interpreter/
|
|
|
23a92f |
Source0: http://central.maven.org/maven2/org/apache/maven/shared/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
|
|
|
23a92f |
|
|
|
23a92f |
BuildArch: noarch
|
|
|
23a92f |
|
|
|
23a92f |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
23a92f |
BuildRequires: %{?scl_prefix}mvn(junit:junit)
|
|
|
23a92f |
BuildRequires: %{?scl_prefix}mvn(org.apache.ant:ant)
|
|
|
23a92f |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
|
|
|
23a92f |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-shared-components:pom:)
|
|
|
23a92f |
BuildRequires: %{?scl_prefix}mvn(org.beanshell:bsh)
|
|
|
23a92f |
%if %{with groovy}
|
|
|
23a92f |
BuildRequires: mvn(org.codehaus.groovy:groovy)
|
|
|
23a92f |
%endif
|
|
|
23a92f |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-annotations)
|
|
|
23a92f |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
|
23a92f |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils)
|
|
|
23a92f |
|
|
|
23a92f |
%description
|
|
|
23a92f |
This component provides some utilities to interpret/execute some scripts for
|
|
|
23a92f |
various implementations: Groovy or BeanShell.
|
|
|
23a92f |
|
|
|
23a92f |
%package javadoc
|
|
|
23a92f |
Summary: Javadoc for %{pkg_name}
|
|
|
23a92f |
|
|
|
23a92f |
%description javadoc
|
|
|
23a92f |
API documentation for %{pkg_name}.
|
|
|
23a92f |
|
|
|
23a92f |
%prep
|
|
|
23a92f |
%setup -n %{pkg_name}-%{version} -q
|
|
|
23a92f |
|
|
|
23a92f |
%if %{without groovy}
|
|
|
23a92f |
%pom_remove_dep :groovy
|
|
|
23a92f |
rm src/main/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreter.java
|
|
|
23a92f |
rm src/test/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreterTest.java
|
|
|
23a92f |
rm src/test/java/org/apache/maven/shared/scriptinterpreter/ScriptRunnerTest.java
|
|
|
23a92f |
sed -i /GroovyScriptInterpreter/d src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptRunner.java
|
|
|
23a92f |
%endif
|
|
|
23a92f |
|
|
|
23a92f |
%build
|
|
|
23a92f |
%mvn_build
|
|
|
23a92f |
|
|
|
23a92f |
%install
|
|
|
23a92f |
%mvn_install
|
|
|
23a92f |
|
|
|
23a92f |
%files -f .mfiles
|
|
|
23a92f |
%doc DEPENDENCIES LICENSE NOTICE
|
|
|
23a92f |
|
|
|
23a92f |
%files javadoc -f .mfiles-javadoc
|
|
|
23a92f |
%doc LICENSE NOTICE
|
|
|
23a92f |
|
|
|
23a92f |
%changelog
|
|
|
23a92f |
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 1.1-9.2
|
|
|
23a92f |
- Mass rebuild 2017-06-22
|
|
|
23a92f |
|
|
|
23a92f |
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 1.1-9.1
|
|
|
23a92f |
- Automated package import and SCL-ization
|
|
|
23a92f |
|
|
|
23a92f |
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 1.1-9
|
|
|
23a92f |
- Add groovy conditional
|
|
|
23a92f |
|
|
|
23a92f |
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-8
|
|
|
23a92f |
- Add missing build-requires
|
|
|
23a92f |
|
|
|
23a92f |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-7
|
|
|
23a92f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
23a92f |
|
|
|
23a92f |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
23a92f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
23a92f |
|
|
|
23a92f |
* Mon Aug 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-5
|
|
|
23a92f |
- Fix build-requires on parent POM
|
|
|
23a92f |
|
|
|
23a92f |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
|
|
|
23a92f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
23a92f |
|
|
|
23a92f |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1-3
|
|
|
23a92f |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
23a92f |
|
|
|
23a92f |
* Mon Sep 02 2013 Michal Srb <msrb@redhat.com> - 1.1-2
|
|
|
23a92f |
- Fix BR
|
|
|
23a92f |
|
|
|
23a92f |
* Mon Sep 02 2013 Michal Srb <msrb@redhat.com> - 1.1-1
|
|
|
23a92f |
- Update to upstream version 1.1
|
|
|
23a92f |
|
|
|
23a92f |
* Mon Aug 05 2013 Michal Srb <msrb@redhat.com> - 1.0-5
|
|
|
23a92f |
- Adapt to current guidelines
|
|
|
23a92f |
|
|
|
23a92f |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
|
|
|
23a92f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
23a92f |
|
|
|
23a92f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
|
|
|
23a92f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
23a92f |
|
|
|
23a92f |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-2
|
|
|
23a92f |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
23a92f |
- Replace maven BuildRequires with maven-local
|
|
|
23a92f |
|
|
|
23a92f |
* Tue Jul 24 2012 Tomas Radej <tradej@redhat.com> - 1.0-1
|
|
|
23a92f |
- Initial version
|