Name: plexus-sec-dispatcher Version: 1.4 Release: 13%{?dist} Summary: Plexus Security Dispatcher Component Group: Development/Libraries License: ASL 2.0 URL: http://spice.sonatype.org #svn export http://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4/ #tar jcf plexus-sec-dispatcher-1.4.tar.bz2 plexus-sec-dispatcher-1.4/ Source0: %{name}-%{version}.tar.bz2 #Removed maven-compiler-plugin configuration version in the pom as annotations isn't available in version 1.4. Patch0: %{name}-pom.patch BuildArch: noarch BuildRequires: java-devel >= 1:1.6.0 BuildRequires: maven-local BuildRequires: maven-plugin-plugin BuildRequires: maven-compiler-plugin BuildRequires: maven-install-plugin BuildRequires: maven-jar-plugin BuildRequires: maven-javadoc-plugin BuildRequires: maven-resources-plugin BuildRequires: maven-surefire-maven-plugin BuildRequires: modello BuildRequires: plexus-utils BuildRequires: plexus-cipher BuildRequires: plexus-containers-component-metadata BuildRequires: junit BuildRequires: forge-parent BuildRequires: spice-parent Requires: jpackage-utils Requires: java-headless %description Plexus Security Dispatcher Component %package javadoc Group: Documentation Summary: Javadoc for %{name} Requires: jpackage-utils %description javadoc API documentation for %{name}. %prep %setup -q %patch0 -p1 %build mvn-rpmbuild install javadoc:javadoc %install # jars install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/%{name}.jar # poms install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.plexus-%{name}.pom %add_maven_depmap JPP.plexus-%{name}.pom plexus/%{name}.jar # javadoc install -d -m 0755 %{buildroot}%{_javadocdir}/plexus/%{name} cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/plexus/%{name} %files %{_javadir}/plexus/* %{_mavenpomdir}/JPP.plexus-%{name}.pom %{_mavendepmapfragdir}/%{name} %files javadoc %{_javadocdir}/plexus/%{name} %changelog * Mon Mar 17 2014 Mikolaj Izdebski - 1.4-13 - Add missing BR: modello * Tue Mar 04 2014 Stanislav Ochotnicky - 1.4-12 - Use Requires: java-headless rebuild (#1067528) * Sun Aug 04 2013 Fedora Release Engineering - 1.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Apr 10 2013 Mikolaj Izdebski - 1.4-10 - Remove unneeded BR: plexus-container-default * Thu Feb 7 2013 Mikolaj Izdebski - 1.4-9 - Remove unneeded R: spice-parent, resolves: rhbz#908584 - Remove RPM bug workaround * Wed Feb 06 2013 Java SIG - 1.4-8 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Sat Jul 21 2012 Fedora Release Engineering - 1.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue May 22 2012 Stanislav Ochotnicky - 1.4-6 - Replace plexus-maven-plugin with plexus-component-metadata * Sat Jan 14 2012 Fedora Release Engineering - 1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jun 23 2011 Stanislav Ochotnicky - 1.4-4 - Fixes according to new guidelines - Add spice-parent to Requires - Versionless jars & javadocs - Use maven3 to build * Wed Feb 09 2011 Fedora Release Engineering - 1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jun 04 2010 Hui Wang - 1.4-2 - Fixed url * Fri May 21 2010 Hui Wang - 1.4-1 - Initial version of the package