[Jpackage-commits] rpms/free/maven-clean-plugin maven-clean-plugin-jpp-depmap.xml, NONE, 1.1 maven-clean-plugin.spec, NONE, 1.1

jpackage jpackage at ryu.zarb.org
Thu Oct 13 18:41:47 CEST 2011


Update of /home/projects/jpackage/cvs/rpms/free/maven-clean-plugin
In directory ryu.zarb.org:/tmp/qGwkQvxpri/rpms/free/maven-clean-plugin

Added Files:
	maven-clean-plugin-jpp-depmap.xml maven-clean-plugin.spec 
Log Message:
2.4.1-6.jpp6

--- NEW FILE: maven-clean-plugin-jpp-depmap.xml ---
<dependencies>
	<dependency>
	  <maven>
		<groupId>commons-codec</groupId>
		<artifactId>commons-codec</artifactId>
	  </maven>
	  <jpp>
		<groupId>JPP</groupId>
		<artifactId>commons-codec</artifactId>
	  </jpp>
	</dependency>
</dependencies>
--- NEW FILE: maven-clean-plugin.spec ---
Name:           maven-clean-plugin
Version:        2.4.1
Release:        6%{?dist}
Epoch:          0
Summary:        Maven Clean Plugin
Group:          Development/Libraries
License:        ASL 2.0
URL:            http://maven.apache.org/plugins/maven-clean-plugin/
#svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-clean-plugin-2.4.1 maven-clean-plugin-2.4.1 && tar cjf maven-clean-plugin-2.4.1.tar.bz2 maven-clean-plugin-2.4.1/
Source0:        %{name}-%{version}.tar.bz2
Source1:        %{name}-jpp-depmap.xml
Obsoletes:      maven2-plugin-clean <= 0:2.0.8
Provides:       maven2-plugin-clean = %{epoch}:%{version}-%{release}
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
Requires:       maven2
Requires:       jpackage-utils
Requires:       java
BuildRequires:  java-devel
BuildRequires:  maven2
BuildRequires:  maven2-common-poms
BuildRequires:  maven2-plugin-plugin
BuildRequires:  maven2-plugin-compiler
BuildRequires:  maven2-plugin-install
BuildRequires:  maven2-plugin-jar
BuildRequires:  maven2-plugin-javadoc
BuildRequires:  maven2-plugin-resources
BuildRequires:  maven-surefire-maven-plugin
BuildRequires:  maven-surefire-provider-junit
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
The Maven Clean Plugin is a plugin that removes files generated 
at build-time in a project's directory.

%package javadoc
Group:          Documentation
Summary:        Javadoc for %{name}
Requires:       jpackage-utils

%description javadoc
API documentation for %{name}.

%prep
%setup -q 

%build
export MAVEN_OPTS="-Dproject.build.sourceEncoding=UTF-8 -Dfile.encoding=UTF-8"
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
%{_bindir}/mvn-jpp -e -Dmaven.repo.local=${MAVEN_REPO_LOCAL} -Dmaven.test.failure.ignore install javadoc:aggregate

%install
rm -rf %{buildroot}

# jars
install -Dpm 644 target/maven-clean-plugin-%{version}.jar %{buildroot}%{_javadir}/maven-clean-plugin-%{version}.jar

(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -s ${jar} `echo $jar| sed "s|-%{version}||g"`; done)

# poms
install -Dpm 644 pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP-maven-clean-plugin.pom
%add_to_maven_depmap org.apache.maven.plugins maven-clean-plugin %{version} JPP maven-clean-plugin

# javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version}
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}

%post
%update_maven_depmap

%postun
%update_maven_depmap

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%{_javadir}*/maven-clean-plugin-%{version}.jar
%{_javadir}*/maven-clean-plugin.jar
%{_datadir}/maven2/poms/JPP-maven-clean-plugin.pom
%{_mavendepmapfragdir}/maven-clean-plugin

%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}

%changelog
* Thu Oct 13 2011 David Walluck <dwalluck at redhat.com> 0:2.4.1-6
- fix for JPP-6

* Tue Sep 28 2010 Hui Wang <huwang at redhat.com> - 2.4.1-5
- Adjust BRs

* Thu Sep 02 2010 Hui Wang <huwang at redhat.com> - 2.4.1-4
- Add jpp depmap file
- Rebuild with maven221

* Wed Jul 21 2010 Hui Wang <huwang at redhat.com> - 2.4.1-3
- Fixed mavenpomdir
- Updated BRs
- Fixed source compression format

* Wed May 12 2010 Alexander Kurtakov <akurtako at redhat.com> 2.4.1-2
- Fix review comments.

* Wed May 12 2010 Alexander Kurtakov <akurtako at redhat.com> 2.4.1-1
- Initial package.




More information about the JPackage-commits mailing list