Blame SPECS/maven-script-interpreter.spec

c07a17
%global pkg_name maven-script-interpreter
c07a17
%{?scl:%scl_package %{pkg_name}}
c07a17
%{?maven_find_provides_and_requires}
c07a17
c07a17
Name:           %{?scl_prefix}%{pkg_name}
c07a17
Version:        1.0
c07a17
Release:        6.15%{?dist}
c07a17
Summary:        Maven Script Interpreter
c07a17
License:        ASL 2.0
c07a17
URL:            http://maven.apache.org/shared/%{pkg_name}
c07a17
Source0:        http://central.maven.org/maven2/org/apache/maven/shared/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
c07a17
c07a17
BuildArch:      noarch
c07a17
c07a17
BuildRequires:  %{?scl_prefix_java_common}javapackages-tools
c07a17
BuildRequires:  %{?scl_prefix}groovy
c07a17
BuildRequires:  %{?scl_prefix}maven-local
c07a17
BuildRequires:  %{?scl_prefix}maven-shared
c07a17
BuildRequires:  %{?scl_prefix}maven-surefire-provider-junit
c07a17
BuildRequires:  %{?scl_prefix}plexus-containers-component-metadata
c07a17
c07a17
%description
c07a17
This component provides some utilities to interpret/execute some scripts for
c07a17
various implementations: Groovy or BeanShell.
c07a17
c07a17
c07a17
%package javadoc
c07a17
Summary:        Javadoc for %{pkg_name}
c07a17
c07a17
%description javadoc
c07a17
API documentation for %{pkg_name}.
c07a17
c07a17
c07a17
%prep
c07a17
%setup -q -n %{pkg_name}-%{version}
c07a17
%{?scl:scl enable %{scl} - <<"EOF"}
c07a17
set -e -x
c07a17
# use plexus-component-metadata instead of old plugin
c07a17
%pom_remove_plugin :plexus-maven-plugin
c07a17
%pom_add_plugin org.codehaus.plexus:plexus-component-metadata pom.xml "
c07a17
         <executions>
c07a17
           <execution>
c07a17
             <id>create-component-descriptor</id>
c07a17
             <phase>generate-resources</phase>
c07a17
             <goals>
c07a17
              <goal>generate-metadata</goal>
c07a17
             </goals>
c07a17
           </execution>
c07a17
         </executions>
c07a17
"
c07a17
%{?scl:EOF}
c07a17
c07a17
%build
c07a17
%{?scl:scl enable %{scl} - <<"EOF"}
c07a17
set -e -x
c07a17
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
c07a17
%{?scl:EOF}
c07a17
c07a17
%install
c07a17
%{?scl:scl enable %{scl} - <<"EOF"}
c07a17
set -e -x
c07a17
%mvn_install
c07a17
%{?scl:EOF}
c07a17
c07a17
%files -f .mfiles
c07a17
%doc DEPENDENCIES LICENSE NOTICE
c07a17
%dir %{_mavenpomdir}/%{pkg_name}
c07a17
%dir %{_javadir}/%{pkg_name}
c07a17
c07a17
%files javadoc -f .mfiles-javadoc
c07a17
%doc LICENSE NOTICE
c07a17
c07a17
c07a17
%changelog
c07a17
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 1.0-6.15
c07a17
- Fix BR on maven-local & co.
c07a17
c07a17
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 1.0-6.14
c07a17
- maven33 rebuild #2
c07a17
c07a17
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 1.0-6.13
c07a17
- maven33 rebuild
c07a17
c07a17
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-6.12
c07a17
- Add directory ownership on %%{_mavenpomdir} subdir
c07a17
c07a17
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.0-6.11
c07a17
- Mass rebuild 2015-01-13
c07a17
c07a17
* Mon Jan 12 2015 Michael Simacek <msimacek@redhat.com> - 1.0-6.10
c07a17
- Rebuild to regenerate requires from java-common
c07a17
c07a17
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 1.0-6.9
c07a17
- Mass rebuild 2015-01-06
c07a17
c07a17
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-6.8
c07a17
- Mass rebuild 2014-05-26
c07a17
c07a17
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-6.7
c07a17
- Mass rebuild 2014-02-19
c07a17
c07a17
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-6.6
c07a17
- Mass rebuild 2014-02-18
c07a17
c07a17
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-6.5
c07a17
- Remove requires on java
c07a17
c07a17
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-6.4
c07a17
- Add missing BR: maven-shared
c07a17
c07a17
* Mon Feb 17 2014 Michal Srb <msrb@redhat.com> - 1.0-6.3
c07a17
- SCL-ize BR/R
c07a17
c07a17
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-6.2
c07a17
- Rebuild to regenerate auto-requires
c07a17
c07a17
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-6.1
c07a17
- First maven30 software collection build
c07a17
c07a17
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-6
c07a17
- Mass rebuild 2013-12-27
c07a17
c07a17
* Fri Aug 16 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-5
c07a17
- Migrate away from mvn-rpmbuild (#997440)
c07a17
c07a17
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-4
c07a17
- Rebuild to regenerate API documentation
c07a17
- Resolves: CVE-2013-1571
c07a17
c07a17
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
c07a17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c07a17
c07a17
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-2
c07a17
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
c07a17
- Replace maven BuildRequires with maven-local
c07a17
c07a17
* Tue Jul 24 2012 Tomas Radej <tradej@redhat.com> - 1.0-1
c07a17
- Initial version