Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vlj:fedora14:maven2
plexus-interpolation
plexus-interpolation.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plexus-interpolation.spec of Package plexus-interpolation
%global bootstrap 1 %global _mavenpomdir /etc/maven/pom %global _mavendepmapfragdir /etc/maven/fragments Name: plexus-interpolation Version: 1.13 Release: 2%{?dist} Summary: Plexus Interpolation API Group: Development/Libraries License: ASL 2.0 and ASL 1.1 and MIT URL: http://plexus.codehaus.org/plexus-components/plexus-interpolation #svn export http://svn.codehaus.org/plexus/plexus-components/tags/plexus-interpolation-1.13/ #tar cjf plexus-interpolation-1.13.tar.bz2 plexus-interpolation-1.13/ Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: java-devel BuildRequires: junit BuildRequires: maven2 BuildRequires: mvn-helper %if !%{bootstrap} BuildRequires: maven2-plugin-resources BuildRequires: maven2-plugin-compiler BuildRequires: maven2-plugin-jar BuildRequires: maven2-plugin-install BuildRequires: maven2-plugin-javadoc BuildRequires: maven-surefire-maven-plugin BuildRequires: maven-surefire-provider-junit BuildRequires: maven-shared-reporting-impl BuildRequires: maven-doxia-sitetools BuildRequires: plexus-maven-plugin %endif %description Plexus interpolator is the outgrowth of multiple iterations of development focused on providing a more modular, flexible interpolation framework for the expression language style commonly seen in Maven, Plexus, and other related projects. # %package javadoc # Group: Documentation # Summary: Javadoc for %{name} # # %description javadoc # API documentation for %{name}. %prep %setup -q mkdir external_repo ln -s %{_javadir} external_repo/JPP mvn-helper replace -r /usr/share/maven2/bootstrap_repo/mvn-pass1/ . mvn-helper filter -f /etc/mvn-helper/filters.xml . %build export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository # mvn-jpp \ # -e \ # -Dmaven2.jpp.mode=true \ # -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ # install javadoc:javadoc mvn --settings /usr/share/maven2/conf/settings-custom.xml -Dmaven.test.skip=true install %install # jars install -d -m 0755 %{buildroot}%{_javadir}/plexus install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/interpolation-%{version}.jar (cd %{buildroot}%{_javadir}/plexus && for jar in *-%{version}*; \ do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) %add_to_maven_depmap org.codehaus.plexus plexus-interpolation %{version} JPP/plexus interpolation # poms install -d -m 755 %{buildroot}%{_datadir}/maven2/poms install -pm 644 pom.xml \ %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}.pom # javadoc # install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version} # cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}-%{version}/ # ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # rm -rf target/site/api* %post %update_maven_depmap %postun %update_maven_depmap %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_javadir}/plexus %{_datadir}/maven2/poms/ %{_mavendepmapfragdir}/ # %files javadoc # %defattr(-,root,root,-) # %{_javadocdir}/%{name}-%{version} # %{_javadocdir}/%{name} %changelog * Tue Dec 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1.13-2 - Fix review comments. * Tue Dec 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1.13-1 - Initial package.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor