maven-resources-plugin/maven-resources-plugin.spec

148 lines
4.3 KiB
RPMSpec
Raw Normal View History

2010-05-19 03:48:13 +00:00
Name: maven-resources-plugin
2012-10-23 18:50:56 +00:00
Version: 2.6
Release: 2%{?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
2012-10-23 18:50:56 +00:00
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
2010-05-19 03:48:13 +00:00
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: maven-local
2011-06-21 06:50:12 +00:00
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
BuildRequires: plexus-interpolation
2010-05-20 07:14:51 +00:00
BuildRequires: plexus-digest
BuildRequires: maven-project
BuildRequires: maven-monitor
2011-08-22 07:53:04 +00:00
BuildRequires: maven-filtering
2010-05-19 03:48:13 +00:00
2011-06-23 09:43:26 +00:00
Requires: plexus-build-api
Requires: plexus-containers-container-default
Requires: plexus-utils
Requires: plexus-interpolation
Requires: maven-plugin-testing-harness
Requires: maven-filtering
2011-06-21 06:50:12 +00:00
Requires: maven
Requires: maven-project
Requires: maven-monitor
2010-05-19 03:48:13 +00:00
Requires: jpackage-utils
Requires: java
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 \
2011-08-22 07:53:04 +00:00
install javadoc:aggregate
2010-05-19 03:48:13 +00:00
%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
# poms
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml \
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
2011-08-22 07:53:04 +00:00
%add_maven_depmap JPP-%{name}.pom %{name}.jar
2010-05-19 03:48:13 +00:00
# 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
%files
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%files javadoc
%{_javadocdir}/%{name}
%changelog
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.6-2
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
2012-10-23 18:50:56 +00:00
* Tue Oct 23 2012 Alexander Kurtakov <akurtako@redhat.com> 2.6-1
- Update to latest upstream.
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Sep 06 2011 Tomas Radej <tradej@redhat.com> - 2.5-4
- Fixed dependency on plexus-container-default
2011-08-30 08:48:38 +00:00
* Tue Aug 30 2011 Tomas Radej <tradej@redhat.com> - 2.5-3
- Added changelog
2011-08-22 07:53:04 +00:00
* Mon Aug 29 2011 Tomas Radej <tradej@redhat.com> - 2.5-1
- Update to 2.5
- Guideline fixes
- Added maven-filtering dep
2011-06-23 09:43:26 +00:00
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4.3-4
- 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.
* 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