2010-05-28 08:45:59 +00:00
|
|
|
Name: maven-antrun-plugin
|
2011-11-01 08:04:34 +00:00
|
|
|
Version: 1.7
|
|
|
|
Release: 1%{?dist}
|
2010-05-28 08:45:59 +00:00
|
|
|
Summary: Maven AntRun Plugin
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://maven.apache.org/plugins/maven-antrun-plugin/
|
2010-09-20 15:44:01 +00:00
|
|
|
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
2010-08-31 03:41:48 +00:00
|
|
|
Patch0: fix-deps.patch
|
2010-05-28 08:45:59 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: java-devel >= 1:1.6.0
|
|
|
|
BuildRequires: plexus-utils
|
2011-01-10 08:44:05 +00:00
|
|
|
BuildRequires: ant
|
2011-06-08 10:33:37 +00:00
|
|
|
BuildRequires: maven
|
2010-05-28 08:45:59 +00:00
|
|
|
BuildRequires: maven-install-plugin
|
|
|
|
BuildRequires: maven-compiler-plugin
|
|
|
|
BuildRequires: maven-plugin-plugin
|
|
|
|
BuildRequires: maven-resources-plugin
|
2010-09-20 15:44:01 +00:00
|
|
|
BuildRequires: maven-surefire-plugin
|
2010-05-28 08:45:59 +00:00
|
|
|
BuildRequires: maven-surefire-provider-junit
|
|
|
|
BuildRequires: maven-jar-plugin
|
|
|
|
BuildRequires: maven-javadoc-plugin
|
2011-01-10 08:44:05 +00:00
|
|
|
Requires: ant
|
2011-06-08 10:33:37 +00:00
|
|
|
Requires: maven
|
2010-05-28 08:45:59 +00:00
|
|
|
Requires: jpackage-utils
|
|
|
|
Requires: java
|
|
|
|
|
|
|
|
Obsoletes: maven2-plugin-antrun <= 0:2.0.8
|
|
|
|
Provides: maven2-plugin-antrun = 1:%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Runs Ant scripts embedded in the POM
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Requires: jpackage-utils
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2010-08-31 03:41:48 +00:00
|
|
|
%setup -q
|
|
|
|
%patch0
|
2011-11-01 08:04:34 +00:00
|
|
|
#%patch1
|
2010-05-28 08:45:59 +00:00
|
|
|
|
|
|
|
%build
|
2011-06-08 10:33:37 +00:00
|
|
|
mvn-rpmbuild install javadoc:javadoc
|
2010-05-28 08:45:59 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
# jars
|
|
|
|
install -d -m 0755 %{buildroot}%{_javadir}
|
2011-01-10 08:44:05 +00:00
|
|
|
install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
2010-05-28 08:45:59 +00:00
|
|
|
|
|
|
|
# poms
|
|
|
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
2011-11-01 08:04:34 +00:00
|
|
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
|
|
|
|
|
%add_maven_depmap JPP-%{name}.pom %{name}.jar
|
2010-05-28 08:45:59 +00:00
|
|
|
|
|
|
|
# javadoc
|
2011-06-08 10:33:37 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
|
2010-05-28 08:45:59 +00:00
|
|
|
|
|
|
|
%files
|
2010-09-20 15:44:01 +00:00
|
|
|
%doc LICENSE NOTICE
|
2010-05-28 08:45:59 +00:00
|
|
|
%{_javadir}/*
|
|
|
|
%{_mavenpomdir}/*
|
|
|
|
%{_mavendepmapfragdir}/*
|
|
|
|
|
|
|
|
%files javadoc
|
2010-09-20 15:44:01 +00:00
|
|
|
%doc LICENSE NOTICE
|
2010-05-28 08:45:59 +00:00
|
|
|
%{_javadocdir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2011-11-01 08:04:34 +00:00
|
|
|
* Tue Nov 1 2011 Alexander Kurtakov <akurtako@redhat.com> 1.7-1
|
|
|
|
- Update to 1.7 upstream release.
|
|
|
|
|
2011-06-08 10:33:37 +00:00
|
|
|
* Wed Jun 8 2011 Alexander Kurtakov <akurtako@redhat.com> 1.6-4
|
|
|
|
- Build with maven 3.x.
|
|
|
|
|
2011-02-08 15:38:19 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-10 08:44:05 +00:00
|
|
|
* Mon Jan 10 2011 Alexander Kurtakov <akurtako@redhat.com> 1.6-2
|
|
|
|
- Make it work with ant 1.8.2.
|
|
|
|
|
2010-10-14 07:34:09 +00:00
|
|
|
* Thu Oct 14 2010 Alexander Kurtakov <akurtako@redhat.com> 1.6-1
|
|
|
|
- Update to 1.6.
|
|
|
|
|
2010-09-20 15:44:01 +00:00
|
|
|
* Mon Sep 20 2010 Alexander Kurtakov <akurtako@redhat.com> 1.5-1
|
|
|
|
- Update to 1.5.
|
|
|
|
- Use upstream tarball.
|
|
|
|
- Add License and readme as doc.
|
|
|
|
|
2010-08-31 06:56:30 +00:00
|
|
|
* Tue Aug 31 2010 Alexander Kurtakov <akurtako@redhat.com> 1.4-4
|
|
|
|
- Fix runtime issue of not finding ant-launcher.
|
|
|
|
|
2010-08-31 03:41:48 +00:00
|
|
|
* Tue Aug 31 2010 Alexander Kurtakov <akurtako@redhat.com> 1.4-3
|
|
|
|
- Add patch to fix build.
|
|
|
|
|
2010-05-28 08:45:59 +00:00
|
|
|
* Fri May 28 2010 Alexander Kurtakov <akurtako@redhat.com> 1.4-2
|
|
|
|
- Add provides/obsoletes.
|
|
|
|
|
|
|
|
* Thu May 27 2010 Alexander Kurtakov <akurtako@redhat.com> 1.4-1
|
|
|
|
- Initial package.
|