Name: plexus-interpolation Version: 1.14 Release: 3%{?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.14/ #tar caf plexus-interpolation-1.14.tar.xz plexus-interpolation-1.14/ Source0: %{name}-%{version}.tar.xz BuildArch: noarch BuildRequires: java-devel BuildRequires: junit BuildRequires: maven BuildRequires: maven-resources-plugin BuildRequires: maven-compiler-plugin BuildRequires: maven-jar-plugin BuildRequires: maven-install-plugin BuildRequires: maven-javadoc-plugin BuildRequires: maven-surefire-plugin BuildRequires: maven-surefire-provider-junit BuildRequires: maven-shared-reporting-impl BuildRequires: maven-doxia-sitetools %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} Requires: jpackage-utils %description javadoc API documentation for %{name}. %prep %setup -q %build mvn-rpmbuild install javadoc:javadoc %install # jars install -d -m 0755 %{buildroot}%{_javadir}/plexus install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/interpolation.jar # poms install -d -m 755 %{buildroot}%{_mavenpomdir} install -pm 644 pom.xml \ %{buildroot}%{_mavenpomdir}/JPP.%{name}.pom %add_maven_depmap JPP.%{name}.pom plexus/interpolation.jar # javadoc install -d -m 0755 %{buildroot}%{_javadocdir}/%{name} cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/ %files %{_javadir}/plexus/interpolation.jar %{_mavenpomdir}/JPP.%{name}.pom %{_mavendepmapfragdir}/%{name} %files javadoc %{_javadocdir}/%{name} %changelog * Sat Jan 14 2012 Fedora Release Engineering - 1.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 27 2011 Stanislav Ochotnicky - 1.14-2 - Use add_maven_depmap macro - Use more precise specification of files * Tue Jul 26 2011 Jaromir Capik - 1.14-2 - Removal of plexus-maven-plugin dependency (not needed) - Minor spec file changes according to the latest guidelines * Tue May 17 2011 Alexander Kurtakov 1.14-1 - Update to upstream 1.14 version. - Adapt to current guidelines. * Wed Feb 09 2011 Fedora Release Engineering - 1.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 22 2009 Alexander Kurtakov 1.13-2 - Fix review comments. * Tue Dec 22 2009 Alexander Kurtakov 1.13-1 - Initial package.