commit e4d32adf31b0312e445592246eddd8266ddf294f Author: CentOS Sources Date: Tue May 7 02:42:31 2019 -0400 import maven-script-interpreter-1.1-11.module+el8+2598+06babf2e diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5825974 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/maven-script-interpreter-1.1-source-release.zip diff --git a/.maven-script-interpreter.metadata b/.maven-script-interpreter.metadata new file mode 100644 index 0000000..15d3a58 --- /dev/null +++ b/.maven-script-interpreter.metadata @@ -0,0 +1 @@ +7c7cd0b5b7ad23b07061cf6bad99934874ea9a3a SOURCES/maven-script-interpreter-1.1-source-release.zip diff --git a/SPECS/maven-script-interpreter.spec b/SPECS/maven-script-interpreter.spec new file mode 100644 index 0000000..c9041bb --- /dev/null +++ b/SPECS/maven-script-interpreter.spec @@ -0,0 +1,112 @@ +%bcond_without groovy + +Name: maven-script-interpreter +Version: 1.1 +Release: 11%{?dist} +Summary: Maven Script Interpreter +License: ASL 2.0 +URL: http://maven.apache.org/shared/maven-script-interpreter/ +Source0: http://central.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.ant:ant) +BuildRequires: mvn(org.apache.maven:maven-plugin-api) +BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) +BuildRequires: mvn(org.beanshell:bsh) +%if %{with groovy} +BuildRequires: mvn(org.codehaus.groovy:groovy) +%endif +BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations) +BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) +BuildRequires: mvn(org.codehaus.plexus:plexus-utils) + + +%description +This component provides some utilities to interpret/execute some scripts for +various implementations: Groovy or BeanShell. + + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +API documentation for %{name}. + + +%prep +%setup -q + +%if %{without groovy} +%pom_remove_dep :groovy +rm src/main/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreter.java +rm src/test/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreterTest.java +rm src/test/java/org/apache/maven/shared/scriptinterpreter/ScriptRunnerTest.java +sed -i /GroovyScriptInterpreter/d src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptRunner.java +%endif + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc DEPENDENCIES LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%doc LICENSE NOTICE + + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 1.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Feb 06 2017 Michael Simacek - 1.1-9 +- Add groovy conditional + +* Wed Jun 15 2016 Mikolaj Izdebski - 1.1-8 +- Add missing build-requires + +* Thu Feb 04 2016 Fedora Release Engineering - 1.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Aug 4 2014 Mikolaj Izdebski - 1.1-5 +- Fix build-requires on parent POM + +* Sat Jun 07 2014 Fedora Release Engineering - 1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 04 2014 Stanislav Ochotnicky - 1.1-3 +- Use Requires: java-headless rebuild (#1067528) + +* Mon Sep 02 2013 Michal Srb - 1.1-2 +- Fix BR + +* Mon Sep 02 2013 Michal Srb - 1.1-1 +- Update to upstream version 1.1 + +* Mon Aug 05 2013 Michal Srb - 1.0-5 +- Adapt to current guidelines + +* Sat Aug 03 2013 Fedora Release Engineering - 1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.0-2 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Tue Jul 24 2012 Tomas Radej - 1.0-1 +- Initial version +