2010-05-19 03:48:13 +00:00
|
|
|
Name: maven-resources-plugin
|
2010-09-09 07:53:35 +00:00
|
|
|
Version: 2.4.3
|
2011-06-23 09:43:26 +00:00
|
|
|
Release: 4%{?dist}
|
2010-05-19 03:48:13 +00:00
|
|
|
Summary: Maven Resources Plugin
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://maven.apache.org/plugins/maven-resources-plugin
|
2010-09-09 07:53:35 +00:00
|
|
|
#svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-resources-plugin-2.4.3 maven-resources-plugin-2.4.3
|
|
|
|
#tar zcf maven-resources-plugin-2.4.3.tar.gz maven-resources-plugin-2.4.3/
|
2010-05-19 03:48:13 +00:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: java-devel >= 1:1.6.0
|
2011-06-21 06:50:12 +00:00
|
|
|
BuildRequires: maven
|
|
|
|
BuildRequires: maven-plugin-plugin
|
|
|
|
BuildRequires: maven-resources-plugin
|
2010-05-20 07:14:51 +00:00
|
|
|
BuildRequires: maven-jar-plugin
|
|
|
|
BuildRequires: maven-install-plugin
|
|
|
|
BuildRequires: maven-compiler-plugin
|
|
|
|
BuildRequires: maven-javadoc-plugin
|
2011-06-21 06:50:12 +00:00
|
|
|
BuildRequires: maven-surefire-plugin
|
2010-05-19 03:48:13 +00:00
|
|
|
BuildRequires: maven-surefire-provider-junit
|
|
|
|
BuildRequires: maven-doxia-sitetools
|
2010-05-20 07:14:51 +00:00
|
|
|
BuildRequires: maven-plugin-testing-harness
|
|
|
|
BuildRequires: maven-shared-reporting-impl
|
2011-06-24 16:02:09 +00:00
|
|
|
BuildRequires: maven-shared-filtering
|
|
|
|
BuildRequires: plexus-interpolation
|
2010-05-20 07:14:51 +00:00
|
|
|
BuildRequires: plexus-digest
|
2011-06-24 16:02:09 +00:00
|
|
|
BuildRequires: maven-project
|
|
|
|
BuildRequires: maven-monitor
|
2010-05-19 03:48:13 +00:00
|
|
|
|
2011-06-23 09:43:26 +00:00
|
|
|
Requires: plexus-build-api
|
2011-06-24 16:02:09 +00:00
|
|
|
Requires: plexus-containers-container-default
|
|
|
|
Requires: plexus-utils
|
|
|
|
Requires: plexus-interpolation
|
|
|
|
Requires: maven-plugin-testing-harness
|
|
|
|
Requires: maven-shared-filtering
|
2011-06-21 06:50:12 +00:00
|
|
|
Requires: maven
|
2011-06-24 16:02:09 +00:00
|
|
|
Requires: maven-project
|
|
|
|
Requires: maven-monitor
|
2010-05-19 03:48:13 +00:00
|
|
|
Requires: jpackage-utils
|
|
|
|
Requires: java
|
|
|
|
Requires(post): jpackage-utils
|
|
|
|
Requires(postun): jpackage-utils
|
|
|
|
|
2010-05-20 07:14:51 +00:00
|
|
|
Provides: maven2-plugin-resources = %{version}-%{release}
|
|
|
|
Obsoletes: maven2-plugin-resources <= 0:2.0.8
|
|
|
|
|
2010-05-19 03:48:13 +00:00
|
|
|
%description
|
2011-06-23 09:43:26 +00:00
|
|
|
The Resources Plugin handles the copying of project resources
|
2010-05-19 03:48:13 +00:00
|
|
|
to the output directory.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Requires: jpackage-utils
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2011-06-21 06:50:12 +00:00
|
|
|
mvn-rpmbuild \
|
2010-05-20 07:14:51 +00:00
|
|
|
-Dmaven.test.failure.ignore=true \
|
2010-05-19 03:48:13 +00:00
|
|
|
install javadoc:javadoc
|
|
|
|
|
|
|
|
%install
|
|
|
|
# jars
|
|
|
|
install -d -m 0755 %{buildroot}%{_javadir}
|
2011-06-21 06:50:12 +00:00
|
|
|
install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
2010-05-19 03:48:13 +00:00
|
|
|
|
|
|
|
%add_to_maven_depmap org.apache.maven.plugins maven-resources-plugin %{version} JPP maven-resources-plugin
|
|
|
|
|
|
|
|
# poms
|
|
|
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
|
|
install -pm 644 pom.xml \
|
|
|
|
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
|
|
|
|
|
# javadoc
|
2011-06-21 06:50:12 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
|
2010-05-19 03:48:13 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
%update_maven_depmap
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%update_maven_depmap
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_javadir}/*
|
|
|
|
%{_mavenpomdir}/*
|
|
|
|
%{_mavendepmapfragdir}/*
|
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%{_javadocdir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2011-06-23 09:43:26 +00:00
|
|
|
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4.3-4
|
2011-06-24 16:02:09 +00:00
|
|
|
- Add several packages to BR/R as stated in pom.xml
|
2011-06-23 09:43:26 +00:00
|
|
|
|
2011-06-21 06:50:12 +00:00
|
|
|
* Tue Jun 21 2011 Alexander Kurtakov <akurtako@redhat.com> 2.4.3-3
|
|
|
|
- Build with maven 3.
|
|
|
|
|
2011-02-08 16:02:10 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-09-09 07:53:35 +00:00
|
|
|
*Thu Sep 09 2010 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.4.3-1
|
|
|
|
- Update to 2.4.3
|
|
|
|
|
2010-05-21 02:52:04 +00:00
|
|
|
* Fri May 21 2010 Hui Wang <huwang@redhat.com> - 2.2-6
|
|
|
|
- delete duplicate maven2-plugin-jar
|
|
|
|
- delete source1
|
|
|
|
|
2010-05-20 07:14:51 +00:00
|
|
|
* Tue May 20 2010 Hui Wang <huwang@redhat.com> - 2.2-5
|
2011-06-23 09:43:26 +00:00
|
|
|
- Add maven-resources-plugin-demap.xml
|
2010-05-20 07:14:51 +00:00
|
|
|
- Set maven test ignore
|
|
|
|
|
|
|
|
* Wed May 19 2010 Hui Wang <huwang@redhat.com> - 2.2-4
|
|
|
|
- Add missing obsoletes/provides
|
|
|
|
|
|
|
|
* Wed May 19 2010 Hui Wang <huwang@redhat.com> - 2.2-3
|
|
|
|
- Add missing BR:maven-shared-reporting-impl
|
|
|
|
|
2010-05-19 03:48:13 +00:00
|
|
|
* Mon May 17 2010 Hui Wang <huwang@redhat.com> - 2.2-2
|
|
|
|
- Fixed install -pm 644 pom.xml
|
2010-05-20 07:14:51 +00:00
|
|
|
|
2010-05-19 03:48:13 +00:00
|
|
|
* Thu May 13 2010 Hui Wang <huwang@redhat.com> - 2.2-1
|
2010-09-09 07:53:35 +00:00
|
|
|
- Initial version of the package
|